Mixins / foldkit-mixins/theme

chooseScheme

function · packages/mixins/src/theme/scheme.ts:40

function chooseScheme(scheme: Scheme, key?: string): Effect.Effect<void>

Applies scheme to the root element and keeps it under key for the next visit, as a Command's effect. 'system' removes both. Storage that throws still applies the scheme to this page.