-
Notifications
You must be signed in to change notification settings - Fork 624
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
Tailwind viewer and color setup #265
Comments
Did you define in app.config.ts that your primary is jagu-orange?
|
Yes - it results into nulls anyway, maybe it has to do something with colors being injected at build time (not sure if it works that way), but using for example 'bg-jagu-orange' works on other elements. |
First of all, you need to remove the alpha from your hex codes: And second, why are you defining a color palette where all the shades are the same? The components won't behave well with this. |
Weird, I tried it before without the alpha channel and it didn't work, so I added it. Now I tried it in completely new project and it works. Color palette was the same, because I was just trying it out - I was getting null on every shade, so I just tried adding same color to every one of them. Now I have specified it in detail and changed the shades. |
Hey, I tried looking into older issues and can't figure it out from them.
I want to set custom primary color. I tried it like this:
That didn't work. In css variables I see:
How can I achieve this?
Also I can't access
http://localhost:3000/_tailwind/
even when setting it innuxt.config.ts
to true, is it possible somehow or would you have to add this feature?The text was updated successfully, but these errors were encountered: