Replies: 1 comment
-
I just found the answer. Tailwind presets as suggested by the master Simon Vrachliotis (simonswiss) here |
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.
-
"tailwindcss": "^2.0.2",
"laravel-mix": "^6.0.0-beta.17",
I am creating some themes that are applied to an application depending on the date of the year.
Then, a well summarized version follows, just for the sake of exemplifying the help I need.
the line
color:color.red
change on every file.What I need help.
The complete tailwind configuration is duplicated in the various configuration files (tailwind-red.config.js, tailwind-blue.config.js, etc).
I would like to centralize them in a main file (tailwind.config.js) and the specific files (tailwind-red.config.js, tailwind-blue.config.js, etc) serve to send the values to the main file.
In this way, I would summarize the specific files to have only something close to a require and the declaration and passing a variable.
Any idea?
THx for the help
Beta Was this translation helpful? Give feedback.
All reactions