chore(ui): curate theme list to 14 items and fix tailwind config syntax
This commit is contained in:
@@ -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! {
|
||||||
|
|||||||
@@ -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"],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user