tianji/src/client/tailwind.config.ts
2024-01-20 16:22:44 +08:00

27 lines
501 B
TypeScript

import type { Config } from 'tailwindcss';
import colors from 'tailwindcss/colors';
/** @type {import('tailwindcss').Config} */
module.exports = {
content: {
relative: true,
files: [
'./index.html',
'./components/**/*.{js,jsx,ts,tsx}',
'./pages/**/*.{js,jsx,ts,tsx}',
],
},
theme: {
extend: {
colors: {
gray: colors.neutral,
},
},
},
darkMode: 'class',
corePlugins: {
preflight: false,
},
plugins: [],
} satisfies Config;