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: its theme's
tokens, their references, the app layer passed to each style, and a page
stylesheet of the layer order, the reset, the tokens and the body defaults.
AppStyle.make is that preamble as a value.
Namespaces
Functions
make | The application's tokens, layer and page stylesheet: const { t, slots, stylesheet } = AppStyle.make({ theme: Theme.make({ … }) }), or AppStyle.make({}) on… |
Interfaces
AppStyleOptions | |
AppStyleThemesOptions | The options with a set of named themes in place of one: the root declares the initial theme, and each other is drawn where the Model names it (Themes.apply). |
Types