-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
67 lines (65 loc) · 2.33 KB
/
Copy pathtailwind.config.ts
File metadata and controls
67 lines (65 loc) · 2.33 KB
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
import type { Config } from 'tailwindcss';
const config: Config = {
darkMode: 'class',
content: ['./src/renderer/**/*.{ts,tsx,html}'],
theme: {
extend: {
fontFamily: {
sans: [
'-apple-system',
'BlinkMacSystemFont',
'SF Pro Text',
'system-ui',
'sans-serif'
],
mono: [
'SF Mono',
'JetBrains Mono',
'ui-monospace',
'Menlo',
'monospace'
]
},
colors: {
// Semantic tokens driven by CSS variables in styles.css.
// Both `.dark` and `.light` set their values; flipping the class on
// <html> swaps the whole palette without per-component overrides.
base: 'rgb(var(--bg-base) / <alpha-value>)',
surface: 'rgb(var(--bg-surface) / <alpha-value>)',
elevated: 'rgb(var(--bg-elevated) / <alpha-value>)',
border: 'rgb(var(--border) / <alpha-value>)',
'border-strong': 'rgb(var(--border-strong) / <alpha-value>)',
fg: 'rgb(var(--fg) / <alpha-value>)',
'fg-muted': 'rgb(var(--fg-muted) / <alpha-value>)',
'fg-subtle': 'rgb(var(--fg-subtle) / <alpha-value>)',
accent: {
DEFAULT: 'rgb(var(--accent) / <alpha-value>)',
fg: 'rgb(var(--accent-fg) / <alpha-value>)'
},
danger: {
bg: 'rgb(var(--danger-bg) / <alpha-value>)',
'bg-hover': 'rgb(var(--danger-bg-hover) / <alpha-value>)',
fg: 'rgb(var(--danger-fg) / <alpha-value>)',
border: 'rgb(var(--danger-border) / <alpha-value>)',
strong: 'rgb(var(--danger-strong) / <alpha-value>)'
},
success: {
bg: 'rgb(var(--success-bg) / <alpha-value>)',
'bg-hover': 'rgb(var(--success-bg-hover) / <alpha-value>)',
fg: 'rgb(var(--success-fg) / <alpha-value>)',
border: 'rgb(var(--success-border) / <alpha-value>)',
strong: 'rgb(var(--success-strong) / <alpha-value>)'
},
warn: {
bg: 'rgb(var(--warn-bg) / <alpha-value>)',
'bg-hover': 'rgb(var(--warn-bg-hover) / <alpha-value>)',
fg: 'rgb(var(--warn-fg) / <alpha-value>)',
border: 'rgb(var(--warn-border) / <alpha-value>)',
strong: 'rgb(var(--warn-strong) / <alpha-value>)'
}
}
}
},
plugins: []
};
export default config;