How to customize a theme in daisy-ui?
I want to customize a theme in daisyui. Is it possible to customize i.e. the dark theme (just fix one color, or add a further color-entry)? Furthermore: is it possible to add a new color entry to your custom theme? I.e. I tried the following without success: daisyui: { styled: true, themes: [ "light", // first one will be the default theme "dark", { mytheme: { primary: "#793ef9", "new-color": "#eff1ae", "primary-focus": "#570df8", }, }, "cupcake", ], }, ...but when I use the new color new-color, in my css (theme("colors.new-color")). I get following error: (146:7) /home/armwur/code/booking-ove
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.