Skip to content

feat(web): switch the UI, admin, public pages and emails to Inter - #699

Merged
artempartos merged 1 commit into
developfrom
feat/inter-font
Nov 11, 2026
Merged

artempartos merged 1 commit into
developfrom
feat/inter-font

Conversation

@dvislov

@dvislov dvislov commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Replaces Figtree (body) and Hanken Grotesk (headings) with Inter everywhere: the app, the admin, the landing, legal pages, static error pages, the public asset page and emails. Monospace faces (JetBrains Mono, Spline Sans Mono) are unchanged.

Loading. Every layout goes through one partial, app/views/shared/_web_fonts.html.erb:

  • a single Inter variable font ([email protected], or 300..700 on the landing) instead of separate Figtree and Hanken files;
  • preconnect to both Google Fonts origins and display=swap;
  • an "Inter Fallback" face, local(Arial) with Inter's metrics (size-adjust and the ascent/descent overrides that next/font uses), so swapping fonts does not shift the layout.

Tokens. --app-font-body and --app-font-heading now resolve to Inter, "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, in both the theme and the admin skin. About 40 hardcoded font stacks (ff="JetBrains Mono, monospace", fontFamily: 'monospace', font-family: 'JetBrains Mono' in CSS modules) now read --app-font-mono / Mantine's ff="monospace".

Landing. Body text goes from weight 300 to 400; at 300, Inter is too thin on the dark background. Display headings and figures stay at 300.

Emails. The stack lives in MailerHelper::FONT_SANS and is also set on <body> and the outer cell, so unstyled templates inherit it.

  • Apple Mail, Outlook for Mac, Thunderbird and Samsung Mail show Inter.
  • Gmail, Yahoo and Outlook.com never load third-party web fonts, so they fall back to the system face.
  • Outlook for Windows (Word engine) drops the whole stack for Times New Roman once it sees a web font it cannot load. The font link is hidden from it with <!--[if !mso]>, and an MSO-only style pins its text to Segoe UI.

Admin layout fixes found by the audit. Date cells no longer wrap (.cell-data--date-time { white-space: nowrap }), and button_to link-buttons ("Destroy") use the body font instead of the browser default.

Related issues

Task #250 (Flow board, project 56)

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Refactor / chore
  • Breaking change

How was this tested?

  • make check_all is green: rails-test, system-test, rubocop, brakeman, eslint, typescript, fsd, vitest.
  • A Ferrum script captured 45 pages (public, app, admin) at 1440 and 390 px before and after the change, and diffed every text element for new clipping, overflow and extra line wraps. There is no new horizontal scroll and no overlapping text. The admin date wrapping it found is fixed here. The other differences are expected reflow, because Inter is wider: long board-card titles wrap one line earlier, and persona descriptions hit their ellipsis sooner. Before/after screenshots are attached to task feat(agents): add Kiro CLI as an agent runtime #250.
  • In headless Chromium, the browser loads one Inter variable file and no Figtree or Hanken files.
  • An email was rendered in Chromium and computes to Inter. It has not been checked in real mail clients yet.
  • Not measured: Lighthouse LCP/CLS before and after.

workspace_signup_mailer_test took the first href in the mail, which is now the font <link>. It now reads the link from the <a> tag.

Checklist

  • I read CONTRIBUTING.md.
  • All my commits are signed off for the DCO (git commit -s).
  • I have signed (or will sign) the CLA when the bot prompts me — or my
    organization has executed the Corporate CLA.
  • make check_all passes locally (tests, rubocop, brakeman, eslint, typescript).
  • I added/updated tests where it makes sense.
  • I updated documentation where it makes sense.
  • User-visible changes have an entry under [Unreleased] in CHANGELOG.md.
  • My commits use clear, descriptive messages.

🤖 Generated with Claude Code

Figtree and Hanken Grotesk give way to one Inter variable font from Google
Fonts, loaded through a shared partial with a metric-matched Arial fallback so
the swap does not shift the layout. Hardcoded monospace stacks now read the
--app-font-mono token. Emails hide the font link from Outlook for Windows,
which otherwise drops the whole stack for Times New Roman.

Refs task #250

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Dmitry Vislov <[email protected]>
@artempartos
artempartos merged commit ee88485 into develop Nov 11, 2026
18 checks passed
NOX73 added a commit that referenced this pull request Nov 11, 2026
…s-0-1-0

* origin/develop:
  feat(coder): clone GitLab, Bitbucket and Azure DevOps repos in coder_prepare_repo (#703)
  fix(agents): show each runtime's own logo everywhere (#704)
  feat(teams): assign cards to a team and run triggers as a team (#701)
  feat(agents): collect the Copilot CLI transcript as a session log (#700)
  fix(agents): keep Grok and Antigravity conversations in the terminal scrollback (#698)
  feat(billing): redesign the Billing tab around active and previous subscriptions (#646)
  feat(web): switch the UI, admin, public pages and emails to Inter (#699)
  chore(deps): weekly dependency batch — aws-sdk-core 3.267 retry fix, prism 2, Mantine 9.7.5, runner Go 1.27.4 (#697)
  fix(board): leave archived tasks out of agent board listings (#690)
  feat(agents): add GitHub Copilot CLI as an agent runtime (#684)
  feat(runners): the callback proxy — the proxy sidecar, the host runner relay and the gateway proxy route (task #216, 8b) (#677)

Signed-off-by: Rozhnov Alexandr <[email protected]>
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.

2 participants