# `AshUi.Verifiers.StylesheetCoverage`
[🔗](https://github.com/hyperbob-labs/ash_ui/blob/main/lib/ash_ui/verifiers/stylesheet_coverage.ex#L1)

Compile-time `[part=]` coverage over a document root's render closure
(DESIGN.md §9).

Every part emitted by a routed resource's view — including everything it
transitively `render()`s — must match a `[part=...]` rule in the resource's
effective stylesheets. The extractor is a comment- and string-aware SCANNER,
not a CSS engine: `[part="x"]`, `[part='x']`, and `[part=x]` are matched
literally.

Also enforced here:

- `@import` anywhere in a declared sheet is a compile error — the
  `stylesheets` list is the sole import order.
- Every declared sheet must exist as a readable file at compile time
  (paths resolve relative to the compiling project's root).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
