-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
113 lines (111 loc) · 2.16 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx}',
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
primary: {
light: '#6470F7',
DEFAULT: '#2F3FF4',
dark: '#0B1CD5',
},
secondary: {
light: '#2FEEAB',
DEFAULT: '#11D08D',
dark: '#0C9766',
},
light: '#F9F9FA',
dark: '#1F201F',
},
fontFamily: {
sans: ['var(--font-sans)', 'Roboto', 'sans-serif'],
display: ['var(--font-display)', 'Jost', 'Roboto', 'sans-serif'],
},
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',
},
],
},
},
plugins: [require('@tailwindcss/typography')],
},
};