Trevixal API
    Preparing search index...

    Interface HTMLDocumentTheme

    The editor's theme, as an exported page has to carry it.

    interface HTMLDocumentTheme {
        preset?: string | null;
        scheme?: "light" | "dark";
        tokens?: Readonly<Record<string, string>>;
    }
    Index
    preset?: string | null

    The preset in force, if any; written to data-trevixal-preset.

    scheme?: "light" | "dark"

    The ground the palette sits on; written to data-trevixal-theme.

    tokens?: Readonly<Record<string, string>>

    Resolved token values keyed by name without the --tvx- prefix, e.g. { 'color-bg': '#2e3440' }.