-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
39 lines (38 loc) · 1.01 KB
/
tailwind.config.ts
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
import { Config } from 'tailwindcss'
import { variables } from './src/variables'
export default {
prefix: 'koupr-',
important: true,
darkMode: 'class',
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
display: [variables.headingFontFamily],
body: [variables.bodyFontFamily],
},
fontSize: {
'base': variables.bodyFontSize,
'heading': variables.headingFontSize,
},
borderRadius: {
'DEFAULT': variables.borderRadius,
'sm': variables.borderRadiusXs,
'md': variables.borderRadiusSm,
'lg': variables.borderRadius,
'xl': variables.borderRadiusMd,
},
spacing: {
'DEFAULT': variables.spacing,
'0.5': variables.spacingXs,
'1': variables.spacingSm,
'1.5': variables.spacing,
'2': variables.spacingMd,
'2.5': variables.spacingLg,
'3': variables.spacingXl,
'3.5': variables.spacing2Xl,
},
},
},
plugins: [],
} as Config