-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
41 lines (39 loc) · 1.06 KB
/
tailwind.config.ts
File metadata and controls
41 lines (39 loc) · 1.06 KB
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
import { type Config } from 'tailwindcss';
import defaultTheme from 'tailwindcss/defaultTheme';
// import colors from 'tailwindcss/colors';
import aspectRatioPlugin from '@tailwindcss/aspect-ratio';
import formsPlugin from '@tailwindcss/forms';
const config = {
content: ['./{app,components}/**/*.{ts,tsx}'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
},
/* colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
slate: colors.slate,
gray: colors.gray,
zinc: colors.zinc,
neutral: colors.neutral,
stone: colors.stone,
red: colors.red,
green: colors.green,
cyan: colors.cyan,
}, */
},
},
plugins: [aspectRatioPlugin, formsPlugin],
safelist: [
{ pattern: /bg-+/ },
{ pattern: /border-+/ },
{ pattern: /text-+/ },
{ pattern: /shadow-+/ },
{ pattern: /ring-+/ },
],
} satisfies Config;
export default config;