Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Svelte: use Roboto Mono as monospace font#63247

Merged
camdencheek merged 2 commits into
mainfrom
cc/roboto-mono
Jun 13, 2024
Merged

Svelte: use Roboto Mono as monospace font#63247
camdencheek merged 2 commits into
mainfrom
cc/roboto-mono

Conversation

@camdencheek

@camdencheek camdencheek commented Jun 13, 2024

Copy link
Copy Markdown
Member

This adds Roboto Mono as the default monospace font for the Svelte webapp. Previously, we were nominally using SF Mono, but that is not installed by default and we were not fetching it, so the figma designs looked different than what was being rendered in the web app. This uses FontSource packages for the font for easy self-hosting (no external requests).

Fixes SRCH-445

Test plan

Manually tested that code is rendered with Roboto Mono. The font weighs ~30KB

@cla-bot cla-bot Bot added the cla-signed label Jun 13, 2024
@camdencheek camdencheek marked this pull request as ready for review June 13, 2024 15:17
@camdencheek camdencheek requested a review from a team June 13, 2024 15:17
@camdencheek camdencheek merged commit 323034e into main Jun 13, 2024
@camdencheek camdencheek deleted the cc/roboto-mono branch June 13, 2024 15:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants