-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are color previews supposed to work? #2
Comments
I'm guessing that's IntelliSense for TailwindCSS? I'm not using GUI editors a lot, so I have not noticed this until now, sorry about that. My guess would be, that the Preview has no idea which colour to show, since it's dependent on the parent classes like |
Just a quick update on this, I asked around the Discord, and color previews are not working at the moment, so it's not an issue on your end. I reached out on the Tailwind Discord to get some additional input on how I could fix this. 🙂 |
Oh, okay! |
I would be much obliged if you share any findings, hoping to get this fixed, if possible. |
So after reaching out on the Tailwind Discord, I have learned about fallback colours in TailwindCSS. I guess the question is, if showing the colour of a single flavour, e.g. |
In my opinion, it would be better to show mocha colors than not showing any. Although I see how that can be frustrating for some people if they're using another variant as default. |
I've played around with this quite a bit over the last days, sadly without making any headway at all. Here are 4 approaches I've tried, none of them work:
I'd have preferred to include a fix for this with the next package version, but I'll create a release to fix #3 now. I'm unsure if we could solve this issue at the moment. |
I got a bit disappointed when the little squares showing the color preview didn't work.
I'm not sure if that's possible with plugins but it would be nice to have them.
The text was updated successfully, but these errors were encountered: