Add an icon size setting for the home grid and the app drawer
Slider (70-160%, step 5) with Small/Medium/Large presets and a live preview in the home menu. Icon, label and row height scale together; the home and drawer column counts reflow; the size is saved in localStorage; a corrupt saved value is logged and shown, not silently replaced. 100% is the original layout. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3070db4fb4
commit
23317b949a
22 files changed
+901
-51
No files matched your search
@@ -120,7 +120,9 @@ test "moving in the order" {
|
||||
|
||||
///|
|
||||
test "widget heights in px to rows" {
|
||||
assert_eq([40, 64, 100, 136, 208, 420].map(widget_rows), [1, 1, 2, 2, 3, 6])
|
||||
assert_eq([40, 64, 100, 136, 208, 420].map(fn(p) { widget_rows(p) }), [
|
||||
1, 1, 2, 2, 3, 6,
|
||||
])
|
||||
}
|
||||
|
||||
///|
|
||||
|
||||
Reference in new issue
Block a user