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
5 lines
219 B
PHP
5 lines
219 B
PHP
<div class="shadow-2xs shadow-xs shadow-sm shadow-md">
|
|
<span class="shadow-lg shadow-xl shadow-2xl"></span>
|
|
<span class="shadow-elevation-1 shadow-elevation-3 shadow-elevation-5">M3's own are fine</span>
|
|
</div>
|