-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
59 lines (59 loc) · 1.19 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
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
fontFamily: {
sans: ['fira'],
},
colors: {
blue1: '#1047E9', // hsl(225, 87%, 49%)
blue2: '#0d38ba', // hsl(225, 87%, 39%)
blue3: '#1A337C',
blue4: '#081A4D',
dark1: '#010510',
dark2: '#000000',
orange1: '#ED642B', // hsl(18, 84%, 55%)
orange2: '#d34c12', // hsl(18, 84%, 45%)
green1: '#caf905', // hsl(72, 96%, 50%)
green2: '#a1c804', // hsl(72, 96%, 40%)
},
spacing: {
1.25: '0.3125rem',
1.75: '0.4375rem',
0.75: '0.1875rem',
0.5: '0.125rem',
0.25: '0.0625rem',
},
opacity: {
7.5: '.075',
6.25: '.0625',
},
outlineWidth: {
1: '1px',
1.5: '1.5px',
2: '2px',
3: '3px',
4: '4px',
5: '5px',
},
borderRadius: {
'2lg': '0.625rem',
},
transitionDuration: {
400: '400ms',
},
},
},
plugins: [
function ({ addVariant }) {
addVariant('child', '& > *')
addVariant('child-hover', '& > *:hover')
addVariant('child-image', '& > img')
addVariant('hover-child-image', '&:hover > img')
},
require('tailwind-scrollbar-hide'),
],
}