Name the M3 replacement for every value the theme cleared

DesignGuard gains checks for Tailwind's breakpoint prefixes, for the radius,
shadow, type-size, weight, leading, tracking, easing and duration scales
tokens/theme.css clears, and for a colour written as a value; each violation
carries path:line, the token and the M3 utility to use instead. forbidAbsolutes()
and forbidOpacityInk() are opt-in like forbidColours(), because the package's own
disabled styles are drawn with M3's 38 %/12 % opacities. A fixture and a test per
pattern and per hint; the package's own views are asserted against every check
but the breakpoint one, which plan step 15 migrates.
Plan: docs/plans/material-3-alignment.md, step 9 (core C4a, C13).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9
This commit is contained in:
Andreas Reinhold / reini
2026-09-14 05:32:25 +02:00
co-authored by Claude Opus 5
parent 25ff5a8d71
commit faf5132c7a
8 changed files with 421 additions and 8 deletions
@@ -0,0 +1,4 @@
<div class="ease-linear ease-in ease-out ease-in-out">
<span class="duration-75 duration-300 duration-1000"></span>
<span class="ease-standard ease-spatial-fast ease-effects-default duration-(--md-sys-motion-effects-fast-duration)">M3's own are fine</span>
</div>