-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathtailwind.config.js
61 lines (60 loc) · 1.56 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
50
51
52
53
54
55
56
57
58
59
60
61
// eslint-disable-next-line @typescript-eslint/no-var-requires
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true
},
purge: {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
options: {
whitelist: ['bg-primary', 'border-primary', 'border-secondary']
}
},
theme: {
colors: {
black: '#000',
white: '#fff',
primary: {
shade: 'var(--color-primary-shade)',
default: 'var(--color-primary)',
tint: 'var(--color-primary-tint)',
light: 'var(--color-primary-light)'
},
secondary: {
shade: 'var(--color-secondary-shade)',
default: 'var(--color-secondary)',
tint: 'var(--color-secondary-tint)',
light: 'var(--color-secondary-light)',
text: 'var(--color-secondary-text)'
},
dark: {
black: 'var(--color-dark-black)',
shade: 'var(--color-dark-shade)',
default: 'var(--color-dark)',
tint: 'var(--color-dark-tint)',
light: 'var(--color-dark-light)'
}
},
fontFamily: {
sans: ['Nunito\\ Sans', ...defaultTheme.fontFamily.sans],
cursive: ['Adinda\\ Melia'],
mono: [...defaultTheme.fontFamily.mono]
},
extend: {
fontSize: {
'8xl': '6rem'
},
height: {
'1/2': '50%',
'2/5': '40%',
'3/5': '60%'
}
}
},
variants: {
margin: ['responsive', 'first', 'last'],
padding: ['responsive', 'first', 'last'],
},
plugins: []
};