Skip to content
Snippets Groups Projects
Unverified Commit d0b546c5 authored by Phoomparin Mano's avatar Phoomparin Mano
Browse files

add background-inverse color mapping

parent e9bffd66
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,7 @@ const darkTheme = defineEmbeddingSdkTheme({
"background-secondary": colors.darkGrey,
"background-hover": colors.background,
"background-disabled": colors.darkGrey,
"background-inverse": colors.background,
charts: [
colors.primary,
colors.filter,
......
......@@ -49,6 +49,7 @@ export const SDK_TO_MAIN_APP_COLORS_MAPPING: Record<
"background-hover": ["bg-light"],
"background-secondary": ["bg-medium"],
"background-disabled": ["background-disabled"],
"background-inverse": ["bg-black", "background-inverse"],
shadow: ["shadow"],
positive: ["success"],
negative: ["danger"],
......
......@@ -63,6 +63,9 @@ export interface MetabaseColors {
/** Muted background color used for disabled elements, such as disabled buttons and inputs. */
"background-disabled"?: string;
/** Inverted background color used for elements e.g. tooltip backgrounds. */
"background-inverse"?: string;
/** Color used for borders */
border?: string;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment