mirror of
https://github.com/storytold/craft-anything.git
synced 2026-11-24 08:20:57 +01:00
* Claim sliding switches and a System theme (R2.9) * Slide two-way switches to the new choice, and add a System theme that follows the system (R2.9) widgets::segmented now draws its raised card once, at a place and width animated toward the selected segment, so Simple/Advanced, Studio/Studio Light, Clean room/Deep and the other switches slide instead of jumping. Theme gets a System choice, the new default for new settings: the app reads the system's light or dark appearance each frame (ctx.system_theme()) and draws Studio Light or Studio to match, dark when the system doesn't say. A saved Studio or Studio Light stays as it is. * Put back this PR's roadmap line, dropped by a merge of main (R2.9) A merge of main made in GitHub's conflict editor dropped the R2.9 line this PR ticks; it's back unchanged at the end of R2.9. * Test that the System theme follows the system's appearance frame by frame (R2.9) Review of #1234: only the resolver was tested. The smoke test now changes RawInput.system_theme Light, Dark, Light with System chosen and runs frames through CraftApp, checking the resolved theme and what was applied (visuals.dark_mode) each time; with Studio and Studio Light chosen the same changes leave the chosen theme in place.