diff --git a/frontend/src/metabase/ui/components/inputs/Switch/Switch.styled.tsx b/frontend/src/metabase/ui/components/inputs/Switch/Switch.styled.tsx index 452fc83fb21c780a17f8811ba42307a010aabd49..1e3c72fa7b075d96c859e7f6444b0d51a9dabd8e 100644 --- a/frontend/src/metabase/ui/components/inputs/Switch/Switch.styled.tsx +++ b/frontend/src/metabase/ui/components/inputs/Switch/Switch.styled.tsx @@ -73,7 +73,7 @@ export const getSwitchOverrides = (): MantineThemeOverride["components"] => ({ lineHeight: getSize({ size, sizes: LABEL_LINE_HEIGHT }), color: theme.fn.themeColor("text-dark"), cursor: "pointer", - "&[data-disabled]": { + "&[data-disabled]:not([data-css-specificity-hack='😢'])": { color: theme.fn.themeColor("text-light"), cursor: "default", },