You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Colors are assigned automatically by Chart.js based on the dataset order.
17
+
18
+
### Accent & Status
19
+
-**Success (`--success`)**: `#10b981` (Used for the "Live" badge).
20
+
-**Accent (`--accent`)**: `#8b5cf6` (Purple, used in pie/doughnut charts for secondary metrics).
21
+
22
+
## 🧱 Component Standards
23
+
24
+
### KPI Cards
25
+
-**Values**: Should use the default text color (`var(--text)`) or primary blue for emphasis. Avoid using purple/accent for primary metrics unless specifically justified.
26
+
-**Borders**: All cards use `var(--border)`. Subtle borders are used for structure, and a highlight border (`var(--primary)`) is applied only on `:hover`.
27
+
-**Icons**: SVG icons are used with a `stroke` of `var(--primary)` and a subtle `drop-shadow`.
28
+
29
+
### Typography
30
+
-**Font Family**: 'Inter', sans-serif.
31
+
-**Headings**: Semi-bold to Bold (600-800) with slight negative letter-spacing for a premium feel.
32
+
33
+
## 🌗 Dark Mode
34
+
-**Background**: `#0d1117`
35
+
-**Surface**: `#161b22`
36
+
-**Border**: `#21262d`
37
+
-**Text**: `#e6edf3`
38
+
39
+
The theme toggle switches the `.dark` class on the `<html>` element, which updates these CSS variables.
0 commit comments