-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
60 lines (58 loc) · 1.3 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
/* eslint-disable @typescript-eslint/no-var-requires */
const { fontFamily } = require('tailwindcss/defaultTheme');
module.exports = {
mode: 'jit',
purge: {
content: ['./src/**/*.{jsx,tsx}'],
},
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['WorkSans', ...fontFamily.sans],
},
backgroundColor: {
primary: 'var(--color-bg-primary)',
secondary: 'var(--color-bg-secondary)',
tertiary: 'var(--color-bg-tertiary)',
orange: 'var(--color-orange-primary)',
},
textColor: {
primary: 'var(--color-text-primary)',
secondary: 'var(--color-text-secondary)',
orange: 'var(--color-orange-primary)',
},
borderColor: {
primary: 'var(--color-border-primary)',
},
zIndex: {
'-10': '-10',
'-20': '-20',
},
translate: {
h1: '12px',
h2: '8px',
h3: '6px',
h4: '4px',
h5: '2px',
h6: '2px',
},
rotate: {
'-1.5': '-1.5deg',
},
minWidth: {
'40': '40px',
},
maxHeight: {
'3/4': '75vh',
},
},
},
variants: {
extend: {
opacity: ['group-focus'],
},
backgroundColor: ['responsive', 'hover', 'focus', 'active'],
},
plugins: [],
};