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

allEvery default except reset, which belongs in its own layer.
bodyThe page's font, color, background, and color scheme.
codeInline code and code blocks on the subtle surface.
controlsText inputs, selects, textareas, and buttons: one radius, one border, one focus.
headingsA 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:…
linksLink color, hover, and a visible focus ring.
resetBox model, margins, media, form-control fonts: what every page assumes.