From b203cd3ca4d2f77e2802a9e18c9ae95e2ef87a11 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Tue, 16 Jun 2026 22:12:43 +0200 Subject: [PATCH] feat: set DaisyUI primary to brand #7ed6df Extend the built-in 'light' theme via DaisyUI 5's @plugin theme block. All btn-primary / text-primary / selected-state utilities now use the brand color across the app. --- src/style.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/style.css b/src/style.css index add32ac..6c9d3a3 100644 --- a/src/style.css +++ b/src/style.css @@ -1,6 +1,18 @@ @import "tailwindcss"; -@plugin "daisyui"; +@plugin "daisyui" { + themes: light --default, dark --prefersdark; +} + +@plugin "daisyui/theme" { + name: "light"; + default: true; + prefersdark: false; + color-scheme: light; + --color-primary: #7ed6df; + --color-primary-content: #042027; +} @theme { --font-sans: "Fredoka", ui-sans-serif, system-ui, sans-serif; + --color-brand: #7ed6df; }