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

@ -43,6 +43,10 @@
--warning: var(--ctp-yellow);
--error: var(--ctp-red);
/* Typography */
--ui-font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
--ui-font-size: 13px;
/* Layout */
--sidebar-width: 260px;
--right-panel-width: 380px;