Rewrite the design guard's family table for a Tailwind-free application
Plan step 41(i): every Tailwind utility or variant in a Tailwind-free application's views now gets a 2.0.0 hint instead of the old Tailwind-utility replacement (which no longer compiles either) -- a layout component and prop, an md-* class, or a var(--md-sys-*) token. New families cover flex/grid/gap, spacing, sizing, display, text-layout and the M3 role utilities (text-on-surface-variant, border-outline-variant, bg-surface-*, bg-primary); the breakpoint and scale checks fold in with their hints rewritten the same way. A class the application's own stylesheets declare is exempt. literalClasses() now returns each class token unstripped of its variant prefix (`sm:`, `hover:`) so the new checks can see it; the daisyUI check strips it itself via the new withoutVariantPrefix() helper, as it always did internally before. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
7ec6960731
commit
08f2ae9d76
@@ -0,0 +1,3 @@
|
||||
<div class="p-4 px-2 mt-2 space-y-4">
|
||||
<span class="m-4 space-x-2"></span>
|
||||
</div>
|
||||
Reference in New Issue
Block a user