kidonng / unocss-preset-daisy

UnoCSS preset for daisyUI
https://unocss-preset-daisy.vercel.app
MIT License
218 stars 19 forks source link

Support daisyUI v4 #35

Open microdou opened 7 months ago

microdou commented 7 months ago

A new major version of daisyUI v4 is released, introducing lots of breaking changes 🤦‍♂️ https://github.com/saadeghi/daisyui/releases/tag/v4.0.0

mklueh commented 7 months ago

Would be really nice to get support for the new version :)

russelgal commented 7 months ago

A new major version of daisyUI v4 is released, introducing lots of breaking changes 🤦‍♂️ https://github.com/saadeghi/daisyui/releases/tag/v4.0.0

why do they need OKLCH colors?! )

Avaray commented 7 months ago

A new major version of daisyUI v4 is released, introducing lots of breaking changes 🤦‍♂️ https://github.com/saadeghi/daisyui/releases/tag/v4.0.0

why do they need OKLCH colors?! )

The new OKLCH color model unlock access to 30% more colors comparing to RGB/HSL.

russelgal commented 7 months ago

The new OKLCH color model unlock access to 30% more colors comparing to RGB/HSL.

this is undoubtedly very important (hehe)

mklueh commented 7 months ago

New major version makes more detailed 🌈 possible

Avaray commented 7 months ago

Until now, I was thinking It will only give more colors in themes and increase amount of random theme possibilities. But I just checked what are these OKLCH colors and it seems it have sense. I found this article.

It's pretty interesting to be honest. Especially this thing: OKLCH frees designers from the need to manually choose every color. They can define a formula, choose a few colors, and an entire design system palette is automatically generated.

Avaray commented 7 months ago

We are close guys. Our friend @LeekJay created PR for this 💚