-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
134 lines (134 loc) · 3.1 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
fontFamily: {
sans: ['Satoshi', 'Helvetica', 'sans-serif'],
icons: ['remixicon'],
title: ['Clash Display', 'Helvetica', 'sans-serif'],
},
fontSize: {
xxs: [
'0.625rem',
{
lineHeight: '1rem',
},
],
xs: [
'0.75rem',
{
lineHeight: '1rem',
letterSpacing: '0.002em',
},
],
sm: [
'0.875rem',
{
lineHeight: '1.25rem',
letterSpacing: '0.0025em',
},
],
base: [
'1rem',
{
lineHeight: '1.5rem',
letterSpacing: '0.005em',
},
],
},
colors: {
primary: {
100: '#ede6ff',
200: '#c5b7ff',
300: '#9e88f9',
400: '#7758f4',
500: '#5129f0',
},
dark: {
100: '#56648d',
200: '#434e6c',
300: '#30374d',
400: '#1d212e',
500: '#090b11',
600: '#040508',
},
secondary: {
100: '#f3fdfd',
200: '#e7fbfb',
300: '#daf9f9',
400: '#ccf7f7',
500: '#bef6f6',
},
light: {
100: '#cad0e1',
200: '#b5bed6',
300: '#9eaacb',
400: '#8d98b5',
500: '#7a839d',
},
error: {
100: '#f9e5e4',
200: '#f3c9c7',
300: '#eea7a4',
400: '#e87d77',
500: '#e23b28',
},
warning: {
100: '#fff1e5',
200: '#ffe3c8',
300: '#ffd4a7',
400: '#ffc47d',
500: '#ffb33a',
},
success: {
100: '#ebf6e4',
200: '#d6eec5',
300: '#bfe5a1',
400: '#a5dc73',
500: '#86d313',
},
accent: {
500: '#d0ff1f',
400: '#d9ff4c',
300: '#e3ff79',
200: '#ecffa5',
100: '#f6ffd2',
},
},
animation: {
dialogFadeIn: 'dialogFadeIn .3s ease-in-out',
dialogFadeOut: 'dialogFadeOut .3s ease-in-out',
},
keyframes: {
dialogFadeIn: {
'0%': { opacity: 0, transform: 'translate(-50%, -48%)' },
'100%': { opacity: 1, transform: 'translate(-50%, -50%)' },
},
dialogFadeOut: {
'100%': { opacity: 1, transform: 'translate(-50%, -50%)' },
'0%': { opacity: 0, transform: 'translate(-50%, -48%)' },
},
},
},
},
variants: {
extend: {
backgroundImage: {
'flare-purple': "url('/flare_purple.png')",
'flare-green': "url('/flare_green.png')",
}
},
},
safelist: [
{
pattern:
/(bg|border|text|fill)-(violet|red|brand|error|success|bg-element-light-lighter-500|accent)(-\w+\d+)*/,
variants: ['focus', 'hover'],
},
{
pattern: /(w|h)-(\w+\d+)*/,
},
],
plugins: [],
}