From 0008f9668293ce18a0be9761b8caf9073e6df3ca Mon Sep 17 00:00:00 2001 From: jeffvli Date: Tue, 2 Nov 2021 13:56:25 -0700 Subject: [PATCH] Fix icon button colors --- src/components/shared/styled.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/shared/styled.ts b/src/components/shared/styled.ts index 5f86ce4..6aa9ba9 100644 --- a/src/components/shared/styled.ts +++ b/src/components/shared/styled.ts @@ -188,7 +188,7 @@ export const StyledIconButton = styled(IconButton)` ? `${props.theme.colors.primary}` : props.appearance === 'subtle' || props.appearance === 'link' ? undefined - : `${props.theme.colors.button.default.background}`}; + : `${props.theme.colors.button.default.background}`} !important; color: ${(props) => props.appearance === 'primary' ? `${props.theme.colors.button.primary.color}` @@ -196,7 +196,7 @@ export const StyledIconButton = styled(IconButton)` ? `${props.theme.colors.button.subtle.color}` : props.appearance === 'link' ? undefined - : `${props.theme.colors.button.default.color}`}; + : `${props.theme.colors.button.default.color}`} !important; filter: ${(props) => (props.disabled || props.loading ? 'brightness(0.7)' : 'none')}; transition: 0.5s;