Remove the design guard's maryUI and daisyUI checks

Plan step 41 review (the user, 2026-09-15): SealShare and ReStride have
both left maryUI and daisyUI, and no application of 2.0.0 carries either,
so the <x-mary-*> tag check, the daisyUI class and colour lists and the
Tailwind look-alike exclusions they needed go, with their fixture lines
and the mentions in the header, README and development skill.

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-15 08:28:35 +02:00
co-authored by Claude Opus 5
parent 6147221b89
commit c047fefd8b
5 changed files with 22 additions and 63 deletions
+8 -12
View File
@@ -23,16 +23,12 @@ it('finds what compiles to nothing', function () {
expect(fixtureRelative($violations))->toBe([
'app/Status.php:14 colour the theme does not declare `text-red-500`',
'views/page.blade.php:3 daisyUI class `card`',
"views/page.blade.php:3 Tailwind spacing utility `p-4` compiles to nothing — use a layout component's `gap`/`padding` prop (`<x-stack gap>`, `<x-surface padding>`), or `var(--md-sys-measurement-space*)` in your own CSS",
'views/page.blade.php:6 daisyUI class `btn-primary`',
'views/page.blade.php:9 Tailwind sizing utility `size-4` compiles to nothing — M3 keeps no size scale; write the literal length in your own CSS, or use `<x-pane width>`/`<x-grid min-item>` where it fits',
'views/page.blade.php:4 unknown Material Symbol `o-home`',
'views/page.blade.php:5 unknown Material Symbol `not_a_symbol`',
'views/page.blade.php:9 Blade directive `@class` inside a component tag, where it does not compile',
'views/page.blade.php:2 maryUI component `<x-mary-button`',
'views/page.blade.php:3 colour the theme does not declare `bg-base-200`',
'views/page.blade.php:6 colour the theme does not declare `text-red-600`',
"views/page.blade.php:2 Tailwind spacing utility `p-4` compiles to nothing — use a layout component's `gap`/`padding` prop (`<x-stack gap>`, `<x-surface padding>`), or `var(--md-sys-measurement-space*)` in your own CSS",
'views/page.blade.php:8 Tailwind sizing utility `size-4` compiles to nothing — M3 keeps no size scale; write the literal length in your own CSS, or use `<x-pane width>`/`<x-grid min-item>` where it fits',
'views/page.blade.php:3 unknown Material Symbol `o-home`',
'views/page.blade.php:4 unknown Material Symbol `not_a_symbol`',
'views/page.blade.php:8 Blade directive `@class` inside a component tag, where it does not compile',
'views/page.blade.php:5 colour the theme does not declare `text-red-600`',
]);
});
@@ -299,7 +295,7 @@ it('bans the roles an application leaves out', function () {
->forbidColours(['tertiary'])
->violations());
expect($violations)->toContain('views/page.blade.php:7 colour the theme does not declare `text-tertiary`');
expect($violations)->toContain('views/page.blade.php:6 colour the theme does not declare `text-tertiary`');
});
it('bans any further pattern', function () {
@@ -307,7 +303,7 @@ it('bans any further pattern', function () {
->forbid('/\bfocus-ring\b/', 'a retired utility')
->violations());
expect($violations)->toContain('views/page.blade.php:7 a retired utility');
expect($violations)->toContain('views/page.blade.php:6 a retired utility');
});
it('names the missing package stylesheet and the exact @import line to add', function () {
@@ -1,10 +1,9 @@
{{-- <x-mary-button> and btn-primary in a comment are not violations --}}
<x-mary-button label="Old" />
<div class="card bg-base-200 p-4">
{{-- text-red-600 and <x-icon name="o-home" /> in a comment are not violations --}}
<div class="p-4">
<x-icon name="o-home" />
<x-button icon="calendar_month" icon-right="not_a_symbol" label="Fine" />
<span @class(['btn-primary' => $active, 'select-none'])>text-red-600</span>
<p class="text-tertiary table collapse link focus-ring">Tailwind's and ours</p>
<span>text-red-600</span>
<p class="text-tertiary focus-ring">Tailwind's and ours</p>
<x-icon :name="$dynamic" />
<x-icon name="home" @class(['size-4']) />
</div>