Web:Common:Fix theme.
This commit is contained in:
parent
564ec4457f
commit
ddc067f3f0
@ -66,6 +66,7 @@ const getDefaultStyles = ({
|
||||
primary &&
|
||||
$currentColorScheme.textColor};
|
||||
}
|
||||
background-color: ${primary && $currentColorScheme.buttonsMain};
|
||||
}
|
||||
|
||||
${!isDisabled &&
|
||||
|
@ -6,15 +6,15 @@ const getDefaultStyles = ({ $currentColorScheme, isSelected, theme }) =>
|
||||
$currentColorScheme &&
|
||||
isSelected &&
|
||||
css`
|
||||
background: ${theme.isBase && $currentColorScheme.accentColor};
|
||||
border-color: ${theme.isBase && $currentColorScheme.accentColor};
|
||||
background: ${$currentColorScheme.accentColor};
|
||||
border-color: ${$currentColorScheme.accentColor};
|
||||
|
||||
p {
|
||||
color: ${$currentColorScheme.id > 7 && $currentColorScheme.textColor};
|
||||
}
|
||||
&:hover {
|
||||
background: ${theme.isBase && $currentColorScheme.accentColor};
|
||||
border-color: ${theme.isBase && $currentColorScheme.accentColor};
|
||||
background: ${$currentColorScheme.accentColor};
|
||||
border-color: ${$currentColorScheme.accentColor};
|
||||
}
|
||||
`;
|
||||
|
||||
|
@ -16,22 +16,10 @@ const getDefaultStyles = ({
|
||||
}) =>
|
||||
$currentColorScheme &&
|
||||
css`
|
||||
background: ${color
|
||||
? color
|
||||
: theme.isBase
|
||||
? $currentColorScheme.accentColor
|
||||
: icon === "upload"
|
||||
? theme.floatingButton.backgroundColor
|
||||
: $currentColorScheme.accentColor} !important;
|
||||
background: ${color ? color : $currentColorScheme.accentColor} !important;
|
||||
|
||||
${StyledFloatingButton} {
|
||||
background: ${color
|
||||
? color
|
||||
: theme.isBase
|
||||
? $currentColorScheme.accentColor
|
||||
: icon === "upload"
|
||||
? theme.floatingButton.backgroundColor
|
||||
: $currentColorScheme.accentColor} !important;
|
||||
background: ${color ? color : $currentColorScheme.accentColor} !important;
|
||||
}
|
||||
|
||||
${IconBox} {
|
||||
|
Loading…
Reference in New Issue
Block a user