mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-10-04 06:15:09 +00:00
Replaces the hand-written Tailwind subset in app.css with a real, purged Tailwind build: scripts/build_css.py runs the pinned, SHA-256-checked standalone Tailwind CLI (no Node), the generated tailwind.css and plugin-frame.css are committed, and CI fails when they are stale. The Pi never builds anything. The login page (#683) now links tailwind.css too, and the load-order test covers every template that links app.css. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41 lines
1019 B
CSS
41 lines
1019 B
CSS
/*
|
|
* Input for static/v3/tailwind.css. Don't edit the output; edit this file or
|
|
* tailwind.config.js and run `python3 scripts/build_css.py`.
|
|
*
|
|
* Custom CSS belongs in static/v3/app.css, which loads after this file, so
|
|
* its rules win over utilities of equal specificity.
|
|
*/
|
|
|
|
@tailwind base;
|
|
|
|
@layer base {
|
|
/* The one piece of Tailwind's preflight the utilities depend on: border
|
|
utilities set only a width (`border`, `border-t`, `divide-y`), so every
|
|
element starts from zero width and a solid style. app.css sets the
|
|
default border colour. */
|
|
*,
|
|
::before,
|
|
::after {
|
|
border-width: 0;
|
|
border-style: solid;
|
|
}
|
|
|
|
/* The reset above would erase these; keep them visible. */
|
|
hr {
|
|
height: 0;
|
|
color: inherit;
|
|
border-top-width: 1px;
|
|
}
|
|
|
|
:where(
|
|
input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"], [type="hidden"]),
|
|
select,
|
|
textarea
|
|
) {
|
|
border-width: 1px;
|
|
}
|
|
}
|
|
|
|
@tailwind components;
|
|
@tailwind utilities;
|