---
title: MetabaseEmbeddingThemeV2
layout: docs-api
redirect_from:
- /docs/latest/embedding/api/MetabaseEmbeddingThemeV2
---
MetabaseEmbeddingThemeV2 | Embedded analytics SDK API{% include docs/embedded-analytics-sdk-metadata.html %}Interface MetabaseEmbeddingThemeV2
interface MetabaseEmbeddingThemeV2 { chartColors?: ChartColorV2[]; colors?: Partial< Record< | "filter" | "info" | "warning" | "success" | "error" | "shadow" | "accent-gray" | "accent-gray-dark" | "accent-gray-light" | "accent0-dark" | "accent0-light" | "accent1-dark" | "accent1-light" | "accent2-dark" | "accent2-light" | "accent3-dark" | "accent3-light" | "accent4-dark" | "accent4-light" | "accent5-dark" | "accent5-light" | "accent6-dark" | "accent6-light" | "accent7-dark" | "accent7-light" | "background-brand" | "background-filter" | "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-success-secondary" | "background-tertiary" | "background-tertiary-inverse" | "background-warning" | "background-warning-secondary" | "border" | "border-strong" | "border-stronger" | "border-subtle" | "brand" | "brand-hover" | "danger" | "focus" | "gold" | "icon-brand" | "icon-brand-inverse" | "icon-disabled" | "icon-disabled-inverse" | "icon-primary" | "icon-primary-inverse" | "icon-secondary" | "icon-secondary-inverse" | "illustration-brand-secondary" | "illustration-brand-tertiary" | "overlay" | "saturated-blue" | "saturated-green" | "saturated-purple" | "saturated-red" | "saturated-yellow" | "success-secondary" | "summarize" | "syntax-parameters" | "syntax-parameters-active" | "text-hover" | "text-secondary-opaque" | "text-tertiary" | "text-tertiary-inverse" | "white" | "background_page-filter" | "background_page-highlighted" | "background_page-primary" | "background_page-primary-inverse" | "background_page-secondary" | "background_page-secondary-inverse" | "background_page-tertiary" | "background_page-tertiary-inverse" | "background_surface-brand-strong" | "background_surface-brand-strong-hover" | "background_surface-brand-strong-pressed" | "background_surface-brand-subtle" | "background_surface-brand-subtle-hover" | "background_surface-brand-subtle-pressed" | "background_surface-disabled" | "background_surface-disabled-inverse" | "background_surface-error" | "background_surface-error-subtle" | "background_surface-hover" | "background_surface-primary" | "background_surface-primary-hover" | "background_surface-primary-inverse" | "background_surface-primary-inverse-hover" | "background_surface-primary-inverse-pressed" | "background_surface-primary-pressed" | "background_surface-secondary" | "background_surface-secondary-hover" | "background_surface-secondary-inverse" | "background_surface-secondary-inverse-hover" | "background_surface-secondary-inverse-pressed" | "background_surface-secondary-pressed" | "background_surface-selected" | "background_surface-success" | "background_surface-warning" | "background_surface-warning-strong" | "border-brand" | "border-filter" | "border-highlight" | "border-neutral" | "border-neutral-strong" | "border-neutral-strongest" | "border-neutral-subtle" | "border-on_dark" | "button-label-on_dark-disabled" | "button-label-on_dark-primary" | "button-label-on_dark-secondary" | "button-on_dark-disabled" | "button-on_dark-primary-default" | "button-on_dark-primary-hover" | "button-on_dark-primary-pressed" | "button-on_dark-secondary-default" | "button-on_dark-secondary-hover" | "button-on_dark-secondary-pressed" | "core-blue-saturated" | "core-brand" | "core-brand-hover" | "core-filter" | "core-gold" | "core-green-saturated" | "core-info" | "core-purple-saturated" | "core-red-saturated" | "core-summarize" | "core-white" | "core-white_constant" | "core-yellow-saturated" | "feedback-negative" | "feedback-negative-strong" | "feedback-neutral-strong" | "feedback-positive" | "feedback-positive-selected" | "feedback-positive-strong" | "feedback-warning" | "feedback-warning-strong" | "illustration-secondary-brand" | "illustration-tertiary-brand" | "input-background" | "input-focus" | "modal-overlay" | "shadow-default" | "switch-checked" | "switch-disabled" | "switch-unchecked" | "switch_thumb-disabled" | "text-brand" | "text-brand-hover" | "text-brand-strong" | "text-brand-strong-hover" | "text-disabled" | "text-disabled-inverse" | "text-filter" | "text-primary" | "text-primary-inverse" | "text-secondary" | "text-secondary-inverse" | "text-selected" | "text-syntax-parameter" | "text-syntax-parameter-active" | "tooltip-background" | "tooltip-background-focused" | "tooltip-text" | "tooltip-text-secondary", string, >, >; version: 2;} Properties
Optionalcolors
colors?: Partial< Record< | "filter" | "info" | "warning" | "success" | "error" | "shadow" | "accent-gray" | "accent-gray-dark" | "accent-gray-light" | "accent0-dark" | "accent0-light" | "accent1-dark" | "accent1-light" | "accent2-dark" | "accent2-light" | "accent3-dark" | "accent3-light" | "accent4-dark" | "accent4-light" | "accent5-dark" | "accent5-light" | "accent6-dark" | "accent6-light" | "accent7-dark" | "accent7-light" | "background-brand" | "background-filter" | "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-success-secondary" | "background-tertiary" | "background-tertiary-inverse" | "background-warning" | "background-warning-secondary" | "border" | "border-strong" | "border-stronger" | "border-subtle" | "brand" | "brand-hover" | "danger" | "focus" | "gold" | "icon-brand" | "icon-brand-inverse" | "icon-disabled" | "icon-disabled-inverse" | "icon-primary" | "icon-primary-inverse" | "icon-secondary" | "icon-secondary-inverse" | "illustration-brand-secondary" | "illustration-brand-tertiary" | "overlay" | "saturated-blue" | "saturated-green" | "saturated-purple" | "saturated-red" | "saturated-yellow" | "success-secondary" | "summarize" | "syntax-parameters" | "syntax-parameters-active" | "text-hover" | "text-secondary-opaque" | "text-tertiary" | "text-tertiary-inverse" | "white" | "background_page-filter" | "background_page-highlighted" | "background_page-primary" | "background_page-primary-inverse" | "background_page-secondary" | "background_page-secondary-inverse" | "background_page-tertiary" | "background_page-tertiary-inverse" | "background_surface-brand-strong" | "background_surface-brand-strong-hover" | "background_surface-brand-strong-pressed" | "background_surface-brand-subtle" | "background_surface-brand-subtle-hover" | "background_surface-brand-subtle-pressed" | "background_surface-disabled" | "background_surface-disabled-inverse" | "background_surface-error" | "background_surface-error-subtle" | "background_surface-hover" | "background_surface-primary" | "background_surface-primary-hover" | "background_surface-primary-inverse" | "background_surface-primary-inverse-hover" | "background_surface-primary-inverse-pressed" | "background_surface-primary-pressed" | "background_surface-secondary" | "background_surface-secondary-hover" | "background_surface-secondary-inverse" | "background_surface-secondary-inverse-hover" | "background_surface-secondary-inverse-pressed" | "background_surface-secondary-pressed" | "background_surface-selected" | "background_surface-success" | "background_surface-warning" | "background_surface-warning-strong" | "border-brand" | "border-filter" | "border-highlight" | "border-neutral" | "border-neutral-strong" | "border-neutral-strongest" | "border-neutral-subtle" | "border-on_dark" | "button-label-on_dark-disabled" | "button-label-on_dark-primary" | "button-label-on_dark-secondary" | "button-on_dark-disabled" | "button-on_dark-primary-default" | "button-on_dark-primary-hover" | "button-on_dark-primary-pressed" | "button-on_dark-secondary-default" | "button-on_dark-secondary-hover" | "button-on_dark-secondary-pressed" | "core-blue-saturated" | "core-brand" | "core-brand-hover" | "core-filter" | "core-gold" | "core-green-saturated" | "core-info" | "core-purple-saturated" | "core-red-saturated" | "core-summarize" | "core-white" | "core-white_constant" | "core-yellow-saturated" | "feedback-negative" | "feedback-negative-strong" | "feedback-neutral-strong" | "feedback-positive" | "feedback-positive-selected" | "feedback-positive-strong" | "feedback-warning" | "feedback-warning-strong" | "illustration-secondary-brand" | "illustration-tertiary-brand" | "input-background" | "input-focus" | "modal-overlay" | "shadow-default" | "switch-checked" | "switch-disabled" | "switch-unchecked" | "switch_thumb-disabled" | "text-brand" | "text-brand-hover" | "text-brand-strong" | "text-brand-strong-hover" | "text-disabled" | "text-disabled-inverse" | "text-filter" | "text-primary" | "text-primary-inverse" | "text-secondary" | "text-secondary-inverse" | "text-selected" | "text-syntax-parameter" | "text-syntax-parameter-active" | "tooltip-background" | "tooltip-background-focused" | "tooltip-text" | "tooltip-text-secondary", string, >,>
Version 2 theme configuration for embedded Metabase components.