Fix icon color
This commit is contained in:
parent
a6ad758c71
commit
426042feab
2 changed files with 1 additions and 10 deletions
|
@ -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')}
|
||||
|
|
|
@ -240,11 +240,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.button--file-action-active {
|
||||
@extend .button--file-action;
|
||||
color: var(--color-link);
|
||||
}
|
||||
|
||||
.button--fire {
|
||||
color: var(--color-fire);
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in a new issue