concrete/css/tailwind-import
The CSS import graph of template.ts carries no `@import "tailwindcss"`, or more than one.
The CSS import graph of template.ts carries no @import "tailwindcss", or more than one.
Graded by the stylesheet stage of concrete check, in the tree venue. A violation reports this id and the file it failed at — see every rule and concrete check.
Reason
The template's stylesheet is the CSS import graph of template.ts, compiled exactly as
the build compiles it — styling has no second entry point and no
config file to discover one. Tailwind is pulled into that graph by a single
@import "tailwindcss", which is also what the theme and the preflight ride on: with none,
every utility in every section compiles to nothing; with two, the preflight and the theme
are emitted twice and later rules quietly win over earlier ones.
Fix
Import Tailwind once, at the top of the first stylesheet template.ts imports. A
section-local stylesheet imported further down the graph does not need its own — the
utilities it uses are compiled from one place.
Before and after
/* globals.css — the entry stylesheet, with Tailwind imported here … */
@import "tailwindcss";
@theme {
--color-ink: oklch(0.21 0.03 265);
}
/* … and again from a section stylesheet the graph reaches. */
@import "./sections/hero.css";/* globals.css */
@import "tailwindcss";
@theme {
--color-ink: oklch(0.21 0.03 265);
}
@import "./sections/hero.css";concrete/relations/mirror-type
A slot mirroring another slot is not its upstream's kind: a value of another value kind, a row of another `from` table, or a list of another element.
concrete/css/external-url
A rendered template's compiled stylesheet references an external URL, which the renderer cannot reach.
