Commit 401891a
fix(design): Standardize color system and spacing scale (#26)
**Issue #19: Color System Standardization**
- Remove ad-hoc color --bg-card-hover from governance_dashboard.html
- Add standardized --hover-overlay rgba value
- Add risk-level colors to dashboard.html for consistency
- Add --verified color to governance_dashboard.html
**Issue #21: Spacing Consistency**
- Establish 8px-based spacing scale in CSS variables
- Fix padding violations: 10px→12px, 6px→8px, 2px→4px
- Fix margin violations: 6px→8px
- Apply consistent spacing to inline styles
Both dashboards now use:
- Consistent design token system
- 8px-based spacing (4, 8, 12, 16, 20, 24, 32, 40px)
- No ad-hoc colors or spacing values
Fixes #19
Fixes #21
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 654e081 commit 401891a
2 files changed
Lines changed: 41 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
26 | 41 | | |
27 | 42 | | |
28 | 43 | | |
| |||
132 | 147 | | |
133 | 148 | | |
134 | 149 | | |
135 | | - | |
| 150 | + | |
136 | 151 | | |
137 | 152 | | |
138 | 153 | | |
| |||
272 | 287 | | |
273 | 288 | | |
274 | 289 | | |
275 | | - | |
| 290 | + | |
276 | 291 | | |
277 | 292 | | |
278 | 293 | | |
| |||
306 | 321 | | |
307 | 322 | | |
308 | 323 | | |
309 | | - | |
| 324 | + | |
310 | 325 | | |
311 | 326 | | |
312 | 327 | | |
| |||
342 | 357 | | |
343 | 358 | | |
344 | 359 | | |
345 | | - | |
| 360 | + | |
346 | 361 | | |
347 | 362 | | |
348 | 363 | | |
| |||
475 | 490 | | |
476 | 491 | | |
477 | 492 | | |
478 | | - | |
| 493 | + | |
479 | 494 | | |
480 | 495 | | |
481 | 496 | | |
| |||
800 | 815 | | |
801 | 816 | | |
802 | 817 | | |
803 | | - | |
| 818 | + | |
804 | 819 | | |
805 | 820 | | |
806 | 821 | | |
| |||
1759 | 1774 | | |
1760 | 1775 | | |
1761 | 1776 | | |
1762 | | - | |
1763 | | - | |
1764 | | - | |
1765 | | - | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
1766 | 1781 | | |
1767 | 1782 | | |
1768 | 1783 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
30 | 41 | | |
31 | 42 | | |
32 | 43 | | |
| |||
212 | 223 | | |
213 | 224 | | |
214 | 225 | | |
215 | | - | |
| 226 | + | |
216 | 227 | | |
217 | 228 | | |
218 | 229 | | |
| |||
319 | 330 | | |
320 | 331 | | |
321 | 332 | | |
322 | | - | |
| 333 | + | |
323 | 334 | | |
324 | 335 | | |
325 | 336 | | |
| |||
397 | 408 | | |
398 | 409 | | |
399 | 410 | | |
400 | | - | |
| 411 | + | |
401 | 412 | | |
402 | 413 | | |
403 | 414 | | |
| |||
445 | 456 | | |
446 | 457 | | |
447 | 458 | | |
448 | | - | |
| 459 | + | |
449 | 460 | | |
450 | 461 | | |
451 | 462 | | |
| |||
0 commit comments