Embedded analytics SDK API
    Preparing search index...

    Interface MetabaseEmbeddingThemeV2

    Version 2 theme configuration for embedded Metabase components.

    interface MetabaseEmbeddingThemeV2 {
        chartColors?: ChartColorV2[];
        colors?: Partial<
            Record<
                | "filter"
                | "info"
                | "warning"
                | "success"
                | "error"
                | "shadow"
                | "accent0-light"
                | "accent0-dark"
                | "accent1-light"
                | "accent1-dark"
                | "accent2-light"
                | "accent2-dark"
                | "accent3-light"
                | "accent3-dark"
                | "accent4-light"
                | "accent4-dark"
                | "accent5-light"
                | "accent5-dark"
                | "accent6-light"
                | "accent6-dark"
                | "accent7-light"
                | "accent7-dark"
                | "accent-gray"
                | "accent-gray-light"
                | "accent-gray-dark"
                | "background-brand"
                | "background-disabled"
                | "background-disabled-inverse"
                | "background-error"
                | "background-error-secondary"
                | "background-highlight"
                | "background-hover"
                | "background-info"
                | "background-primary"
                | "background-primary-inverse"
                | "background-secondary"
                | "background-secondary-inverse"
                | "background-selected"
                | "background-success"
                | "background-tertiary"
                | "background-tertiary-inverse"
                | "background-warning"
                | "border"
                | "border-brand"
                | "border-strong"
                | "border-subtle"
                | "brand"
                | "brand-hover"
                | "bronze"
                | "copper"
                | "danger"
                | "focus"
                | "gold"
                | "icon-brand"
                | "icon-disabled"
                | "icon-primary"
                | "icon-secondary"
                | "illustration-brand-secondary"
                | "illustration-brand-tertiary"
                | "overlay"
                | "saturated-blue"
                | "saturated-green"
                | "saturated-purple"
                | "saturated-red"
                | "saturated-yellow"
                | "silver"
                | "success-secondary"
                | "summarize"
                | "switch-off"
                | "syntax-parameters"
                | "syntax-parameters-active"
                | "text-brand"
                | "text-hover"
                | "text-primary"
                | "text-primary-inverse"
                | "text-secondary"
                | "text-secondary-inverse"
                | "text-secondary-opaque"
                | "text-selected"
                | "text-tertiary"
                | "text-tertiary-inverse"
                | "tooltip-background"
                | "tooltip-background-focused"
                | "tooltip-text"
                | "tooltip-text-secondary"
                | "white",
                string,
            >,
        >;
        version: 2;
    }
    Index

    Properties

    chartColors?: ChartColorV2[]

    Chart colors overrides. Each color can be a string or an object with base/tint/shade.

    colors?: Partial<
        Record<
            | "filter"
            | "info"
            | "warning"
            | "success"
            | "error"
            | "shadow"
            | "accent0-light"
            | "accent0-dark"
            | "accent1-light"
            | "accent1-dark"
            | "accent2-light"
            | "accent2-dark"
            | "accent3-light"
            | "accent3-dark"
            | "accent4-light"
            | "accent4-dark"
            | "accent5-light"
            | "accent5-dark"
            | "accent6-light"
            | "accent6-dark"
            | "accent7-light"
            | "accent7-dark"
            | "accent-gray"
            | "accent-gray-light"
            | "accent-gray-dark"
            | "background-brand"
            | "background-disabled"
            | "background-disabled-inverse"
            | "background-error"
            | "background-error-secondary"
            | "background-highlight"
            | "background-hover"
            | "background-info"
            | "background-primary"
            | "background-primary-inverse"
            | "background-secondary"
            | "background-secondary-inverse"
            | "background-selected"
            | "background-success"
            | "background-tertiary"
            | "background-tertiary-inverse"
            | "background-warning"
            | "border"
            | "border-brand"
            | "border-strong"
            | "border-subtle"
            | "brand"
            | "brand-hover"
            | "bronze"
            | "copper"
            | "danger"
            | "focus"
            | "gold"
            | "icon-brand"
            | "icon-disabled"
            | "icon-primary"
            | "icon-secondary"
            | "illustration-brand-secondary"
            | "illustration-brand-tertiary"
            | "overlay"
            | "saturated-blue"
            | "saturated-green"
            | "saturated-purple"
            | "saturated-red"
            | "saturated-yellow"
            | "silver"
            | "success-secondary"
            | "summarize"
            | "switch-off"
            | "syntax-parameters"
            | "syntax-parameters-active"
            | "text-brand"
            | "text-hover"
            | "text-primary"
            | "text-primary-inverse"
            | "text-secondary"
            | "text-secondary-inverse"
            | "text-secondary-opaque"
            | "text-selected"
            | "text-tertiary"
            | "text-tertiary-inverse"
            | "tooltip-background"
            | "tooltip-background-focused"
            | "tooltip-text"
            | "tooltip-text-secondary"
            | "white",
            string,
        >,
    >

    Color overrides.

    version: 2

    Theme version must be 2 for version 2 themes.