-
Notifications
You must be signed in to change notification settings - Fork 12
/
tailwind.config.js
142 lines (140 loc) · 3.05 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
/** @type {import('tailwindcss').Config} */
module.exports = {
important: true,
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
haiti: '#090b2c', // brand black
persimmon: {
50: '#ffe5de',
100: '#ffcabd',
200: '#ffb09d',
300: '#ff947e',
400: '#ff7760',
500: '#ff5743', // brand accent, danger
600: '#d14a39',
700: '#a43d2e',
800: '#793025',
900: '#51231b',
},
royal: '#573dff', // brand secondary (dark)
royalDark: '#3c2ab2',
cornflower: {
50: '#eae4ff',
100: '#d3caff', // ~periwinkle
200: '#bcb0fe',
300: '#a297fd',
400: '#857efc',
500: '#6266fa', // brand primary
600: '#5455cc',
700: '#45449f', // ~royal
800: '#363475',
900: '#28254d',
},
periwinkle: '#c2c8ff', // brand secondary (light)
shade: '#101828', // drop shadow color from shipfaster ui
},
fontSize: {
headline1: [
'96px',
{
letterSpacing: '-1.5px',
},
],
headline2: [
'60px',
{
letterSpacing: '-0.5px',
},
],
headline3: [
'48px',
{
letterSpacing: '0px',
},
],
headline4: [
'34px',
{
letterSpacing: '0.25px',
},
],
headline5: [
'24px',
{
letterSpacing: '0px',
},
],
headline6: [
'20px',
{
letterSpacing: '0.15px',
},
],
subtitle1: [
'16px',
{
letterSpacing: '0.15px',
},
],
subtitle2: [
'14px',
{
letterSpacing: '0.1px',
},
],
body1: [
'16px',
{
letterSpacing: '0.5px',
},
],
body2: [
'14px',
{
letterSpacing: '0.25px',
},
],
button: [
'14px',
{
letterSpacing: '1.25px',
},
],
caption: [
'12px',
{
letterSpacing: '0.4px',
},
],
overline: [
'10px',
{
letterSpacing: '1.5px',
},
],
},
keyframes: {
fadeIn: {
'0%': { transform: 'translateX(1rem)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '100' },
},
},
animation: {
intro: 'fadeIn 0.75s ease-in-out',
},
gridTemplateColumns: {
onboardingHonors: '40px minmax(0, 1fr)',
},
fontFamily: {
kallisto: ['var(--font-kallisto)', 'Roboto', 'sans-serif'],
inter: ['var(--font-inter)', 'Roboto', 'sans-serif'],
},
},
},
plugins: [],
};