This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.js
163 lines (153 loc) · 4.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
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
154
155
156
157
158
159
160
161
162
163
/* eslint-disable @typescript-eslint/no-var-requires */
const colors = require('tailwindcss/colors')
const buttons = require('./tw_plugins/buttons')
module.exports = {
mode: 'jit',
purge: ['./index.html', './public/**/*.html', './src/**/*.{js,jsx,ts,tsx,vue}'],
darkMode: 'class',
theme: {
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
},
colors: {
transparent: 'transparent',
current: 'currentColor',
gray1: '#E6EBF2',
gray2: '#D2D3D3',
gray3: '#F2F5F9',
gray4: '#6B7C93',
gray5: '#F4F4F4',
dark: '#0A2540',
primary: {
50: '#f5f9ff',
100: '#ebf3ff',
200: '#cee1ff',
300: '#b0cfff',
400: '#75aaff',
500: '#3A86FF',
600: '#3479e6',
700: '#2c65bf',
800: '#235099',
900: '#1c427d',
},
secondary: {
100: '#FFFFFF',
200: '#F7F9FC',
300: '#EDF1F7',
400: '#E4E9F2',
500: '#C5CEE0',
600: '#8F9BB3',
700: '#2E3A59',
800: '#222B45',
900: '#192038',
1000: '#151A30',
1100: '#101426',
},
success: {
100: '#F0FFF5',
200: '#CCFCE3',
300: '#8CFAC7',
400: '#2CE59B',
500: '#00D68F',
600: '#00B887',
700: '#00997A',
800: '#007D6C',
900: '#004A45',
},
info: {
100: '#F2F8FF',
200: '#C7E2FF',
300: '#94CBFF',
400: '#42AAFF',
500: '#0095FF',
600: '#006FD6',
700: '#0057C2',
800: '#0041A8',
900: '#002885',
},
warning: {
100: '#FFFDF2',
200: '#FFF1C2',
300: '#FFE59E',
400: '#FFC94D',
500: '#FFAA00',
600: '#DB8B00',
700: '#B86E00',
800: '#945400',
900: '#703C00',
},
danger: {
100: '#FFF2F2',
200: '#FFD6D9',
300: '#FFA8B4',
400: '#FF708D',
500: '#FF3D71',
600: '#DB2C66',
700: '#B81D5B',
800: '#94124E',
900: '#700940',
},
...colors,
},
borderRadius: {
none: '0px',
sm: '0.125rem',
DEFAULT: '0.25rem',
md: '0.375rem',
lg: '0.5rem',
xl: '0.75rem',
'2xl': '1rem',
'3xl': '1.5rem',
full: '9999px',
},
boxShadow: {
sm: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
DEFAULT: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',
md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
xl: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',
'2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)',
inner: 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)',
custom: '4px 8px 9.31px -1px rgba(10, 57, 133, 0.25)',
custom2: '2px 4px 4px rgba(52, 113, 210, 0.24)',
custom3: '3px 5px 4px rgba(52, 113, 210, 0.48)',
custom4: '0px 0px 10px 4px rgba(1, 72, 185, 0.4)',
none: 'none',
},
fontFamily: {
inter: ['Inter', 'sans-serif'],
poppins: ['Poppins', 'sans-serif'],
serif: ['ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
mono: [
'ui-monospace',
'SFMono-Regular',
'Menlo',
'Monaco',
'Consolas',
'"Liberation Mono"',
'"Courier New"',
'monospace',
],
},
fontSize: {
xs: ['0.75rem', { lineHeight: '1rem' }],
sm: ['0.875rem', { lineHeight: '1.25rem' }],
base: ['1rem', { lineHeight: '1.5rem' }],
lg: ['1.125rem', { lineHeight: '1.75rem' }],
xl: ['1.25rem', { lineHeight: '1.75rem' }],
'2xl': ['1.5rem', { lineHeight: '2rem' }],
'3xl': ['1.875rem', { lineHeight: '2.25rem' }],
'4xl': ['2.25rem', { lineHeight: '2.5rem' }],
'5xl': ['3rem', { lineHeight: '1' }],
'6xl': ['3.75rem', { lineHeight: '1' }],
'7xl': ['4.5rem', { lineHeight: '1' }],
'8xl': ['6rem', { lineHeight: '1' }],
'9xl': ['8rem', { lineHeight: '1' }],
},
},
plugins: [buttons()],
}