Shared: MainButtonMobile: fix progress style
This commit is contained in:
parent
51b97d112a
commit
01816c6bdc
@ -406,15 +406,12 @@ export {
|
||||
const getDefaultProgressStyles = ({
|
||||
$currentColorScheme,
|
||||
theme,
|
||||
error,
|
||||
}: ProgressBarMobileDefaultStyles) =>
|
||||
$currentColorScheme &&
|
||||
css`
|
||||
background: ${error
|
||||
? theme.mainButtonMobile.bar.errorBackground
|
||||
: theme.isBase
|
||||
? $currentColorScheme?.main?.accent
|
||||
: "#FFFFFF"};
|
||||
background: ${
|
||||
theme.isBase ? $currentColorScheme?.main?.accent : "#FFFFFF"
|
||||
}};
|
||||
`;
|
||||
|
||||
const StyledProgressBarTheme = styled(StyledBar)(getDefaultProgressStyles);
|
||||
|
Loading…
Reference in New Issue
Block a user