From 7e95b4a91b8d809e05c95870ce553f4d6728c51e Mon Sep 17 00:00:00 2001 From: Andreas Reinhold / reini Date: Tue, 15 Sep 2026 06:54:52 +0200 Subject: [PATCH] Retire BreakpointsTest's docblock reference to the deleted theme.css MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plan step 39 (part 5). Tailwind no longer clears its own breakpoint scale anywhere in the stack, so the guard's rationale changes from "a leftover sm: compiles to nothing" to "a browser drops the invalid class or wrong-width rule just as silently" — the scans themselves already worked over plain files and needed no change. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9 --- tests/Feature/BreakpointsTest.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/Feature/BreakpointsTest.php b/tests/Feature/BreakpointsTest.php index b34db9b5..ecc2865c 100644 --- a/tests/Feature/BreakpointsTest.php +++ b/tests/Feature/BreakpointsTest.php @@ -5,10 +5,12 @@ use Illuminate\Support\Facades\File; /** * Breakpoints are M3's window size classes and only those: compact below `medium`, then medium 600, * expanded 840, large 1200 and extra-large 1600 (docs/reference/m3/foundations.md § Layout, - * foundations-supplement.md § Breakpoints). Tailwind's own screens are cleared in - * resources/css/tokens/theme.css — `--breakpoint-*: initial` — so an `sm:` left behind compiles to - * nothing at all and the rule it carried silently disappears. These two scans are the guard: one - * for the utilities, one for the media queries a stylesheet or a script writes by hand. + * foundations-supplement.md § Breakpoints). Tailwind is gone from the whole stack (plan step 39), + * so a leftover `sm:` class or a media query at one of its screen widths no longer compiles to + * nothing — a browser just as silently ignores the invalid class or the wrong-width rule, so the + * mistake is exactly as easy to miss. These two scans are the guard: one for a Tailwind-shaped + * prefix (a habit, or an example pasted from elsewhere), one for the media queries a stylesheet or + * a script writes by hand. * * @return list */