Major Changes
- ef14fc5: Remove the
syntaxconfig option and thetemplate-literalauthoring mode. Dropsyntaxfrom your config
and the--syntaxflag frompanda init, and write styles with the object syntax:css({ color: 'red' })instead of
css`color: red`.
Minor Changes
-
dea1ef5: Add a
keyframes()factory tostyled-system/cssfor inline, component-local animations.keyframes({ from: {...}, to: {...} })returns akf_…animation name and emits its@keyframesblock, tree-shaken
to what a build actually references throughanimationNameor theanimationshorthand. Object form only — a bare
animationName: 'spin'already resolves atheme.keyframesentry, so there is no named form. Shared, design-system
animations still belong intheme.keyframes. -
c58d45d: Add a
positionTry()factory tostyled-system/cssand atheme.positionTrykey for named CSS
anchor-positioning fallbacks, and removeglobalPositionTry.positionTry('bottom')orpositionTry({ top: 'anchor(bottom)' })returns the dashed-ident for
positionTryFallbacksand emits the@position-tryblock, tree-shaken to what a build uses. MoveglobalPositionTry
entries totheme.positionTryand reference them through the factory. A block that must emit unconditionally with a
hand-authored name belongs in a plain.cssfile.