fix(design): Standardize color system and spacing scale (Phase 2) #26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Implements consistent design system foundation across all dashboard files by standardizing the color system and establishing an 8px-based spacing scale.
Issues Fixed
Changes Made
Issue #19: Color System Standardization
governance_dashboard.html:
--bg-card-hover: #2d3b52;--hover-overlay: rgba(255, 255, 255, 0.05);--verified: #10b981;for consistencyvar(--bg-card-hover)withvar(--hover-overlay)dashboard.html:
--risk-critical: #dc2626;--risk-high: #f59e0b;--risk-medium: #eab308;--risk-low: #84cc16;--hover-overlayfor consistent hover statesIssue #21: Spacing Consistency
Established 8px-based spacing scale:
Fixed spacing violations in dashboard.html:
padding: 10px 20px;→padding: 12px 20px;padding: 4px 10px;→padding: 4px 12px;padding: 2px 6px;→padding: 4px 8px;padding: 10px 12px;→padding: 12px;padding: 6px 12px;(inline) →padding: 8px 12px;margin: 6px 0;→margin: 8px 0;Added spacing scale to governance_dashboard.html for consistency
Benefits
Design System Documentation
The established design system now includes:
Colors:
--primary--success,--warning,--danger--risk-critical,--risk-high,--risk-medium,--risk-low--bg-dark,--bg-card--text-primary,--text-secondary--hover-overlay,--verifiedSpacing Scale (8px base):
--spacing-*variables or multiples of 8px (4, 8, 12, 16, 20, 24, 32, 40)Testing Checklist
Related
🤖 Generated with Claude Code