refactor: reconfigure CSS and theming variables for consistency #351
Replies: 3 comments
-
I completely support this idea, in particular, I am in favor of switching to css variables. |
Beta Was this translation helpful? Give feedback.
-
Yes, @mnenie , I understand, but I think we should lean towards Tailwind CSS 4, as the Unocss team is doing. Unocss has breaking changes due to their migration to Tailwind 4, so we need to adapt. However, these changes mainly affect presets and configuration and should not impact the components by default, so it’s not a big deal. Eg: In my projects, I do need to change some shortcuts, such as We are still on |
Beta Was this translation helpful? Give feedback.
-
for sure @phojie 💯 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
text-muted
orbg-inverted
, you cannot apply opacity likebg-inverted/50
ortext-muted/30
.tailwind-merge
. When merging two color presets, they do not combine as expected but instead override each other. This makes it difficult to use in nested component configurations.text-background
,text-foreground
, like in shadcn design system.🎯 TODOS
oklch
instead ofrgba
.🔍 Alternatives you've considered
No response
ℹ️ Additional info
No response
Beta Was this translation helpful? Give feedback.
All reactions