Skip to content

Commit 3bb498c

Browse files
dguidoclaude
andcommitted
Use system fonts for offline support
Remove Google Fonts dependency to ensure the web UI works completely offline. Uses high-quality system font stacks: - Mono: ui-monospace, SF Mono, Menlo, Consolas - Sans: system-ui, Segoe UI, Roboto, Helvetica Neue 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 94e830a commit 3bb498c

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

app/static/style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
--space-xl: 2rem;
4646
--space-2xl: 3rem;
4747

48-
/* Typography */
49-
--font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'Fira Code', monospace;
50-
--font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
48+
/* Typography - system fonts only for offline support */
49+
--font-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
50+
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
5151

5252
/* Transitions */
5353
--transition-fast: 150ms ease;

app/templates/base.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>{% block title %}Algo VPN{% endblock %}</title>
77

8-
<!-- Fonts: JetBrains Mono for headers, IBM Plex Sans for body -->
9-
<link rel="preconnect" href="https://fonts.googleapis.com">
10-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11-
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600&display=swap" rel="stylesheet">
12-
8+
<!-- All assets served locally for offline support -->
139
<link rel="stylesheet" href="/static/style.css">
1410
<script src="/static/htmx.min.js" defer></script>
1511
<script src="/static/htmx-sse.js" defer></script>

0 commit comments

Comments
 (0)