Replies: 1 comment
-
That doesn't reflect if people change the color palette in their windi.config.ts I wrote a plugin that exports the proper values based on config. Both theme, and colors. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to style my Google Maps, and since they only accept the RGB values I did the import as mentioned in the colors doc
to my surprise my output bundle contained not just all the colors, but copyright header from Microsoft and a bunch of css transforms.
I figured that colors was meant to be imported in the backend, but I figured I could write a small virtual module to help, so here it is in its entirety
and used like this:
hope it helps!
Beta Was this translation helpful? Give feedback.
All reactions