-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
57 lines (57 loc) · 1.7 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
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}', '*.html'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['PingFangSC', 'arial', 'sans-serif'],
},
colors: {
skin: {
'pending-green': 'var(--pending-green-color)',
},
},
textColor: {
skin: {
base: 'var(--text-base-color)',
secondary: 'var(--text-secondary-color)',
muted: 'var(--text-muted-color)',
highlight: 'var(--highlight-color)',
},
},
backgroundColor: {
skin: {
base: 'var(--bg-base-color)',
middleground: 'var(--bg-middleground-color)',
foreground: 'var(--bg-foreground-color)',
highlight: 'var(--highlight-color)',
lowlight: 'var(--lowlight-color)',
input: 'var(--bg-input-color)',
'dropdown-hover': 'var(--bg-dropdown-hover-color)',
'modal-header': 'var(--bg-modal-header-color)',
reminder: 'var(--bg-reminder-color)',
'line-divider': 'var(--bg-line-divider-color)',
toast: 'var(--bg-toast-color)',
'disabled-rect': 'var(--bg-disabled-rect-color)',
'viteconnect-confirm': 'var(--bg-viteconnect-confirm-color)',
'reminder-dot': 'var(--bg-reminder-dot)',
},
},
borderColor: {
skin: {
base: 'var(--border-base-color)',
muted: 'var(--border-muted-color)',
highlight: 'var(--highlight-color)',
lowlight: 'var(--lowlight-color)',
},
},
boxShadow: {
// Can't nest keys because the default config doesn't use `({ theme }) => ({...`
// https://github.com/tailwindlabs/tailwindcss/blob/master/stubs/defaultConfig.stub.js
// 'skin-base': '0px 2px 10px 1px rgba(176, 192, 237, 0.42)',
'skin-base': '0px 3px 10px 5px rgba(0, 0, 0, 0.05)',
},
},
},
plugins: [],
};