Web:Common:Fix ToggleButtonTheme.
This commit is contained in:
parent
eab910e973
commit
bde4a1f019
@ -4,7 +4,9 @@ import {
|
||||
ToggleButtonContainer,
|
||||
} from "@docspace/components/toggle-button/styled-toggle-button";
|
||||
|
||||
const getDefaultStyles = ({ currentColorScheme, isDisabled, isChecked }) => css`
|
||||
const getDefaultStyles = ({ currentColorScheme, isDisabled, isChecked }) =>
|
||||
currentColorScheme &&
|
||||
css`
|
||||
${ToggleButtonContainer} {
|
||||
svg {
|
||||
rect {
|
||||
@ -18,6 +20,6 @@ const getDefaultStyles = ({ currentColorScheme, isDisabled, isChecked }) => css`
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
`;
|
||||
|
||||
export default styled(Container)(getDefaultStyles);
|
||||
|
Loading…
Reference in New Issue
Block a user