-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
57 lines (55 loc) · 1.4 KB
/
tailwind.config.cjs
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/** @type {import('tailwindcss').Config} */
// eslint-disable-next-line @typescript-eslint/no-var-requires
const cyberpunkTheme = require("daisyui/src/theming/themes")[
"[data-theme=cyberpunk]"
];
module.exports = {
content: ["./src/**/*.{html,js,jsx,ts,tsx}"],
daisyui: {
themes: [
{
"cyberpunk-light": {
...cyberpunkTheme,
"base-100": "#f8f8f8",
},
},
{
"cyberpunk-dark": {
...cyberpunkTheme,
"base-100": "#1c1917",
"base-200": "#292524",
"base-300": "#57534e",
"base-content": "#e7e5e4",
"color-scheme": "dark",
neutral: "#e7e5e4",
"neutral-content": "#191D24",
"neutral-focus": "#f8f8f8",
},
},
],
},
darkMode: "class",
plugins: [require("@kobalte/tailwindcss"), require("daisyui")],
theme: {
extend: {
keyframes: {
hide: {
"0%": { opacity: 1 },
"100%": { opacity: 0 },
},
slideIn: {
"0%": {
transform: "translateX(calc(100% + var(--viewport-padding)))",
},
"100%": { transform: "translateX(0)" },
},
swipeOut: {
"0%": { transform: "translateX(var(--kb-toast-swipe-end-x))" },
"100%": {
transform: "translateX(calc(100% + var(--viewport-padding)))",
},
},
},
},
},
};