Write the installation docs Tailwind-free
Plan step 39 (part 6). README's Requirements, Installation and Stylesheet-and-script sections drop Tailwind CSS 4, the second Vite entry, @source and the Tailwind-replaces-utilities framing; the plain CSS entry keeps the layer statement (matching every package stylesheet), and the Layout example's <body> loses classes foundation/base.css already applies globally (surface, on-surface, the brand typeface) since Tailwind is no longer there to write them. UPGRADE.md §6 gets the same Tailwind-free setup in place of the interim two-entry note step 37 left. The development skill's install snippet was already Tailwind-free; its one stale paragraph describing a second Tailwind entry is deleted (fixed with the build in the "Delete Tailwind's half" commit). DesignGuard's own Tailwind-detection docs stay: applications can still carry leftover Tailwind classes for the guard to catch, which is unrelated to the build. 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
7e95b4a91b
commit
513e344912
+11
-8
@@ -124,15 +124,18 @@ over a colour, use the role directly.
|
||||
`heights` or `snap` is set; without stops it behaves as before.
|
||||
- A chip set with `scroll` shows a scroll button over each overflowing edge on fine pointers.
|
||||
|
||||
### 6. `material.css` is gone
|
||||
### 6. `material.css` is gone, and so is Tailwind
|
||||
|
||||
The 1.x single-import shortcut no longer exists. The package's CSS is plain now and goes in an
|
||||
entry without Tailwind: `resources/css/all.css` for everything, or `foundation.css` first and then
|
||||
the stylesheet of each component the views render. An application whose views still write Tailwind
|
||||
classes builds Tailwind and `tailwind.css` in a second entry, never beside the package's imports,
|
||||
since `@tailwindcss/vite` would repeat every shared stylesheet; both entries open with
|
||||
`@layer properties, theme, base, material, components, utilities;` (see Installation in
|
||||
`README.md`).
|
||||
The 1.x single-import shortcut no longer exists, and Tailwind has left the whole stack — the
|
||||
package, its showcase, error pages and Workbench build carry none, and an application drops it
|
||||
too. The package's CSS is plain, no build step of its own, in one entry:
|
||||
`resources/css/all.css` for everything, or `foundation.css` first and then the stylesheet of each
|
||||
component the views render, opening with the layer statement every package stylesheet does
|
||||
(see Installation in `README.md`). An application's views write no utility layer of their own
|
||||
either: layout components (`<x-scaffold>`, `<x-pane>`, `<x-stack>`, `<x-row>`, `<x-grid>`, the
|
||||
canonical layouts) take M3's spacing tokens and breakpoints as props, a small set of `md-type-*`
|
||||
and `md-ink-*` classes covers text on plain elements, and `--md-sys-*` custom properties serve the
|
||||
rest of an application's own stylesheet.
|
||||
|
||||
### 7. New in 2.0.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user