mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-05-16 01:52:11 +08:00
Use muted color on bookmark button
This commit is contained in:
@@ -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 })}
|
||||
|
||||
Reference in New Issue
Block a user