diff --git a/app-admin/src/app.css b/app-admin/src/app.css index 84c1665..74c593c 100644 --- a/app-admin/src/app.css +++ b/app-admin/src/app.css @@ -4,6 +4,17 @@ themes: light --default; } +/* Admin UI theme: DaisyUI light with a fixed sage primary. Deliberately NOT + tied to the site's Globals → Colors (those only apply inside /preview), so + a light brand colour can't make admin buttons unreadable. #647556 on white + text is ~5:1 contrast (WCAG AA). */ +@plugin 'daisyui/theme' { + name: 'light'; + default: true; + --color-primary: #647556; + --color-primary-content: #ffffff; +} + @theme { --font-sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif; --font-serif: 'Playfair Display', Georgia, serif; diff --git a/app-admin/src/routes/+layout.svelte b/app-admin/src/routes/+layout.svelte index 93aa833..877bbf8 100644 --- a/app-admin/src/routes/+layout.svelte +++ b/app-admin/src/routes/+layout.svelte @@ -1,13 +1,29 @@ @@ -80,48 +97,55 @@ -
-