Mixins / foldkit-mixins/theme/runtime

applyTheme

function · packages/mixins/src/theme/runtime.ts:30

function applyTheme<Name extends string>(
  themes: ThemeNames<Name>,
  name: NoInfer<Name>,
): Effect.Effect<void>

Shows name on the root element, as a Command's effect: the initial theme removes the attribute, so the root's own declarations apply.