practice_code/web/czr/tailwind.config.ts

37 lines
780 B
TypeScript
Raw Permalink Normal View History

2024-12-10 10:28:04 +08:00
import type { Config } from "tailwindcss";
import typography from '@tailwindcss/typography';
export default {
content: [
"./app/**/*.{js,jsx,ts,tsx}",
"./common/**/*.{js,jsx,ts,tsx}",
"./core/**/*.{js,jsx,ts,tsx}",
"./hooks/**/*.{js,jsx,ts,tsx}",
"./themes/**/*.{js,jsx,ts,tsx}",
],
darkMode: 'class',
important: true,
theme: {
extend: {
fontFamily: {
sans: ["Inter", "system-ui", "sans-serif"],
},
keyframes: {
progress: {
from: { transform: "scaleX(1)" },
to: { transform: "scaleX(0)" },
},
},
animation: {
progress: "progress 3s linear",
},
zIndex: {
"-10": "-10",
},
},
},
plugins: [
typography,
],
} satisfies Config;