feat(v3): add global font controls to SettingsTab

Add font family select (9 monospace fonts) and font size +/- stepper
(8-24px) to SettingsTab global settings. Both controls apply live
preview via CSS custom properties (--ui-font-family, --ui-font-size)
and persist to SQLite. Restructure global settings from inline rows
to 2-column grid with labels above controls. initTheme() now restores
saved font settings on startup.
This commit is contained in:
Hibryda 2026-03-07 23:02:55 +01:00
parent 1279981bf9
commit 47492aa637
4 changed files with 184 additions and 29 deletions

View file

@ -14,8 +14,8 @@ html, body {
overflow: hidden;
background: var(--bg-primary);
color: var(--text-primary);
font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
font-size: 13px;
font-family: var(--ui-font-family);
font-size: var(--ui-font-size);
line-height: 1.4;
-webkit-font-smoothing: antialiased;
}