Mixins / API

foldkit-mixins/app

foldkit-mixins/app: an application's style setup, fixed once. Every application on the standard layers writes the same preamble: a theme over Theme.tokens, its references, the app layer passed to each style, and a page stylesheet of the layer order, the reset, the tokens, the palette and the body defaults. AppStyle.make is that preamble as a value.

Namespaces

Functions

makeThe application's theme, layer and page stylesheet: const { t, slots, stylesheet } = AppStyle.make({ palette: Theme.oklch({ … }) }). Slot styles are no…

Interfaces

Types

AppStyleOptionsForA style's options with its layer fixed to the application's.