Use muted color on bookmark button

This commit is contained in:
Bruno Lemos
2019-04-18 22:29:19 -03:00
parent dfb056f302
commit be4575d70d

View File

@@ -30,10 +30,11 @@ export function BookmarkButton(props: BookmarkButtonProps) {
enableBackgroundHover={false}
enableForegroundHover={!isSaved}
fixedIconSize
forceHoverState={isSaved}
foregroundColor={
isSaved ? theme.primaryBackgroundColor : theme.foregroundColorMuted50
isSaved ? theme.primaryBackgroundColor : theme.foregroundColorMuted25
}
hoverForegroundThemeColor={isSaved ? undefined : 'foregroundColor'}
hoverForegroundThemeColor="primaryBackgroundColor"
iconName="bookmark"
noPadding
onPress={() => saveItemsForLater({ itemIds, save: !isSaved })}