mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 16:51:55 +00:00
This adds `Inter` as the preferred for `--font-family-base` in the Svelte webapp. Previously, we were using system fonts for our base font, which meant our web app looked different depending on the OS+browser. Instead of depending on the Google Fonts CDN, this uses Fontsource, which let us easily self-host Google Fonts (and other OSS fonts) just by importing an NPM package. No committing font files to git, and no dependency or connection to a 3rd-party server. The font itself weighs ~40KB for the full, variable-weight font. Contributes to SRCH-445 |
||
|---|---|---|
| .. | ||
| _resources | ||
| admin | ||
| cli/references | ||
| dev | ||
| _generated.push.sh | ||
| BUILD.bazel | ||
| CHANGELOG.md | ||
| CODENOTIFY | ||
| dependency_decisions.yml | ||
| docsite.json | ||
| index.md | ||
| KNOWN-ISSUES.md | ||
| serve.sh | ||
| sidebar.md | ||
| test.sh | ||