-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
148 lines (148 loc) · 3.6 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
},
darkMode: false, // or 'media' or 'class'
purge: {
enabled: false,
content: [
// Uncomment when pushing to production
'./components/**/*.{js,ts,jsx,tsx}',
'./components/**/**/*.{js,ts,jsx,tsx}',
'./pages/*.tsx',
],
},
theme: {
pseudo: {
// defaults to {'before': 'before', 'after': 'after'}
before: 'before',
after: 'after',
'not-first': 'not(:first-child)',
},
fontFamily: {
Poppins: ['Poppins', 'sans-serif'],
AvenirNextCyrRegular: ['AvenirNextCyr', 'Arial', 'sans-serif'],
Oswald: ['Oswald'],
},
extend: {
keyframes: {
reverse: {
to: { transform: 'rotate(360deg)' },
},
spin: {
to: { transform: 'rotate(-360deg)' },
},
},
borderWidth: {
24: '24px',
20: '20px',
},
colors: {
white: '#e8e9f1',
blue: {
primary: '#008dff',
background: '#0e0d30',
backgroundLight: '#191b3d',
},
green: {
primary: '#3ed7c7',
},
black: {
light: '#262626',
faded: '#00000059',
},
purple: {
light: '#808191',
medium: '#353340',
primary: '#6345ed',
dark: '#0a0927',
},
gray: {
base: '#616161',
background: '#fafafa',
primary: '#dbdbdb',
},
red: {
primary: '#ea5f5f',
},
orange: {
primary: '#f09757',
light: '#fb9e2d',
},
'smoke-darkest': 'rgba(0, 0, 0, 0.9)',
'smoke-darker': 'rgba(0, 0, 0, 0.75)',
'smoke-dark': 'rgba(0, 0, 0, 0.6)',
smoke: 'rgba(0, 0, 0, 0.5)',
'smoke-light': 'rgba(0, 0, 0, 0.4)',
'smoke-lighter': 'rgba(0, 0, 0, 0.25)',
'smoke-lightest': 'rgba(0, 0, 0, 0.1)',
},
gridTemplateColumns: {
// Simple 2 column grid
'2by4': '1fr 4fr',
'4by1': '4fr 1fr',
'7by1': '7fr 1fr',
// Complex site-specific column configuration
footer: '1fr 3fr 1fr',
},
gridTemplateRows: {
// Simple 5 row grid
5: '1fr 6fr',
8: 'repeat(8, 1fr)',
9: 'repeat(9, minmax(0, 1fr))',
10: 'repeat(10, minmax(0, 1fr))',
20: 'repeat(20, minmax(0, 0.5fr))',
},
gridColumn: {
'span-9-1': 'span 1 / span 9',
'span-9-2': 'span 2 / span 9',
'span-9-3': 'span 3 / span 9',
'span-9-4': 'span 4 / span 9',
'span-9-5': 'span 5 / span 9',
'span-9-6': 'span 6 / span 9',
'span-9-7': 'span 7 / span 9',
'span-9-8': 'span 8 / span 9',
'span-9-9': 'span 9 / span 9',
},
gridRow: {
'span-7': 'span 7 / span 7',
'span-8': 'span 8 / span 8',
'span-9': 'span 9 / span 9',
'span-10': 'span 10 / span 10',
},
gridRowEnd: {
8: '8',
9: '9',
10: '10',
11: '11',
12: '12',
13: '13',
},
width: {
smallMedium: '50%',
medium: '65%',
large: '80%',
},
height: {
smallMedium: '50%',
medium: '65%',
large: '80%',
},
fontSize: {
xxs: '.60rem',
xxxs: '.50rem',
},
maxHeight: {
100: '28rem',
104: '30rem',
},
borderRadius: {
half: '50%',
},
animation: {
'custom-spin': 'a1 2s linear infinite',
'reverse-spin': 'a2 2s linear infinite',
},
},
},
};