chore(ui): curate theme list to 14 items and fix tailwind config syntax

This commit is contained in:
spinline
2026-02-01 18:33:46 +03:00
parent ea00a39595
commit f6c4ba9e77
2 changed files with 4 additions and 5 deletions

View File

@@ -60,10 +60,9 @@ pub fn StatusBar() -> impl IntoView {
<ul tabindex="0" class="dropdown-content z-[100] menu p-2 shadow bg-base-200 rounded-box w-52 mb-2 border border-base-300 max-h-96 overflow-y-auto block"> <ul tabindex="0" class="dropdown-content z-[100] menu p-2 shadow bg-base-200 rounded-box w-52 mb-2 border border-base-300 max-h-96 overflow-y-auto block">
{ {
let themes = vec![ let themes = vec![
"light", "dark", "cupcake", "bumblebee", "emerald", "corporate", "synthwave", "retro", "cyberpunk", "light", "dark", "cupcake", "dracula", "cyberpunk",
"valentine", "halloween", "garden", "forest", "aqua", "lofi", "pastel", "fantasy", "wireframe", "black", "emerald", "luxury", "nord", "sunset", "winter",
"luxury", "dracula", "cmyk", "autumn", "business", "acid", "lemonade", "night", "coffee", "winter", "night", "synthwave", "retro", "forest"
"dim", "nord", "sunset"
]; ];
themes.into_iter().map(|theme| { themes.into_iter().map(|theme| {
view! { view! {

View File

@@ -14,6 +14,6 @@ module.exports = {
}, },
plugins: [], plugins: [],
daisyui: { daisyui: {
themes: ["light", "dark", "cupcake", "bumblebee", "emerald", "corporate", "synthwave", "retro", "cyberpunk", "valentine", "halloween", "garden", "forest", "aqua", "lofi", "pastel", "fantasy", "wireframe", "black", "luxury", "dracula", "cmyk", "autumn", "business", "acid", "lemonade", "night", "coffee", "winter", "dim", "nord", "sunset"], themes: ["light", "dark", "cupcake", "dracula", "cyberpunk", "emerald", "luxury", "nord", "sunset", "winter", "night", "synthwave", "retro", "forest"],
}, },
} }