-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
92 lines (92 loc) · 2.11 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
safelist: [{ pattern: /^bg-/ }],
theme: {
extend: {
backgroundImage: {
'hackit-decoration-left': "url('/src/images/hackit_decoration_left.svg')",
'hackit-decoration-right': "url('/src/images/hackit_decoration_right.svg')",
'hackit-background-image': "url('images/hackitba_bg_byw.png')",
'gamejam-background-image': "url('images/gamejam_bg_byw.png')",
},
colors: {
brand_primary: '#FFAD00',
brand_secondary: '#F98A04',
brand_tertiary: '#75787B',
typography_primary: '#212121',
light: '#F7F7F7'
},
fontFamily: {
text: ['Roboto', 'sans-serif'],
highlight: ['Montserrat', 'sans-serif'],
gamejam: ['NineByFive', 'sans-serif']
},
fontSize: {
sm: '0.75rem',
base: '1rem',
highlight: '5rem',
h1: '4rem',
h2: '3rem',
h3: '2rem',
h4: '1.5rem',
h5: '1.25rem',
'h1-sm': '3rem',
'h2-sm': '2.25rem',
'h3-sm': '1.75rem',
'h4-sm': '1.5rem',
'h5-sm': '1.25rem'
},
lineHeight: {
sm: '1rem',
base: '1.25rem',
highlight: '5.5rem',
h1: '4.25rem',
h2: '3.25rem',
h3: '2.25rem',
h4: '1.75rem',
h5: '1.5rem',
'h1-sm': '3.25rem',
'h2-sm': '2.5rem',
'h3-sm': '2rem',
'h4-sm': '1.75rem',
'h5-sm': '1.5rem'
},
margin: {
'-75_': '-75%',
'-50_': '-50%',
'-40_': '-40%',
'-33_': '-33%',
'-25_': '-25%'
},
height: {
'screen-third': '33vh',
'screen-half': '50vh',
'screen-3/4': '75vh',
'1/12': '8.333%',
'2/12': '16.66%',
'3/12': '25%',
'4/12': '33.333%',
'5/12': '41.666%',
'6/12': '50%',
'7/12': '58.333%',
'8/12': '66.666%',
'9/12': '75%',
'10/12': '83.333%',
'11/12': '91.666%'
},
width: {
'2/10': '20%'
}
}
},
variants: {
extend: {
fontWeight: ['hover', 'focus'],
animation: ['hover', 'group-hover', 'focus', 'group-focus'],
scale: ['group-hover'],
borderWidth: ['focus'],
borderColor: ['focus']
}
},
plugins: []
};