Skip to content

Commit c7100ab

Browse files
authored
v.1.7.4 - YourPC - Changed fonts system
Wired to utils.fonts font system (_HDR / _BODY / _MONO)
1 parent 8fa39ab commit c7100ab

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

ui/components/yourpc_page.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66
import os
77
import time
88

9+
# ── Typography ────────────────────────────────────────────────────────────────
10+
# Inter (loaded at startup via utils.fonts.load) → falls back to Segoe UI.
11+
# Segoe UI Semibold used for all headings.
12+
try:
13+
from utils.fonts import UI as _UIF, MONO as _MONOF
14+
except Exception:
15+
_UIF, _MONOF = "Segoe UI", "Consolas"
16+
_HDR = "Segoe UI Semibold" # section / card headings
17+
_BODY = _UIF # body text (Inter or Segoe UI)
18+
_MONO = _MONOF # numbers / values (Consolas)
19+
920
try:
1021
import psutil
1122
except ImportError:

0 commit comments

Comments
 (0)