-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
48 lines (46 loc) · 1.39 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
import colors from 'tailwindcss/colors';
export default {
darkMode: 'selector',
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
colors: {
// Base interface colors
surface: {
DEFAULT: colors.zinc[50], // Very light zinc for main background
dark: colors.zinc[900],
secondary: colors.zinc[100], // Slightly darker for cards/sections
'dark-secondary': colors.zinc[800],
tertiary: colors.zinc[200], // Even darker for elevated elements
'dark-tertiary': colors.zinc[700]
},
// Text colors
content: {
DEFAULT: colors.zinc[900], // Almost black for primary text
dark: colors.zinc[100],
secondary: colors.zinc[700], // Muted text
'dark-secondary': colors.zinc[300],
tertiary: colors.zinc[500], // Most muted text
'dark-tertiary': colors.zinc[400]
},
// Accent colors (using sky instead of blue/purple)
accent: {
DEFAULT: colors.purple[500], // Primary accent
dark: colors.purple[400],
secondary: colors.purple[600], // Slightly darker accent
'dark-secondary': colors.purple[500],
muted: colors.purple[200],
'dark-muted': colors.purple[800]
},
// Action colors
action: {
primary: colors.sky[500],
danger: colors.red[600],
success: colors.green[600],
warning: colors.amber[500]
}
}
}
}
} satisfies Config;