Skip to content

How to access daisy ui colors #3096

Closed Answered by saadeghi
H1Mohamed asked this question in Q&A
Jun 21, 2024 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

Yes, CSS variables are in this file which you can access from node modules:
https://unpkg.com/browse/daisyui@4.12.2/dist/themes.css

And the CSS variables for the themes you enabled are also available on your CSS file in the browser, set to the root element.

Use this table to see which CSS variable is for which color name:
https://daisyui.com/docs/colors/

Let me know if you have any questions.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@H1Mohamed
Comment options

@saadeghi
Comment options

@H1Mohamed
Comment options

@saadeghi
Comment options

@H1Mohamed
Comment options

Answer selected by saadeghi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants