Repository navigation
v0.1.13 — the brightness slider actually does something
The brightness slider actually does something now
Picking a custom habit colour, the third slider was dead across most of its travel: you could only tell it apart at the very bottom, where it went grey, and at the very top. Everything in between produced the same colour.
The slider was never the problem. Every colour it produced was pushed into the app's legibility band — the range of contrast that keeps a habit's name readable on the dark background — and that push rebuilds an out-of-range colour from scratch at the edge of the band, ignoring the brightness you had set. So every position below the edge collapsed onto one colour.
Measured across the slider's 101 positions:
| before | after | |
|---|---|---|
| saturated red | 12 distinct colours | 101 |
| saturated blue | 13 | 95 |
| yellow | 31 | 84 |
| saturated green | 22 | 46 |
Now the slider moves through the band itself: one end is the darkest readable version of your colour, the other the lightest, and every position in between is a different colour. Nothing gets corrected after the fact — the colour is picked inside the readable range to begin with.
Hue and saturation were never affected and are unchanged. Existing habit colours are unchanged; there is no database migration in this release.
Verified before publishing
- 341 app unit tests, 57 domain tests, 0 failures
- 206 instrumented tests on an Android 12 (API 31) emulator, 206 on Android 17 (API 37), 0 failures
- Static analysis clean
- APK signed and version-checked:
versionCode 14,versionName 0.1.13