docs(android): M12 phase 2 as landed
The radii-and-shadow phase, shipped as Android-app#35. Seven notes, of which three are amendments to the spec rather than records of it. Section 5.4's elevation map is not a no-op and now says so, with section 2 and AC-1 amended to match. Material3's filled Card is Level0 and FeatureCard drew none of the shadow its own KDoc claimed, so the app has been flat since M5 - while the runic-gateway preset it was drawn from selects the "Default" shadow. The org lead chose to apply the map as written rather than rebase it on the flat baseline, because rebasing would have collapsed none/Soft/Default onto 0dp and left only Deep doing anything on the phone. The radius half is untouched by this and remains a provable no-op. Section 5.4's exact-string match is corrected to a nearest-blur match. The fantasy preset's own --shadow-card is not one of SHADOW_OPTIONS' four values, because resolveThemeTokens copies a preset's tokens verbatim and they never pass through the admin form's dropdown. Section 5.2 gains the rule the pill needed: CircleShape is a percentage, so it has no shipped dp for a ratio to scale and the resolved px is taken as dp below the 500px floor. It is a literal because there is no app scale to preserve, not as an exception to the ratio rule. Also recorded: why all 24 Card( call sites became ShardCard( (Material takes elevation as a default argument, not from the theme), that --radius-pill reaches only StatusPill, and that Shapes - unlike ColorScheme - does implement equals, so the structural no-op proof is one assertion rather than a reflection walk. PLAN.md 9's M12 entry records phase 2 landed. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1045,7 +1045,12 @@ push, and Play (M6–M8) follow the designed app.
|
||||
two — see THEMING_AND_NAV.md "Phase 0 as landed". **Phase 1 landed 2026-08-08**
|
||||
(Android-app#34 / docs#113): the fifteen color tokens now resolve into a `ShardPalette` that
|
||||
feeds both the Material scheme and a `LocalShardPalette`, and the no-op invariant is a test —
|
||||
the shipped palette reproduces the pre-M12 `ColorScheme` role for role.
|
||||
the shipped palette reproduces the pre-M12 `ColorScheme` role for role. **Phase 2 landed
|
||||
2026-08-08** (Android-app#35 / docs#114): the four radii scale the app's own dp by their ratio
|
||||
to the `runic-gateway` baseline, and `--shadow-card` maps onto card elevation. The shadow is
|
||||
the milestone's **one deliberate change to an untouched instance** — the app has been flat
|
||||
since M5 while the preset it was drawn from selects a shadow — and is why every `Card(` became
|
||||
a `ShardCard(`: Material takes elevation as a default argument, not from the theme.
|
||||
|
||||
### Deferred (not a milestone)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user