a lightweight, interval-based utility to combat digital strain through "Ma" (intentional pauses) for the eyes and body.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(ui): add scaled down font size options

+3 -3
+2 -2
ui/settings.slint
··· 24 24 in property <bool> is-dark: false; 25 25 init => { 26 26 Theme.dark = root.is-dark; 27 - Theme.font-scale = root.text-size-mode == 2 ? 1.3 : root.text-size-mode == 1 ? 1.15 : 1.0; 27 + Theme.font-scale = root.text-size-mode == 4 ? 1.3 : root.text-size-mode == 3 ? 1.15 : root.text-size-mode == 2 ? 1.0 : root.text-size-mode == 1 ? 0.9 : 0.8; 28 28 } 29 29 changed is-dark => { Theme.dark = root.is-dark; } 30 30 changed text-size-mode => { 31 - Theme.font-scale = root.text-size-mode == 2 ? 1.3 : root.text-size-mode == 1 ? 1.15 : 1.0; 31 + Theme.font-scale = root.text-size-mode == 4 ? 1.3 : root.text-size-mode == 3 ? 1.15 : root.text-size-mode == 2 ? 1.0 : root.text-size-mode == 1 ? 0.9 : 0.8; 32 32 } 33 33 34 34 in-out property <bool> enforced-mode: false;
+1 -1
ui/views/rhythm_tab.slint
··· 257 257 } 258 258 259 259 ChipGroup { 260 - labels: ["Default", "Large", "Larger"]; 260 + labels: ["Smaller", "Small", "Default", "Large", "Larger"]; 261 261 selected-index <=> root.text-size-mode; 262 262 selection-changed(i) => { 263 263 root.text-size-mode-changed(i);