Speed unit
@@ -130,6 +148,7 @@ export class TabBar {
readonly isMacChrome = IS_MAC_CHROME;
readonly themes = THEMES;
readonly speedUnits = SPEED_UNITS;
+ readonly textSizes = TEXT_SIZES;
close(event: MouseEvent, id: number): void {
event.stopPropagation();
diff --git a/ui/src/styles.css b/ui/src/styles.css
index 637300f..2471c45 100644
--- a/ui/src/styles.css
+++ b/ui/src/styles.css
@@ -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%;