From be4575d70d12018b7d048d30a86922a45aecebc6 Mon Sep 17 00:00:00 2001 From: Bruno Lemos Date: Thu, 18 Apr 2019 22:29:19 -0300 Subject: [PATCH] Use muted color on bookmark button --- packages/components/src/components/common/BookmarkButton.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/components/src/components/common/BookmarkButton.tsx b/packages/components/src/components/common/BookmarkButton.tsx index af27d4b2..307d70ed 100644 --- a/packages/components/src/components/common/BookmarkButton.tsx +++ b/packages/components/src/components/common/BookmarkButton.tsx @@ -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 })}