From e1da756b5c2cf10596a91bb0d91f50c6efb54405 Mon Sep 17 00:00:00 2001 From: datalore Date: Sat, 17 Feb 2024 19:04:51 +0100 Subject: [PATCH] feat: Added DieLinke theme --- src/app/components/themeswitcher.tsx | 1 + tailwind.config.ts | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/app/components/themeswitcher.tsx b/src/app/components/themeswitcher.tsx index 4c7c467..0fe769e 100644 --- a/src/app/components/themeswitcher.tsx +++ b/src/app/components/themeswitcher.tsx @@ -19,6 +19,7 @@ export default function ThemeSwitcher(){
  • setTheme("synthwave")}>Synthwave
  • setTheme("coffee")}>Coffee
  • setTheme("dim")}>Dim
  • +
  • setTheme("dielinke")}>Die Linke
  • ); } diff --git a/tailwind.config.ts b/tailwind.config.ts index 55bffe2..9a40b12 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -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; -