|
| 1 | +/* Theme CSS Custom Properties */ |
| 2 | +:root { |
| 3 | + /* Light theme (default) */ |
| 4 | + --color-bg-primary: #ffffff; |
| 5 | + --color-bg-secondary: #f8f9fa; |
| 6 | + --color-bg-elevated: #f0f1f3; |
| 7 | + --color-bg-hover: #e8e9eb; |
| 8 | + |
| 9 | + --color-text-primary: #1a1d23; |
| 10 | + --color-text-secondary: #4a5568; |
| 11 | + --color-text-muted: #718096; |
| 12 | + |
| 13 | + --color-accent: #7c3aed; |
| 14 | + --color-accent-hover: #6d28d9; |
| 15 | + --color-accent-soft: rgba(124, 58, 237, 0.12); |
| 16 | + |
| 17 | + --color-border: #e2e8f0; |
| 18 | + --color-border-light: #cbd5e1; |
| 19 | + |
| 20 | + --color-success: #22c55e; |
| 21 | + --color-success-soft: rgba(34, 197, 94, 0.15); |
| 22 | + --color-warning: #eab308; |
| 23 | + --color-warning-soft: rgba(234, 179, 8, 0.15); |
| 24 | + --color-error: #ef4444; |
| 25 | + --color-error-soft: rgba(239, 68, 68, 0.15); |
| 26 | + --color-info: #3b82f6; |
| 27 | + --color-info-soft: rgba(59, 130, 246, 0.15); |
| 28 | + |
| 29 | + --color-code-string: #16a34a; |
| 30 | + --color-code-number: #ea580c; |
| 31 | + |
| 32 | + --color-pii-true: #ef4444; |
| 33 | + --color-pii-true-soft: rgba(239, 68, 68, 0.15); |
| 34 | + --color-pii-maybe: #eab308; |
| 35 | + --color-pii-maybe-soft: rgba(234, 179, 8, 0.15); |
| 36 | + --color-pii-false: #22c55e; |
| 37 | + --color-pii-false-soft: rgba(34, 197, 94, 0.15); |
| 38 | +} |
| 39 | + |
| 40 | +.dark { |
| 41 | + /* Dark theme */ |
| 42 | + --color-bg-primary: #111318; |
| 43 | + --color-bg-secondary: #181b21; |
| 44 | + --color-bg-elevated: #1f2329; |
| 45 | + --color-bg-hover: #262b33; |
| 46 | + |
| 47 | + --color-text-primary: #d4d7db; |
| 48 | + --color-text-secondary: #8b919a; |
| 49 | + --color-text-muted: #5c6370; |
| 50 | + |
| 51 | + --color-accent: #9580ff; |
| 52 | + --color-accent-hover: #a899ff; |
| 53 | + --color-accent-soft: rgba(149, 128, 255, 0.12); |
| 54 | + |
| 55 | + --color-border: #282d36; |
| 56 | + --color-border-light: #343a45; |
| 57 | + |
| 58 | + --color-success: #50a060; |
| 59 | + --color-success-soft: rgba(80, 160, 96, 0.15); |
| 60 | + --color-warning: #d4a72c; |
| 61 | + --color-warning-soft: rgba(212, 167, 44, 0.15); |
| 62 | + --color-error: #c25450; |
| 63 | + --color-error-soft: rgba(194, 84, 80, 0.15); |
| 64 | + --color-info: #5c9fd4; |
| 65 | + --color-info-soft: rgba(92, 159, 212, 0.15); |
| 66 | + |
| 67 | + --color-code-string: #98c379; |
| 68 | + --color-code-number: #d19a66; |
| 69 | + |
| 70 | + --color-pii-true: #c25450; |
| 71 | + --color-pii-true-soft: rgba(194, 84, 80, 0.15); |
| 72 | + --color-pii-maybe: #d4a72c; |
| 73 | + --color-pii-maybe-soft: rgba(212, 167, 44, 0.15); |
| 74 | + --color-pii-false: #50a060; |
| 75 | + --color-pii-false-soft: rgba(80, 160, 96, 0.15); |
| 76 | +} |
| 77 | + |
1 | 78 | @tailwind base; |
2 | 79 | @tailwind components; |
3 | 80 | @tailwind utilities; |
|
127 | 204 | } |
128 | 205 |
|
129 | 206 | .badge-deprecated { |
130 | | - @apply bg-error/15 text-error; |
| 207 | + @apply bg-error-soft text-error; |
131 | 208 | } |
132 | 209 |
|
133 | 210 | .badge-otel { |
134 | | - @apply bg-info/15 text-info; |
| 211 | + @apply bg-info-soft text-info; |
135 | 212 | } |
136 | 213 |
|
137 | 214 | .badge-dynamic { |
138 | | - @apply bg-warning/15 text-warning; |
| 215 | + @apply bg-warning-soft text-warning; |
139 | 216 | } |
140 | 217 |
|
141 | 218 | .badge-type { |
|
0 commit comments