-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
153 lines (153 loc) · 3.97 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
143
144
145
146
147
148
149
150
151
152
153
module.exports = {
purge: false,
content: [
'./public/index.html',
'./src/**/*.{vue,js,ts,jsx,tsx}',
'./demeris/public/index.html',
'./demeris/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,
},
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',
},
],
},
animation: {
'golden-ring-1': 'ring-spin-1 4s cubic-bezier(0.165, 0.84, 0.44, 1) infinite',
'golden-ring-2': 'ring-spin-2 4s cubic-bezier(0.165, 0.84, 0.44, 1) infinite',
},
keyframes: {
'ring-spin-1': {
'0%': { transform: 'rotate(-37deg)' },
'50%': { transform: 'rotate(143deg)' },
'100%': { transform: 'rotate(323deg)' },
},
'ring-spin-2': {
'0%': { transform: 'rotate(150deg)' },
'50%': { transform: 'rotate(-30deg)' },
'100%': { transform: 'rotate(-210deg)' },
},
},
},
backgroundImage: {
grain: 'url(/images/texture-grain.png)',
'list-card-gradient': 'linear-gradient(0deg, var(--surface-2) 0%, #1b1b1b 105%)',
},
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)',
surface: {
2: 'var(--surface-2)',
},
fg: {
DEFAULT: 'var(--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"',
},
},
corePlugins: {
gradientColorStops: false,
},
plugins: [],
};