-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Did you already consider including the JS config variables in the generated lib, as css variables?
In my projects, I include the generated output of a configured tailwind as a css library, then extend it with targeted css, and I'd love to be able to make use of, say, colors as css variables.
Ex:
In Tailwind config:
let colors = {
...
'black': '#22292f',
...
}
would generate in the css:
:root {
--color-black: #22292f;
}
Elwood-P
Metadata
Metadata
Assignees
Labels
No labels