Plan step 37: all.css replaces the two interim import lists with one entry for an application that wants everything — the foundation, every layout stylesheet and every component stylesheet, grouped under the same block comments components.css used, plus a Layout block. It also directly imports the three files nothing imported by name before (layout/spacing.css, layout/visibility.css, components/selection.css), so every file under components/ and layout/ is now one @import away. Every test that read a block of components.css or layout.css now reads the matching block of all.css through one shared helper (allCssBlock(), in tests/Pest.php so it loads for any test run) instead of repeating the same substr() search in each file. StylesheetsTest.php's shape, Tailwind-free and breakpoint checks, previously run twice (once for the foundation, once for the layout tree), now run once over the whole tree all.css reaches, since every component and layout stylesheet is plain CSS after step 36; a new test asserts all.css imports everything under components/ and layout/ exactly once. The Workbench imports all.css in place of layout.css and components.css. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9
17 lines
991 B
CSS
17 lines
991 B
CSS
/* The Workbench builds the package as an application would, with explicit sources so the plans
|
|
in docs/ are not scanned for class names. The layer statement puts the `material` layers above
|
|
Tailwind's preflight (`base`) and below its `components` and `utilities`: a rewritten component's
|
|
padding, margin and border would otherwise lose to preflight's `* { padding: 0 }`, which the
|
|
material reset already carries, while every utility still outranks the package. all.css brings
|
|
the foundation, every layout stylesheet and every component stylesheet in one import; tailwind.css
|
|
brings the theme and token utilities the showcase still writes as classes, without declaring the
|
|
tokens a second time. */
|
|
@layer theme, base, material, components, utilities;
|
|
@import '../../../resources/css/all.css';
|
|
@import 'tailwindcss' source(none);
|
|
@import '../../../resources/css/tailwind.css';
|
|
@import './material-scheme.css';
|
|
|
|
@source '../../../resources/views';
|
|
@source '../../../src';
|