Skip to content

feat(editor): Update fonts - #36485

Merged
heymynameisrob merged 18 commits into
n8n-rebrand-2026from
ds-617-brand-test-new-typeface
Aug 21, 2026
Merged

feat(editor): Update fonts #36485
heymynameisrob merged 18 commits into
n8n-rebrand-2026from
ds-617-brand-test-new-typeface

Conversation

@sebpowell

@sebpowell sebpowell commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add new typeface Baumer and Baumer Mono, replacing Inter and CommitMono respectively.
  • Replaced --font-weight--bold with --font-weight--medium across design-system, editor-ui, Storybook, and the MCP browser extension
  • N8nHeading bold variant now renders as medium
  • Reset now sets strong and b to --font-weight--medium
  • Replaced raw font-weight: 600 with var(--font-weight--medium)
  • Added stories for Assistant messages (BlockMessage, TextMessage, ToolMessage, RestoreVersionConfirm) and N8nMenuItem
  • Fixed broken NodeIcon and UserStack stories
  • Added a Markdown headings story
  • Added 'Medium' story to Heading

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/DS-617/brand-test-new-typeface

Review / Merge checklist

  • I have seen this code, I have run this code, and I take responsibility for this code.
  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with Backport to Beta, Backport to Stable, or Backport to v1 (if the PR is an urgent fix that needs to be backported)

@n8n-assistant

n8n-assistant Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

PR review overview

Based on ownership of the 13 changed files in this PR:

Ownership Files owned Share Source code Test files Misc
@n8n-io/design 9 69% +12 / -35 +0 / -0 +8 / -4
@n8n-io/catalysts 1 8% +2 / -8 +0 / -0 +0 / -0
@n8n-io/nodes 1 8% +2 / -8 +0 / -0 +0 / -0
Other teams 2 15% +2 / -2 +0 / -0 +0 / -0
Total 13 100% +18 / -53 +0 / -0 +8 / -4

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Bundle Report

