concrete/css/external-url
A rendered template's compiled stylesheet references an external URL, which the renderer cannot reach.
A rendered template's compiled stylesheet references an external URL, which the renderer cannot reach.
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
A rendered template — a deck, a flyer, a social image — is captured by a worker whose page reaches nothing but its own bundle. A font or an image fetched from another host does not fail loudly there: it falls back, and the artifact ships with the wrong typeface at the wrong metrics. Styling for a rendered class therefore has one rule more than the website class has, and the gate reads the compiled stylesheet — the bytes that actually ship — rather than what you wrote.
Fix
Put the file in the workspace and reference it with a relative url(): it ships
content-hashed with the stylesheet. A web font becomes a local @font-face over a file
you have licensed; a background image becomes an asset beside the stylesheet.
Before and after
@import "tailwindcss";
@import url("https://fonts.googleapis.com/css2?family=Fraunces&display=swap");
.deck-title {
font-family: "Fraunces", serif;
}@import "tailwindcss";
@font-face {
font-family: "Fraunces";
src: url("./fonts/fraunces.woff2") format("woff2");
font-display: block;
}
.deck-title {
font-family: "Fraunces", serif;
}