-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
105 lines (105 loc) · 2.5 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
colors: {
neutral: {
white: '#ffffff',
n1: '#f6f6f6',
n2: '#f1f1f1',
n3: '#e5e5e5',
n4: '#d7d7d7',
n5: '#c2c2c2',
n6: '#adadad',
n7: '#939393',
n8: '#797979',
n9: '#6e6e6e',
n10: '#3f3f3f',
n11: '#292929',
n12: '#141414',
n13: '#111111',
black: '#000000',
},
plum: {
p1: '#f4e9f1',
p2: '#e3d0df',
p3: '#d7b3cf',
p4: '#8d2676',
p5: '#711e5e',
p6: '#47133b',
},
yellow: {
y1: '#fdefd2',
y2: '#f8d077',
y3: '#f3b01c',
y4: '#e7a71b',
},
red: {
r1: '#fcd6d5',
r2: '#f15d59',
r3: '#ee342f',
r4: '#d62f2a',
},
green: {
g1: '#e5f3dc',
g2: '#72c043',
g3: '#4fb014',
g4: '#479e12',
},
accent: {
a1: '#07bfe8',
a2: '#074ee8',
a3: '#7651e0',
a4: '#ee9f73',
},
transparent: 'transparent',
discord: '#5865f2',
},
fontFamily: {
display:
'"Roboto Flex", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
body: '"Inter", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
mono: 'monospace',
},
fontSize: {
xs: '0.6875rem', // 11px
sm: '0.875rem', // 14px
base: '1rem', // 16px
lg: '1.125rem', // 18px
xl: '1.25rem', // 20px
'2xl': '2.375rem', // 38px
'3xl': '2.5rem', // 40px
'4xl': '2.625rem', // 42px
'5xl': '2.875rem', // 46px
'6xl': '3.125rem', // 50px
'7xl': '3.5rem', // 56px
'8xl': '3.75rem', // 60px
},
},
plugins: [
({ addUtilities }) => {
/* Intended for use with the Roboto Flex variable font. */
addUtilities({
'.stretch-min': {
fontStretch: '25%',
},
'.stretch-thin': {
fontStretch: '75%',
},
'.stretch-default': {
fontStretch: '100%',
},
'.stretch-wide': {
fontStretch: '125%',
},
'.stretch-max': {
fontStretch: '150%',
},
});
},
],
};