-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
55 lines (55 loc) · 1.83 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
/* eslint-env node */
module.exports = {
content: [],
darkMode: 'class',
theme: {
colors: {
// these names are starting to be terrible
// consider moving to a numeric scale
white: '#FFFFFF',
'off-white': '#F6F6F6',
'offish-white': '#ECECEC',
'lighter-grey': '#EBE8E8',
'light-grey': '#BBBBBB',
'medium-grey': '#757575',
'heavy-grey': '#404040',
'darkish-grey': '#272727',
'dark-grey': '#171717',
'darker-grey': '#1E1E1E',
'off-black': '#010101',
black: '#000000',
red: '#B4000B',
blue: '#3F9CF2',
navy: '#002e59',
lightBlue: '#98ceff',
green: '#00B41C',
debug: 'rgba(255, 0, 0, 0.1)',
},
extend: {
fontFamily: {
'lab-grotesque': ['Lab Grotesque', 'sans-serif'],
},
// these sizes are work-in-progress
// once we have all of them sorted we should probably override the default ones
fontSize: {
label: ['0.625rem', { lineHeight: '2rem', letterSpacing: '0.15em' }],
t0: ['1.25rem', { lineHeight: '1.5rem' }],
t1: ['1.5rem', { lineHeight: '2rem' }],
t2: ['2rem', { lineHeight: '2.375rem' }],
},
flex: {
'zz-half': '0 0 50%',
},
keyframes: {
'busy-status': {
from: { backgroundColor: '#FF9900' },
to: { backgroundColor: 'currentColor' },
},
},
animation: {
'busy-status': 'busy-status 500ms steps(2, jump-none) infinite alternate',
},
},
},
plugins: [],
}