Skip to content

fix: add proper font fallback stack to theme typography config#1605

Merged
gugu merged 3 commits into
mainfrom
fix/font-fallback-stack
Feb 20, 2026
Merged

fix: add proper font fallback stack to theme typography config#1605
gugu merged 3 commits into
mainfrom
fix/font-fallback-stack

Conversation

@gugu

@gugu gugu commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

Prevents UI from jumping to the browser default font when Noto Sans fails to load.

Prevents UI from jumping to the browser default font when Noto Sans fails to load.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 16, 2026 12:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a proper font fallback stack to prevent UI rendering issues when the primary font (Noto Sans) fails to load. The change centralizes the font-family definition into a reusable SCSS variable with a complete fallback chain that gracefully degrades through standard system fonts.

Changes:

  • Introduces $app-font-family variable containing 'Noto Sans' with fallbacks: 'Helvetica Neue', Helvetica, Arial, and sans-serif
  • Replaces hardcoded 'Noto Sans' strings across all Angular Material typography level definitions with the new variable

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gugu gugu enabled auto-merge (squash) February 16, 2026 13:34
@gugu gugu merged commit e66e59c into main Feb 20, 2026
13 of 15 checks passed
@gugu gugu deleted the fix/font-fallback-stack branch February 20, 2026 09:00
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.

3 participants