fix(design): Standardize color system and spacing scale (Phase 2)#26
Merged
Lexicoding-systems merged 1 commit intomainfrom Jan 10, 2026
Merged
fix(design): Standardize color system and spacing scale (Phase 2)#26Lexicoding-systems merged 1 commit intomainfrom
Lexicoding-systems merged 1 commit intomainfrom
Conversation
**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 Changes: - dashboard.html: Add risk colors, spacing scale, fix violations - governance_dashboard.html: Remove ad-hoc hover color, add spacing scale 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>
This was referenced Jan 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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