Skip to content

Conversation

@Lexicoding-systems
Copy link
Owner

Summary

Fixes login page typography by replacing unprofessional monospace font with modern system font stack, matching the dashboard design system.

Issue Fixed

Closes #20: Fix login page typography

Changes Made

Typography Updates

Before: Monaco, Courier New, monospace (all text)
After: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif

Updated elements:

  • Body text (line 29)
  • Form inputs (line 85) - now uses font-family: inherit
  • Buttons (line 106) - now uses font-family: inherit

Design System Integration

Added CSS variables matching dashboard files:

:root {
    --primary: #0891b2;
    --secondary: #64748b;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border: #334155;
    --verified: #10b981;
}

Color Token Updates

Replaced 10+ hardcoded colors with CSS variables:

  • color: #0891b2;color: var(--primary);
  • color: #94a3b8;color: var(--text-secondary);
  • color: #f1f5f9;color: var(--text-primary);
  • background: #1e293b;background: var(--bg-card);
  • border: 1px solid #334155;border: 1px solid var(--border);
  • And more...

Benefits

  • Professional appearance: Modern system font instead of monospace
  • Consistent branding: Matches dashboard typography
  • Improved readability: Sans-serif more readable for UI text
  • Design system: All 3 HTML files now use same color tokens
  • Maintainability: Colors centralized in CSS variables

Before & After

Before:

  • Monaco/Courier New monospace everywhere
  • Hardcoded color values scattered throughout
  • Inconsistent with dashboard design

After:

  • System font stack (native to each OS)
  • Centralized color system with CSS variables
  • Consistent with dashboard.html and governance_dashboard.html

Testing Checklist

  • Verify font renders correctly on macOS (San Francisco)
  • Verify font renders correctly on Windows (Segoe UI)
  • Verify font renders correctly on Linux (Roboto/Ubuntu)
  • Check all colors still display correctly
  • Verify form inputs and buttons look good
  • Test login functionality still works

Related

🤖 Generated with Claude Code

**Issue #20: Login Page Typography**

Replace Monaco/Courier New monospace font with modern system font stack:
- body, inputs, buttons now use -apple-system, BlinkMacSystemFont, etc.
- Consistent with dashboard.html and governance_dashboard.html typography
- Improved readability and professional appearance

Add design system CSS variables:
- Add :root with color tokens for consistency
- Replace hardcoded colors with var(--primary), var(--text-secondary), etc.
- Use font-family: inherit for inputs/buttons

Changes:
- Replace all 3 instances of monospace font-family
- Add :root color system matching dashboard files
- Update 10+ hardcoded color values to use CSS variables
- Consistent design token system across all 3 HTML files

Fixes #20

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@Lexicoding-systems Lexicoding-systems merged commit 14623f1 into main Jan 11, 2026
4 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DESIGN] Fix Login Page Typography to Match Design System

2 participants