From 698de7a38d9d7bae850b06ba24d63fd0cdbf5dd2 Mon Sep 17 00:00:00 2001 From: Kasia <36897697+kasiazjc@users.noreply.github.com> Date: Tue, 12 Aug 2025 19:21:23 +0200 Subject: [PATCH] feat(dashboard): change chart background option from "White" to "Solid" (#34655) Co-authored-by: Claude --- .../src/dashboard/components/menu/BackgroundStyleDropdown.tsx | 4 ++-- .../src/dashboard/util/backgroundStyleOptions.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/superset-frontend/src/dashboard/components/menu/BackgroundStyleDropdown.tsx b/superset-frontend/src/dashboard/components/menu/BackgroundStyleDropdown.tsx index f37acf7e193..eb00e072a57 100644 --- a/superset-frontend/src/dashboard/components/menu/BackgroundStyleDropdown.tsx +++ b/superset-frontend/src/dashboard/components/menu/BackgroundStyleDropdown.tsx @@ -43,11 +43,11 @@ const BackgroundStyleOption = styled.div` display: inline-block; vertical-align: middle; } - &.background--white { + &.background-style-option.background--white { padding-left: 0; background: transparent; &:before { - background: ${theme.colors.grayscale.light5}; + background: ${theme.colorBgContainer}; border: 1px solid ${theme.colorBorder}; } } diff --git a/superset-frontend/src/dashboard/util/backgroundStyleOptions.ts b/superset-frontend/src/dashboard/util/backgroundStyleOptions.ts index b8399961d7b..0058e71bbf4 100644 --- a/superset-frontend/src/dashboard/util/backgroundStyleOptions.ts +++ b/superset-frontend/src/dashboard/util/backgroundStyleOptions.ts @@ -27,7 +27,7 @@ export default [ }, { value: BACKGROUND_WHITE, - label: t('White'), + label: t('Solid'), className: 'background--white', }, ];