Mixins / API
foldkit-mixins/defaults
foldkit-mixins/defaults: the baseline plain HTML gets before any slot is
styled. Every member is element-selector CSS over --fk-* tokens with a
fallback, so it re-themes with the tokens and still reads without them.
The pieces are unlayered; a page puts reset in reset and the rest in
defaults with Layers.standard.in. Selectors use :where() so any
class rule beats them.
Namespaces
Values
all | Every default except reset, which belongs in its own layer. |
body | The page's font, color, background, and color scheme. |
code | Inline code and code blocks on the subtle surface. |
controls | Text inputs, selects, textareas, and buttons: one radius, one border, one focus. |
headings | A type hierarchy for h1 to h6 from the size scale, in text-overt. A container drawn in a color of its own, such as a band on the accent, sets --fk-heading:… |
links | Link color, hover, and a visible focus ring. |
reset | Box model, margins, media, form-control fonts: what every page assumes. |