danmu-sim/tailwind.config.ts

32 lines
1.3 KiB
TypeScript
Raw Permalink Normal View History

2024-04-05 13:12:55 +08:00
import type { Config } from "tailwindcss";
2024-04-05 14:36:03 +08:00
import daisyui from 'daisyui';
2024-04-05 13:12:55 +08:00
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
},
},
2024-04-05 14:36:03 +08:00
plugins: [daisyui],
2024-04-05 17:00:16 +08:00
daisyui: {
themes: false, // false: only light + dark | true: all themes | array: specific themes like this ["light", "dark", "cupcake"]
darkTheme: "dark", // name of one of the included themes for dark mode
base: true, // applies background color and foreground color for root element by default
styled: true, // include daisyUI colors and design decisions for all components
utils: true, // adds responsive and modifier utility classes
prefix: "", // prefix for daisyUI classnames (components, modifiers and responsive class names. Not colors)
logs: true, // Shows info about daisyUI version and used config in the console when building your CSS
themeRoot: ":root", // The element that receives theme color CSS variables
},
2024-04-05 13:12:55 +08:00
};
export default config;