Serves: #18107, which is a sweep by construction — "one batch at a time". Each batch needs a close-target of its own so the parent stays open until the last one lands.
Scope
Three families, six sheets, seven variables per theme:
code/LivePreview.scss 1 var
toolbar/Base.scss 2 vars
tree/List.scss 4 vars
× theme-neo-dark and theme-neo-light, whose file sets are identical.
Why these three and not the biggest
apps is the largest family at 24 sheets and is exactly where a projecting consumer contests weight — the case the sweep exists for. It wants the measurement recipe proven rather than invented on it. These three are the smallest coherent set that still exercises the full recipe: two themes, a var-only sheet, and sheets that reference semantic tokens.
The change
:root .neo-theme-neo-dark { … }
:where(.neo-theme-neo-dark) { … } An application projecting into an engine token family declares at :root .neo-theme-neo-* — the same (0,2,0) — so an equal-weight engine declaration won ties by load order, and the engine appends its per-class sheets after the app's own. At :where() the projection wins by weight instead.
AC
- AC-1 All six sheets declare at
:where(.neo-theme-neo-*).
- AC-2 Before/after emitted CSS is diffed, with both builds mtime-asserted and built
-e dev so the compared tree is the one development examples load. The diff must be selector-only — any declaration delta means the conversion changed more than weight and the batch fails.
- AC-3 #18107's parent stays open. This batch does not touch the guide clause AC-3 of that ticket governs.
- AC-4 Sheets in these families that do not convert are named with the reason weight is not theirs to declare — not merely that they are partials.
Baseline this batch starts from
Measured at dev@335b2ca43a and recorded on #18107: per theme, 4 sheets already at :where(), 103 at :root-scope, 2 with no selector of their own. Identical file sets across the two neo themes, so every batch is a symmetric pair.
Revalidation trigger
If the emitted-CSS diff shows any declaration delta, the premise that this is a weight-only change is false for these families and the batch is withdrawn rather than argued.
Serves:#18107, which is a sweep by construction — "one batch at a time". Each batch needs a close-target of its own so the parent stays open until the last one lands.Scope
Three families, six sheets, seven variables per theme:
×
theme-neo-darkandtheme-neo-light, whose file sets are identical.Why these three and not the biggest
appsis the largest family at 24 sheets and is exactly where a projecting consumer contests weight — the case the sweep exists for. It wants the measurement recipe proven rather than invented on it. These three are the smallest coherent set that still exercises the full recipe: two themes, a var-only sheet, and sheets that reference semantic tokens.The change
:root .neo-theme-neo-dark { … } // (0,2,0) :where(.neo-theme-neo-dark) { … } // (0,0,0)An application projecting into an engine token family declares at
:root .neo-theme-neo-*— the same (0,2,0) — so an equal-weight engine declaration won ties by load order, and the engine appends its per-class sheets after the app's own. At:where()the projection wins by weight instead.AC
:where(.neo-theme-neo-*).-e devso the compared tree is the one development examples load. The diff must be selector-only — any declaration delta means the conversion changed more than weight and the batch fails.Baseline this batch starts from
Measured at
dev@335b2ca43aand recorded on #18107: per theme, 4 sheets already at:where(), 103 at:root-scope, 2 with no selector of their own. Identical file sets across the two neo themes, so every batch is a symmetric pair.Revalidation trigger
If the emitted-CSS diff shows any declaration delta, the premise that this is a weight-only change is false for these families and the batch is withdrawn rather than argued.