Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Closes EMB-780 selected cell color in embedding dark mode (#63163)

Sébastiend90fcce25b57
diff --git a/frontend/src/metabase/data-grid/components/BaseCell/BaseCell.tsx b/frontend/src/metabase/data-grid/components/BaseCell/BaseCell.tsx
index 57cb1aba479..30243275579 100644
--- a/frontend/src/metabase/data-grid/components/BaseCell/BaseCell.tsx
+++ b/frontend/src/metabase/data-grid/components/BaseCell/BaseCell.tsx
@@ -28,9 +28,9 @@ export const BaseCell = memo(function BaseCell({
const cellStyle = useMemo(() => {
if (isSelected) {
return {
- "--cell-bg-color": `color-mix(in srgb, var(--mb-color-brand), white 90%)`,
+ "--cell-bg-color": `color-mix(in srgb, var(--mb-color-brand), transparent 80%)`,
"--cell-hover-bg-color": hasHover
- ? `color-mix(in srgb, var(--mb-color-brand), white 80%)`
+ ? `color-mix(in srgb, var(--mb-color-brand), transparent 80%)`
: undefined,
} as React.CSSProperties;
}