Hot to get the preview of daisyUI colors in VSCode #1687
Replies: 2 comments
-
Well, the code editor (or an extension) cannot know which theme is the active theme. And I think that's not a flaw. because the whole point is, you don't have to even think about the color value. Let me know if you have any questions. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply! Yes, I totally get it. The intention comes more from a DX point of view. I'm used to quickly spot every color dependent classes thanks to the color preview next to it, but this does not apply here anymore. But I agree that this is correct, since that color values can not be statically analyzed (at least when you have more than one theme, and I have two). I was just curious if I might miss something here. |
Beta Was this translation helpful? Give feedback.
-
I have the tailwind extension in VSCode and I like how it previews my colors. The daisy UI colors are not shown, and I kind of understand why. I just wonder if there is a way around it? I would be fine if it shows me the colors of the first theme that I have configured.
Beta Was this translation helpful? Give feedback.
All reactions