Text size setting for path bar + file list (Compact/Default/Large)

Segmented row in the options popover; applied via data-text on <html> driving
CSS variables (--list-font / --list-meta-font / --path-font), persisted in
settings.json like theme and speed unit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Jokin
2026-07-11 17:30:12 +02:00
co-authored by Claude Fable 5
parent 6048d5c814
commit ff62c07f15
5 changed files with 70 additions and 7 deletions
+17
View File
@@ -100,6 +100,23 @@
--radius-lg: var(--radius);
}
/* Text-size setting for the path bar + file list (data-text set by SettingsService). */
:root {
--list-font: 13px;
--list-meta-font: 12px;
--path-font: 12px;
}
:root[data-text='compact'] {
--list-font: 12px;
--list-meta-font: 11px;
--path-font: 11px;
}
:root[data-text='large'] {
--list-font: 14px;
--list-meta-font: 13px;
--path-font: 13px;
}
html,
body {
height: 100%;