From e3c6380258a46467ac8e09e64db60aad46bc4655 Mon Sep 17 00:00:00 2001 From: Kamil Gabryjelski Date: Mon, 25 Jul 2022 18:02:14 +0200 Subject: [PATCH] chore: Change Button background color from primary.dark1 to primary.base (#20846) --- 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 b8e428d6c..9b8dbbac7 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 0c8a99e18..c11ae9f94 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 {