Immutable design-system registry for declarative PaperForge documents.
A design system groups tokens, styles, visual components, shared layouts, and named themes. Themes may inherit from another theme and override only the values that differ.
Summary
Functions
Merges two libraries. Values from right take precedence.
Resolves a theme and its inheritance chain into a complete library.
Types
Functions
@spec component(t(), name(), definition()) :: t()
@spec layout(t(), name(), definition()) :: t()
Merges two libraries. Values from right take precedence.
Resolves a theme and its inheritance chain into a complete library.
@spec theme(t(), name(), definition()) :: t()