clean up dead jetbrains mono wiring in replay-ui (#70)

* fix(replay-ui): drop @font-face rules for fonts that were never shipped

* fix(replay-ui): drop unresolvable JetBrains Mono from --font-mono stack

* chore(replay-ui): remove vestigial empty public/fonts dir
This commit is contained in:
pj authored and GitHub committed 2026-08-12 23:18:03 +05:30
1 parent 76dce1a75e
commit 1f71e052d7
4 files changed
+2 -26

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ install: $(SIDECAR_EMBED) $(COMPANION_EMBED) $(RUNNER_EMBED) web-build
web-build: web-build:
cd replay-ui && bun install --frozen-lockfile && bun run build cd replay-ui && bun install --frozen-lockfile && bun run build
mkdir -p $(REPLAY_DIST) mkdir -p $(REPLAY_DIST)
rm -rf $(REPLAY_DIST)/assets $(REPLAY_DIST)/fonts rm -rf $(REPLAY_DIST)/assets
cp -R $(WEB_DIST)/. $(REPLAY_DIST)/ cp -R $(WEB_DIST)/. $(REPLAY_DIST)/
web-dev: web-dev:
View File
Whitespace-only changes.
+1 -1
View File
@@ -8,7 +8,7 @@
--text-muted: #6b6b6b; --text-muted: #6b6b6b;
--accent-violation: #d32f2f; --accent-violation: #d32f2f;
--accent-positive: #2e7d32; --accent-positive: #2e7d32;
--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
} }
:root[data-theme="dark"], :root[data-theme="dark"],
-24
View File
@@ -1,27 +1,3 @@
@font-face {
font-family: "JetBrains Mono";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("/fonts/JetBrainsMono-Regular.woff2") format("woff2");
}
@font-face {
font-family: "JetBrains Mono";
font-style: normal;
font-weight: 500;
font-display: swap;
src: url("/fonts/JetBrainsMono-Medium.woff2") format("woff2");
}
@font-face {
font-family: "JetBrains Mono";
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("/fonts/JetBrainsMono-Bold.woff2") format("woff2");
}
body { body {
font-family: var(--font-mono); font-family: var(--font-mono);
font-size: 13px; font-size: 13px;