Mixins / foldkit-mixins/theme
raisedSurface
function · packages/mixins/src/theme/raise.ts:55
function raisedSurface(): stringThe background of a raised element at its level, from the palette's base
surface. In a light scheme the first two steps go toward white and the rest
stay there, so shadow alone carries elevation; in a dark scheme each level
is an even step lighter (knob.raise-dark). Written as an expression, not
a token, because the level is the element's own and a token resolves at
:root. In OKLab, so the base keeps its tint whatever space it was written
in: Chrome 157 reads no hue from a color of little chroma that is not OKLCH.