-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
93 lines (93 loc) · 2.45 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
module.exports = {
purge: ['./components/**/*.js', './pages/**/*.js'],
theme: {
backgroundColor: theme => ({
...theme('colors'),
white: "#ffffff",
grey: "#999999",
modal: "#00000050",
primary: "var(--color-bg-primary)",
"primary-light": "var(--color-bg-primary-light)",
compliment: "var(--color-bg-compliment)",
accent: "var(--color-bg-accent)",
"accent-light": "var(--color-bg-accent-light)",
secondary: "var(--color-bg-secondary)",
default: "var(--color-bg-default)",
inverse: "var(--color-bg-inverse)",
}),
fontSize: {
xs: ".75rem",
sm: ".875rem",
base: "1rem",
lg: "1.125rem",
xl: "1.25rem",
"2xl": "1.5rem",
"3xl": "1.875rem",
"4xl": "2.25rem",
"5xl": "3rem",
"6xl": "4rem",
"7xl": "5rem",
"8xl": "6rem",
"9xl": "7rem",
},
textColor: {
white: "#ffffff",
grey: "#444444",
black: "#111111",
blue: "#067bc2",
primary: "var(--color-text-primary)",
secondary: "var(--color-text-secondary)",
link: "var(--color-text-link)",
default: "var(--color-text-default)",
"default-soft": "var(--color-text-default-soft)",
inverse: "var(--color-text-inverse)",
"inverse-soft": "var(--color-text-inverse-soft)",
},
borderColor: {
primary: "var(--color-bg-primary)",
accent: "var(--color-bg-accent)",
link: "var(--color-text-link)",
secondary: "var(--color-bg-secondary)",
default: "var(--color-bg-default)",
inverse: "var(--color-bg-inverse)",
"light-grey": "#00000015",
},
fontFamily: {
display: "var(--font-display)",
body: "var(--font-body)",
},
fontWeights: {
normal: "var(--font-weight-normal)",
display: "var(--font-weight-display)",
btn: "var(--font-weight-btn)",
},
extend: {
colors: {
'accent-1': '#FAFAFA',
'accent-2': '#EAEAEA',
'accent-7': '#333',
success: '#0070f3',
cyan: '#79FFE1',
},
spacing: {
28: '7rem',
},
letterSpacing: {
tighter: '-.04em',
},
lineHeight: {
tight: 1.2,
},
fontSize: {
'5xl': '2.5rem',
'6xl': '2.75rem',
'7xl': '4.5rem',
'8xl': '6.25rem',
},
boxShadow: {
small: '0 5px 10px rgba(0, 0, 0, 0.12)',
medium: '0 8px 30px rgba(0, 0, 0, 0.12)',
},
},
},
}