(theme: { name: string; variables: { name: string; dark?: string | undefined; base?: string | undefined; summary?: string | undefined; }[]; summary?: string | undefined; scheme?: "dark" | "light" | "dual" | undefined; }): ResolvedTheme import {resolve_theme_stance} from '@fuzdev/fuz_css/theme_stance.js'; Resolves a theme for rendering: a single-scheme theme gets its stance
mirror beside it, a dual-scheme theme nothing. Safe to call on any theme,
and pure - the theme comes back as the same reference, never carrying the
derived data, so persisting resolved.theme persists only what was
authored.
theme
the theme to resolve
returns
ResolvedTheme the theme with its derived data, for render_theme_style(r.theme, r)