Skip to content

Commit

Permalink
📝 🐛 fix foreground color
Browse files Browse the repository at this point in the history
  • Loading branch information
StarHeartHunt committed Sep 18, 2024
1 parent 6584ccf commit 7c6ef8b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions website/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
const lightTheme = require("daisyui/src/theming/themes")["light"];
const darkTheme = require("daisyui/src/theming/themes")["dark"];
import daisyui from "daisyui";
import themes from "daisyui/src/theming/themes";

const lightTheme = themes["light"];
const darkTheme = themes["dark"];

function excludeThemeColor(
theme: { [key: string]: string },
Expand All @@ -15,6 +18,7 @@ function excludeThemeColor(
}

export default {
plugins: [daisyui],
darkMode: ["class", '[data-theme="dark"]'],
daisyui: {
themes: [
Expand All @@ -26,6 +30,7 @@ export default {
"accent-content",
]),
primary: "#ea5252",
"primary-content": "#ffffff",
secondary: "#ef9fbc",
accent: "#65c3c8",
},
Expand All @@ -38,6 +43,7 @@ export default {
"accent-content",
]),
primary: "#ea5252",
"primary-content": "#ffffff",
secondary: "#ef9fbc",
accent: "#65c3c8",
},
Expand Down

0 comments on commit 7c6ef8b

Please sign in to comment.