Changes will decrease total bundle size by 827.53kB (-1.54%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
editor-ui-esm 52.81MB -827.53kB (-1.54%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: editor-ui-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/worker-*.js -3.2MB 18.44kB -99.43%
assets/worker-*.js 3.2MB 3.21MB 17332.17% ⚠️
assets/index-*.css -536 bytes 996.88kB -0.05%
assets/WorkflowReviewRequestsView-*.css -7 bytes 45.04kB -0.02%
assets/WorkflowDiffView-*.css -7 bytes 24.48kB -0.03%
assets/InterVariable-*.woff2 (Deleted) -352.24kB 0 bytes -100.0% 🗑️
assets/InterVariable-*.woff2 (Deleted) -387.98kB 0 bytes -100.0% 🗑️
assets/CommitMonoVariable-*.woff2 (Deleted) -86.77kB 0 bytes -100.0% 🗑️

@cubic-dev-ai cubic-dev-ai Bot 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.

All reported issues were addressed across 21 files

Architecture diagram
sequenceDiagram
    participant DS as Design System Package
    participant CSS as CSS Build (fonts.scss)
    participant FS as Font Assets (EK Baumer woff/)
    participant APP as App Surfaces (MCP, Editor)
    participant SB as Storybook Styleguide
    participant GEN as Font Character Generator (script)

    Note over DS,CSS: Runtime Font Loading & Styleguide Flow

    %% Font loading - Baumer
    APP->>DS: @use design-system css/fonts/baumer
    DS->>CSS: Load fonts.scss
    CSS->>FS: url() fetch Baumer woff2 files
    FS-->>CSS: Font data
    CSS-->>APP: Declared font-family: Baumer

    %% Font loading - Baumer Mono
    APP->>DS: @use design-system css/fonts/baumer-mono
    DS->>CSS: Load baumer-mono.scss
    CSS->>FS: url() fetch Baumer Mono woff2 files
    FS-->>CSS: Font data
    CSS-->>APP: Declared font-family: Baumer Mono

    %% Legacy fonts loaded only in Styleguide
    Note over DS,SB: Legacy Inter/CommitMono for comparisons
    SB->>DS: Load styleguide components
    DS->>CSS: Load inter.scss (legacy)
    CSS->>FS: url() fetch InterVariable woff2
    CSS->>FS: url() fetch CommitMono woff2
    FS-->>CSS: Font data

    %% Styleguide grid flow
    SB->>GEN: Locale character blocks data
    GEN-->SB: Unicode blocks (Basic Latin, Greek, Punctuation, etc.)
    SB->>SB: Render FontsCharacterGrid (light + dark themes)
    SB-->>CSS: font-family: Baumer / Baumer Mono for preview

    alt Local font files missing
        CSS->>FS: url() request fails
        FS-->>CSS: 404 / missing asset
        Note over CSS,APP: App builds fail (README documents requirement)
    end
Loading

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread scripts/generate-locale-font-characters.mjs Outdated
Comment thread packages/frontend/@n8n/design-system/src/css/_primitives.scss Outdated
@n8n-assistant n8n-assistant Bot added the n8n team Authored by the n8n team label Aug 18, 2026
@sebpowell sebpowell changed the title feat(core): updated fonts feat(core): Updated fonts Aug 18, 2026

@cubic-dev-ai cubic-dev-ai Bot 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.

All reported issues were addressed across 5 files (changes from recent commits).

Tip: Review your code locally with the cubic CLI to iterate faster.

Fix all with cubic | Re-trigger cubic

Comment thread packages/@n8n/mcp-browser-extension/src/ui/tokens.scss Outdated
@sebpowell
sebpowell changed the base branch from master to n8n-rebrand-2026 August 19, 2026 14:48
@sebpowell
sebpowell requested review from a team and CharlieKolb and removed request for a team August 19, 2026 14:48
@sebpowell
sebpowell changed the base branch from n8n-rebrand-2026 to master August 19, 2026 14:53
@sebpowell sebpowell changed the title feat(core): Updated fonts feat(core): Update fonts Aug 19, 2026

@cubic-dev-ai cubic-dev-ai Bot 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.

1 issue found across 22 files (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="packages/frontend/@n8n/design-system/vite.config.mts">

<violation number="1">
P3: The revised comment says the `url('../../assets/fonts/…')` in `fonts.scss` keeps resolving, but `fonts.scss` currently contains no such URL — it only `@use`s `./fonts/baumer` and `./fonts/baumer-mono`, which are placeholder comments for locally installed fonts. Only `icon.scss` has the `url('../../assets/fonts/...')` pattern today. Wording the comment as if `fonts.scss` ships that URL now is misleading; it describes the future state, not the current code.</violation>
</file>

Tip: Review your code locally with the cubic CLI to iterate faster.

Fix all with cubic | Re-trigger cubic

@CharlieKolb CharlieKolb changed the title feat(core): Update fonts feat(editor): Update fonts Aug 20, 2026
@@ -0,0 +1,2 @@
// Rebrand: uses locally installed Baumer. Come back and add served @font-face

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

is this still up to date? Sounds like we don't have a license to use these? 😰

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@CharlieKolb we don't at the moment, so the font files are not included – when we're ready to go live, the license will be purchased and files added.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ah you're targeting a feature branch again now, gotcha. Thought we were about to merge to master

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@CharlieKolb ah sorry yes, I'd mistakenly set to master before – apologies for confusion.

@sebpowell
sebpowell force-pushed the ds-617-brand-test-new-typeface branch from a588e8b to 9753479 Compare August 20, 2026 07:59
@sebpowell
sebpowell changed the base branch from master to n8n-rebrand-2026 August 20, 2026 08:00
@heymynameisrob
heymynameisrob merged commit 483a077 into n8n-rebrand-2026 Aug 21, 2026
50 of 51 checks passed
@heymynameisrob
heymynameisrob deleted the ds-617-brand-test-new-typeface branch August 21, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed n8n team Authored by the n8n team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants