feat: Added DieLinke theme

This commit is contained in:
datalore 2024-02-17 19:04:51 +01:00
parent c0e15bccf3
commit e1da756b5c
2 changed files with 15 additions and 2 deletions

View File

@ -19,6 +19,7 @@ export default function ThemeSwitcher(){
<li><a onClick={() => setTheme("synthwave")}><DarkIcon/>Synthwave</a></li>
<li><a onClick={() => setTheme("coffee")}><DarkIcon/>Coffee</a></li>
<li><a onClick={() => setTheme("dim")}><DarkIcon/>Dim</a></li>
<li><a onClick={() => setTheme("dielinke")}>Die Linke</a></li>
</ul>
);
}

View File

@ -7,9 +7,21 @@ const config: Config = {
},
plugins: [require("daisyui")],
daisyui: {
themes: ["light", "dark", "synthwave", "cyberpunk", "valentine", "pastel", "aqua", "coffee", "dim"]
themes: [
{
dielinke: {
"primary": "#ff0000",
"accent": "#6f003c",
"secondary": "#004b5b",
"neutral": "#6f003c",
"base-100": "#f8f8f8",
"--rounded-box": "0",
"--rounded-btn": "0.75rem"
}
},"light", "dark", "synthwave", "cyberpunk", "valentine", "pastel", "aqua", "coffee", "dim"
]
}
};
export default config;