-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
53 lines (53 loc) · 1.74 KB
/
tailwind.config.js
File metadata and controls
53 lines (53 loc) · 1.74 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/renderer/index.html',
'./src/renderer/**/*.{js,ts,jsx,tsx}',
'./src/shared/**/*.{js,ts,jsx,tsx}'
],
theme: {
extend: {
colors: {
// Theme-aware surface colors (use CSS variables)
surface: {
DEFAULT: 'var(--color-surface)',
raised: 'var(--color-surface-raised)',
overlay: 'var(--color-surface-overlay)',
sidebar: 'var(--color-surface-sidebar)',
code: 'var(--code-bg)', // Deep black for code blocks
},
// Theme-aware border colors (use CSS variables)
border: {
DEFAULT: 'var(--color-border)',
subtle: 'var(--color-border-subtle)',
emphasis: 'var(--color-border-emphasis)',
},
// Theme-aware text colors (use CSS variables)
text: {
DEFAULT: 'var(--color-text)',
secondary: 'var(--color-text-secondary)',
muted: 'var(--color-text-muted)',
},
// Semantic colors (only for status, not containers)
semantic: {
success: '#22c55e', // green-500
error: '#ef4444', // red-500
warning: '#f59e0b', // amber-500
info: '#3b82f6', // blue-500
},
// Theme-aware colors using CSS variables
// These aliases enable all existing components to automatically support light/dark mode
'claude-dark': {
bg: 'var(--color-surface)',
surface: 'var(--color-surface-raised)',
border: 'var(--color-border)',
text: 'var(--color-text)',
'text-secondary': 'var(--color-text-secondary)'
}
}
}
},
plugins: [
require('@tailwindcss/typography')
]
}