Replies: 1 comment 2 replies
-
|
Hey, Color variables are in direct control of Tailwind CSS and we can't add prefix to them. Let me know if you have a question. |
Beta Was this translation helpful? Give feedback.
2 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.
Uh oh!
There was an error while loading. Please reload this page.
-
We are using Bootstrap at the moment and trying to replace it with tailwind. We are prefixing all css classes in Bootstrap to avoid conflicts in a historic grown mix of CSS from different projects which can not be solved at the moment.
To get also everything prefixed, we are using a prefix for tailwind and another prefix for daisy UI. When the CSS is generated, the CSS variables from tailwind have a prefix, the CSS variables from Daisy UI have not.
Is there an additional setup required to prefix also the CSS variables from Daisy UI?
We are using tailwindcss 4.1.13 with daisyui 5.0.51.
our css file
The colors to use now are for example
and
I would prefer to have a CSS variable like
--atb-color-base-100: #000;Beta Was this translation helpful? Give feedback.
All reactions