-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
131 lines (131 loc) · 3.1 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
module.exports = {
purge: false,
content: ['./public/index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
mode: 'jit',
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {
borderRadius: {
xl: '0.625rem',
},
lineHeight: {
title: 1.25,
copy: 1.625,
},
},
backgroundImage: {
grain: 'url(../../assets/images/texture-grain.png)',
},
boxShadow: {
button: '3px 9px 32px -4px rgba(0, 0, 0, 0.07)',
DEFAULT: '16px 32px 128px -8px rgba(0, 0, 0, 0.05)',
card: '16px 32px 128px -8px rgba(0, 0, 0, 0.07)',
panel: '24px 48px 104px -8px rgba(0, 0, 0, 0.09)',
dropdown: '24px 64px 128px -8px rgba(0, 0, 0, 0.14)',
'sheet-b': '0px -8px 48px -8px rgba(0, 0, 0, 0.07)',
none: 'none',
},
colors: {
transparent: 'transparent',
current: 'currentColor',
text: 'var(--text)',
muted: 'var(--muted)',
inactive: 'var(--inactive)',
inverse: 'var(--inverse)',
bg: 'var(--bg)',
darkBanner: 'var(--darkBanner)',
fg: 'var(--fg)',
'fg-solid': 'var(--fg-solid)',
border: 'var(--border)',
link: {
DEFAULT: 'var(--link)',
hover: 'var(--link-hover)',
},
positive: {
DEFAULT: 'var(--positive)',
text: 'var(--positive-text)',
},
negative: {
DEFAULT: 'var(--negative)',
text: 'var(--negative-text)',
},
warning: 'var(--warning)',
primary: 'var(--primary)',
secondary: 'var(--secondary)',
tertiary: 'var(--tertiary)',
quaternary: 'var(--quaternary)',
quinary: 'var(--quinary)',
gold: 'var(--gold)',
},
fontFamily: {
sans: 'Inter var, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',
},
fontSize: {
'-2': [
'.6875rem',
{
letterSpacing: '0.01em',
lineHeight: '1.2727',
},
],
'-1': [
'.8125rem',
{
letterSpacing: '0.01em',
lineHeight: '1.3077',
},
],
0: [
'1rem',
{
letterSpacing: '-0.007em',
lineHeight: '1.5',
},
],
1: [
'1.3125rem',
{
letterSpacing: '-0.015em',
lineHeight: '1.2857',
},
],
2: [
'1.75rem',
{
letterSpacing: '-0.02em',
lineHeight: '1.2857',
},
],
3: [
'2.375rem',
{
letterSpacing: '-0.027em',
lineHeight: '1.2631',
},
],
4: [
'3.1875rem',
{
letterSpacing: '-0.04em',
lineHeight: '1.2549',
},
],
5: [
'4.1875rem',
{
letterSpacing: '-0.055em',
lineHeight: '1.194',
},
],
},
fontWeight: {
normal: 400,
medium: 560,
bold: 730,
},
},
corePlugins: {
gradientColorStops: false,
},
plugins: [],
};