defaults, focusRing.color, typography.headings and each text style's family reference existing keys
no key contains whitespace
components only names known components, only sets props they have, and only uses existing keys
Returns the config unchanged with literal types preserved, so the library can derive
its prop types from it. Spread yarcl/defaults to extend the library defaults instead
of replacing them.
Declares a yarcl design system config.
Checks at compile time that:
lightanddarkvaluedefaults,focusRing.color,typography.headingsand each text style'sfamilyreference existing keyscomponentsonly names known components, only sets props they have, and only uses existing keysReturns the config unchanged with literal types preserved, so the library can derive its prop types from it. Spread
yarcl/defaultsto extend the library defaults instead of replacing them.