The Rule enum (Static, Pattern, Dynamic) only supports generating property: value CSS entries applied directly to the matched element. It cannot express rules requiring nested or child selectors (e.g. & > :not(:last-child)).
Blocked utilities
divide-* (divide-solid, divide-dashed, etc.) — requires & > :not(:last-child) { border-style: ... }
space-x-* / space-y-* — requires & > :not(:last-child) { margin-...: ... }
Proposed direction
Extend the Rule system to support rules with custom selectors wrapping the generated CSS entries — either via a new Rule variant or by extending CssEntries.
The
Ruleenum (Static,Pattern,Dynamic) only supports generatingproperty: valueCSS entries applied directly to the matched element. It cannot express rules requiring nested or child selectors (e.g.& > :not(:last-child)).Blocked utilities
divide-*(divide-solid,divide-dashed, etc.) — requires& > :not(:last-child) { border-style: ... }space-x-*/space-y-*— requires& > :not(:last-child) { margin-...: ... }Proposed direction
Extend the
Rulesystem to support rules with custom selectors wrapping the generated CSS entries — either via a newRulevariant or by extendingCssEntries.