Commit dbd3ec53 authored by Max Alekseenko's avatar Max Alekseenko

fix star icon color

parent 42050898
...@@ -34,6 +34,7 @@ const MarketplaceAppModal = ({ ...@@ -34,6 +34,7 @@ const MarketplaceAppModal = ({
showContractList: showContractListDefault, showContractList: showContractListDefault,
}: Props) => { }: Props) => {
const { value: isExperiment } = useFeatureValue('security_score_exp', false); const { value: isExperiment } = useFeatureValue('security_score_exp', false);
const starOutlineIconColor = useColorModeValue('gray.600', 'gray.300');
const { const {
id, id,
...@@ -171,7 +172,7 @@ const MarketplaceAppModal = ({ ...@@ -171,7 +172,7 @@ const MarketplaceAppModal = ({
onClick={ handleFavoriteClick } onClick={ handleFavoriteClick }
icon={ isFavorite ? icon={ isFavorite ?
<IconSvg name="star_filled" w={ 5 } h={ 5 } color="yellow.400"/> : <IconSvg name="star_filled" w={ 5 } h={ 5 } color="yellow.400"/> :
<IconSvg name="star_outline" w={ 5 } h={ 5 } color="gray.600"/> } <IconSvg name="star_outline" w={ 5 } h={ 5 } color={ starOutlineIconColor }/> }
/> />
</Flex> </Flex>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment