-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.ts
43 lines (42 loc) · 1.25 KB
/
tailwind.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import type { Config } from "tailwindcss";
const config: Config = {
future: {},
darkMode: "class",
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
// eslint-disable-next-line @typescript-eslint/no-require-imports
plugins: [require("@tailwindcss/typography"), require("daisyui")],
daisyui: {
themes: [
{
light: {
// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports
...require("daisyui/src/theming/themes")["nord"],
},
dark: {
// eslint-disable-next-line @typescript-eslint/no-var-requires
"color-scheme": "dark",
primary: "#3B4252",
secondary: "#434C5E",
accent: "#81A1C1",
neutral: "#4C566A",
"base-content": "#eceff4",
"base-100": "#2E3440",
info: "#5E81AC",
success: "#A3BE8C",
warning: "#D08770",
error: "#BF616A",
"--rounded-box": "0.4rem",
"--rounded-btn": "0.2rem",
"--rounded-badge": "0.4rem",
"--tab-radius": "0.2rem",
},
},
],
logs: false,
},
};
export default config;