From 08f73a6a0201aaf6a1a6c8da54f8470e11bb9fba Mon Sep 17 00:00:00 2001 From: Kamil Gabryjelski Date: Mon, 25 Jul 2022 15:00:28 +0200 Subject: [PATCH] chore: Change Button background color from primary.dark1 to primary.base --- superset-frontend/src/components/Button/index.tsx | 4 ++-- .../components/controls/VizTypeControl/VizTypeGallery.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/superset-frontend/src/components/Button/index.tsx b/superset-frontend/src/components/Button/index.tsx index b8e428d6ca3a6..9b8dbbac70a46 100644 --- a/superset-frontend/src/components/Button/index.tsx +++ b/superset-frontend/src/components/Button/index.tsx @@ -119,8 +119,8 @@ export default function Button(props: ButtonProps) { let borderColorDisabled = 'transparent'; if (buttonStyle === 'primary') { - backgroundColor = primary.dark1; - backgroundColorHover = mix(0.1, grayscale.light5, primary.dark1); + backgroundColor = primary.base; + backgroundColorHover = primary.dark1; backgroundColorActive = mix(0.2, grayscale.dark2, primary.dark1); color = grayscale.light5; colorHover = color; diff --git a/superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx b/superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx index 0c8a99e1889a5..c11ae9f94804c 100644 --- a/superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx +++ b/superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx @@ -225,7 +225,7 @@ const SelectorLabel = styled.button` } &.selected { - background-color: ${theme.colors.primary.dark1}; + background-color: ${theme.colors.primary.base}; color: ${theme.colors.primary.light5}; svg {