2024-10-28 17:34:48 +08:00
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
|
|
|
export default {
|
|
|
|
|
content: ["./index.html", "./src/**/*.{html,js,jsx,ts,tsx}"],
|
|
|
|
|
theme: {
|
|
|
|
|
extend: {
|
|
|
|
|
backgroundColor: {
|
|
|
|
|
primary: "rgb(var(--color-primary) / <alpha-value>)",
|
|
|
|
|
secondary: "rgb(var(--color-secondary) / <alpha-value>)",
|
|
|
|
|
background: "rgb(var(--color-background) / <alpha-value>)",
|
|
|
|
|
foreground: "rgb(var(--color-foreground) / <alpha-value>)",
|
|
|
|
|
separator: "rgb(var(--color-separator) / <alpha-value>)",
|
|
|
|
|
},
|
2024-11-21 08:26:29 +08:00
|
|
|
backgroundImage: {
|
2024-11-27 19:41:54 +08:00
|
|
|
chat_bg_light: "url('./assets/chat_bg_light.png')",
|
|
|
|
|
chat_bg_dark: "url('./assets/chat_bg_dark.png')",
|
|
|
|
|
search_bg_light: "url('./assets/search_bg_light.png')",
|
|
|
|
|
search_bg_dark: "url('./assets/search_bg_dark.png')",
|
|
|
|
|
inputbox_bg_light: "url('./assets/inputbox_bg_light.png')",
|
|
|
|
|
inputbox_bg_dark: "url('./assets/inputbox_bg_dark.png')",
|
2024-11-21 08:26:29 +08:00
|
|
|
},
|
2024-10-28 17:34:48 +08:00
|
|
|
textColor: {
|
|
|
|
|
primary: "rgb(var(--color-foreground) / <alpha-value>)",
|
|
|
|
|
},
|
|
|
|
|
animation: {
|
|
|
|
|
"fade-in": "fade-in 0.2s ease-in-out",
|
|
|
|
|
},
|
|
|
|
|
keyframes: {
|
|
|
|
|
"fade-in": {
|
|
|
|
|
"0%": { opacity: "0" },
|
|
|
|
|
"100%": { opacity: "1" },
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-11-26 20:27:27 +08:00
|
|
|
boxShadow: {
|
2024-11-27 19:41:54 +08:00
|
|
|
"window-custom": "0px 16px 32px 0px rgba(0,0,0,0.3)",
|
2024-11-26 20:27:27 +08:00
|
|
|
},
|
2025-01-16 16:57:42 +08:00
|
|
|
zIndex: {
|
2025-01-22 12:33:29 +08:00
|
|
|
100: "100",
|
|
|
|
|
1000: "1000",
|
|
|
|
|
2000: "2000",
|
2025-01-16 16:57:42 +08:00
|
|
|
},
|
2024-10-28 17:34:48 +08:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
plugins: [],
|
|
|
|
|
mode: "jit",
|
2025-02-07 20:26:45 +08:00
|
|
|
darkMode: ["class", '[data-theme="dark"]'],
|
2025-02-26 09:59:59 +08:00
|
|
|
safelist: ["bg-[green]", "bg-[red]", "bg-[yellow]"],
|
2024-10-28 17:34:48 +08:00
|
|
|
};
|