cornerSmoothing
How far a rounded corner departs from a circular arc toward a squircle.
Path
…elements.<element>.styles.cornerSmoothing
Elements Supported
component · container · ellipse · polygon · rectangle · slot · star · vector
Value
TokenReference
A design token, written as a $token path plus a $type, as in { $token: Color/On surface, $type: color }. The consuming platform resolves it to a value.
UnitInterval (default: 0)
A number on the mathematical unit interval [0, 1], inclusive at both ends.
0.61
null
Themes
A TokenReference written here resolves under the theme in force on this element — the one it selects in themes, or the nearest ancestor’s. The same token path yields a different value under a different theme.
Platform bindings
Figma
Disposition: bound · Realised by: CornerStyle.applySmoothing
Skipped on TEXT nodes.
CSS
Disposition: unsupported · Realised by: —
Not emitted, and nothing attempts a substitute. CSS has no squircle primitive; a clip-path or mask approximation would change the element’s box rather than its corner, so none is offered.
Decisions
- ADR-010 — Sides and Corners Composite Types
- ADR-113 — Style defaults belong to the schema
- ADR-121 — A unit-interval style type for
opacityandcornerSmoothing
Rules
| Rule | Statement |
|---|---|
| DSPEC-44 | Every property of Styles declares a default, and its value validates against that property’s own schema |
| DSPEC-45 | A declared default is a literal, never a TokenReference, PropBinding or Conditional |
Source
| Format | File |
|---|---|
| JSON Schema | packages/schema/schema/styles.schema.json |
| TypeScript | packages/schema/types/Styles.ts |
| Specification | §4.1a, §11 |