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
+3
View File
@@ -44,11 +44,14 @@ export interface ConnectionsFile {
export interface AppSettings {
theme: "system" | "light" | "dark";
speedUnit: "MBps" | "Mbps";
/** Font size of the path bar and file list. */
textSize: "compact" | "default" | "large";
}
export const DEFAULT_SETTINGS: AppSettings = {
theme: "system",
speedUnit: "MBps",
textSize: "default",
};
export type TransferState =