-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
66 lines (65 loc) · 2.5 KB
/
tailwind.config.js
File metadata and controls
66 lines (65 loc) · 2.5 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
darkMode: 'class',
theme: {
extend: {
colors: {
// Semantic theme colors using CSS variables
surface: {
DEFAULT: 'rgb(var(--color-surface) / <alpha-value>)',
primary: 'rgb(var(--color-surface-primary) / <alpha-value>)',
secondary: 'rgb(var(--color-surface-secondary) / <alpha-value>)',
hover: 'rgb(var(--color-surface-hover) / <alpha-value>)',
alt: 'rgb(var(--color-surface-alt) / <alpha-value>)',
},
content: {
primary: 'rgb(var(--color-text-primary) / <alpha-value>)',
secondary: 'rgb(var(--color-text-secondary) / <alpha-value>)',
tertiary: 'rgb(var(--color-text-tertiary) / <alpha-value>)',
muted: 'rgb(var(--color-text-muted) / <alpha-value>)',
inverted: 'rgb(var(--color-text-inverted) / <alpha-value>)',
},
border: {
DEFAULT: 'rgb(var(--color-border) / <alpha-value>)',
secondary: 'rgb(var(--color-border-secondary) / <alpha-value>)',
},
brand: {
50: 'rgb(var(--color-brand-50) / <alpha-value>)',
100: 'rgb(var(--color-brand-100) / <alpha-value>)',
500: 'rgb(var(--color-brand-500) / <alpha-value>)',
600: 'rgb(var(--color-brand-600) / <alpha-value>)',
700: 'rgb(var(--color-brand-700) / <alpha-value>)',
},
status: {
success: 'rgb(var(--color-success) / <alpha-value>)',
'success-bg': 'rgb(var(--color-success-bg) / <alpha-value>)',
error: 'rgb(var(--color-error) / <alpha-value>)',
'error-bg': 'rgb(var(--color-error-bg) / <alpha-value>)',
warning: 'rgb(var(--color-warning) / <alpha-value>)',
'warning-bg': 'rgb(var(--color-warning-bg) / <alpha-value>)',
},
// Keep original medical colors as alias for brand
medical: {
50: 'rgb(var(--color-brand-50) / <alpha-value>)',
100: 'rgb(var(--color-brand-100) / <alpha-value>)',
500: 'rgb(var(--color-brand-500) / <alpha-value>)',
600: 'rgb(var(--color-brand-600) / <alpha-value>)',
700: 'rgb(var(--color-brand-700) / <alpha-value>)',
800: '#075985',
900: '#0c4a6e',
},
accent: {
50: '#fef2f2',
100: '#fee2e2',
500: '#ef4444',
600: '#dc2626',
700: '#b91c1c',
}
}
},
},
plugins: [],
}