generated from taylorbryant/next-starter-tailwind
-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathtailwind.config.js
49 lines (48 loc) · 1.28 KB
/
tailwind.config.js
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
42
43
44
45
46
47
48
49
const { theme } = require('tailwindcss/defaultConfig')
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: ['./src/pages/**/*.{js,ts,jsx,tsx}', './src/components/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
textColor: {
primary: 'var(--color-text-primary)',
secondary: 'var(--color-text-secondary)',
button: 'var(--color-text-button)',
nav: 'var(--color-text-nav)',
link: 'var(--color-text-link)',
'link-secondary': 'var(--color-text-link-secondary)'
},
backgroundColor: {
pramuka: 'var(--color-background-pramuka)',
'pramuka-700': 'var(--color-background-pramuka-700)',
primary: 'var(--color-background-primary)',
hover: 'var(--color-background-hover)',
card: 'var(--color-background-card)'
},
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans]
}
},
inset: {
0: 0,
'1/2': '50%'
},
minWidth: {
80: '80px',
150: '150px',
250: '250px',
full: '100%'
},
minHeight: {
80: '80px',
full: '100%',
screen: '100vh'
},
listStyleType: {
...theme.listStyleType,
'lower-alpha': 'lower-alpha'
}
},
plugins: []
}