Fix icon color

This commit is contained in:
saltrafael 2021-08-03 14:17:56 -03:00 committed by jessopb
parent a6ad758c71
commit 426042feab
2 changed files with 1 additions and 10 deletions

View file

@ -25,13 +25,9 @@ export default function CollectionAddButton(props: Props) {
return (
<Button
button={fileAction ? undefined : 'alt'}
className={classnames({
'button--file-action': fileAction,
'button--file-action-active': fileAction && isSaved,
})}
className={classnames({ 'button--file-action': fileAction })}
icon={fileAction ? (!isSaved ? ICONS.ADD : ICONS.STACK) : ICONS.LIBRARY}
iconSize={fileAction ? 22 : undefined}
iconColor={isSaved && 'green'}
label={uri ? (!isSaved ? __('Save') : __('Saved')) : __('New List')}
requiresAuth={IS_WEB}
title={__('Add this claim to a list')}

View file

@ -240,11 +240,6 @@
}
}
.button--file-action-active {
@extend .button--file-action;
color: var(--color-link);
}
.button--fire {
color: var(--color-fire);
position: relative;