mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-22 06:56:35 +00:00
d18077d171
Two on the journal. The phone's Dawarich button floated a hard-coded 128px over the dock, which is short of the rail underneath it: a day scrubber over a row of covers, and a cover grows from 152 to 180px when it becomes the active one. The button sat on the cards. It now clears the rail's measured height, observed rather than read once, because that height changes with every swipe. No rail, as on an empty journal, means no offset. The settings dialog drew its four switches by hand in emerald and zinc, with a white knob. In dark mode that is white on near-white: the screenshot is three pills where neither the state nor the knob can be made out. They are the shared `ToggleSwitch` now, which is the component every other switch in the app uses and which solved this exact problem with `--accent-text` on the knob. The row is no longer one big button, since a button cannot hold another: text left, switch right, the layout the settings screens use.