-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.ts
87 lines (86 loc) · 1.74 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
import tailwindForms from '@tailwindcss/forms';
export default <Partial<Config>>{
future: {
removeDeprecatedGapUtilities: true
},
theme: {
fontFamily: {
body: ['Montserrat', 'sans-serif'],
mono: ['"Roboto Mono"', 'monospace']
},
container: {
center: true,
padding: {
DEFAULT: '1rem',
sm: '2rem',
lg: '4rem',
xl: '5rem'
}
},
extend: {
colors: {
'sta-gray': {
DEFAULT: '#2B303A',
dark: '#23272A',
light: '#3D434E',
lighter: '#908e89',
lightest: '#cecdca'
},
'sta-rouge': {
DEFAULT: '#FF6978',
dark: '#CC3645'
},
'sta-green': {
DEFAULT: '#4B8F8C',
dark: '#185C59'
},
'sta-orange': {
DEFAULT: '#FF9F1C',
dark: '#CC6C00',
light: '#ffb833'
},
'sta-gold': {
DEFAULT: '#FDAE39'
}
},
opacity: {
40: '0.4'
},
fontSize: {
xxs: '0.5rem',
h1: '2.5rem',
h2: '2rem',
h3: '1.5rem',
h4: '1.25rem',
rxl: '8vw',
rlg: '5vw',
rmd: '3vw',
rsm: '2vw'
},
minWidth: {
'2/3': '66%',
'1/2': '50%',
'1/3': '33%'
},
width: {
'1/3-screen': '33vw'
},
minHeight: {
'25vh': '25vh',
'40vh': '40vh'
},
dropShadow: {
dark: '0 2px 4px rgba(0, 0, 0, 0.35)'
}
}
},
variants: {
extend: {
backgroundColor: ['checked', 'odd', 'even'],
flexDirection: ['odd'],
dropShadow: ['hover']
}
},
plugins: [tailwindForms()]
};