From 858d08f6dca59ddf7024bc47ded041955bac47ab Mon Sep 17 00:00:00 2001 From: Sidney Alcantara Date: Wed, 10 Nov 2021 20:10:31 +1100 Subject: [PATCH] ToggleButton: fix dark mode colors --- src/theme/components.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/theme/components.tsx b/src/theme/components.tsx index f0874cca..397582f3 100644 --- a/src/theme/components.tsx +++ b/src/theme/components.tsx @@ -558,13 +558,13 @@ export const components = (theme: Theme): ThemeOptions => { groupedHorizontal: { "&:not(:first-of-type)": { borderLeft: 0, - "&.Mui-disabled": { clipPath: "inset(0 0 0 1px)" }, + clipPath: "inset(0 0 0 1px)", }, }, groupedVertical: { "&:not(:first-of-type)": { borderTop: 0, - "&.Mui-disabled": { clipPath: "inset(1px 0 0 0)" }, + clipPath: "inset(1px 0 0 0)", }, }, }, @@ -592,7 +592,7 @@ export const components = (theme: Theme): ThemeOptions => { "&:not(.Mui-disabled):hover": { backgroundColor: colord(theme.palette.action.input) .mix( - theme.palette.action.hover, + theme.palette.text.primary, theme.palette.action.hoverOpacity ) .toHslString(),