Skip to content
Discussion options

You must be logged in to vote

this is invalid

@plugin "daisyui" {
  themes: lemonade --default;
  --color-error: green;
}

You're not seeing the custom theme because your OS/browser is in dark mode, so you're seeing the dark theme, as expected.

Do this:
Use data-theme="lemonade" so you will see the lemonade theme if it's not default:
https://play.tailwindcss.com/62rm7v9y6Q

@import 'tailwindcss';
@plugin "daisyui";

@plugin "daisyui/theme" {
  name: "lemonade";
  default: false;
  prefersdark: false;
  color-scheme: "light";
  --color-base-100: oklch(98.71% 0.02 123.72);
  --color-base-200: oklch(91.8% 0.018 123.72);
  --color-base-300: oklch(84.89% 0.017 123.72);
  --color-base-content: oklch(19.742% 0.004 123.72);
  -…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PaulProemer
Comment options

Answer selected by PaulProemer
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