Skip to content

feat: use montserrat as app font#819

Open
blackmammoth wants to merge 1 commit into
mainfrom
chore/use-montserrat-font
Open

feat: use montserrat as app font#819
blackmammoth wants to merge 1 commit into
mainfrom
chore/use-montserrat-font

Conversation

@blackmammoth
Copy link
Copy Markdown
Collaborator

@blackmammoth blackmammoth commented Jun 2, 2026

Summary

Updates the app’s main font to Montserrat.

What Changed

  • Added Google Fonts preconnect links for fonts.googleapis.com and fonts.gstatic.com.
  • Added the Montserrat stylesheet with weights 400, 500, 600, 700, and 800.
  • Updated the global body font stack to use Montserrat first, with the existing system sans-serif stack as fallback.

Why

Montserrat gives the app a more consistent branded typography baseline while preserving reliable fallback behavior across modern browsers.

Browser Support

Google Fonts serves Montserrat in modern web font formats such as WOFF2, which are supported by all modern browsers. The app also retains the existing fallback stack:

-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif

Summary by CodeRabbit

  • Style
    • Updated typography throughout the app to use Montserrat font for improved visual consistency
    • Optimized font loading performance through enhanced delivery methods

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 2, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: c0adfdc1-9ecd-4324-9056-f935d87591ca

📥 Commits

Reviewing files that changed from the base of the PR and between d9e9df1 and cdfd576.

📒 Files selected for processing (2)
  • index.html
  • src/index.css

📝 Walkthrough

Walkthrough

The PR introduces Montserrat web font to the application by adding resource loading directives in the HTML head with connection preoptimization and updating the body element's font-family CSS rule to prioritize Montserrat over system fonts.

Changes

Font Loading

Layer / File(s) Summary
Montserrat font loading and application
index.html, src/index.css
HTML head includes preconnect to Google Fonts domains and a stylesheet link for Montserrat font; body font-family CSS rule is updated to prepend "Montserrat" before existing system/UI font fallback stack.

Poem

🐰 A font so grand, Montserrat's here,
Through Google's gates we load so clear,
With preconnect and CSS grace,
This elegant typeface finds its place!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat: use montserrat as app font' is clear, concise, and directly summarizes the main change—adding Montserrat as the application's primary font.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/use-montserrat-font

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant