Skip to content

Commit 097c542

Browse files
Merge pull request #837 from sudhanshutech/theme/action
fix theme of action menu
2 parents 3f7a664 + cf45117 commit 097c542

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/custom/CatalogDetail/ActionButton.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ const ActionButtons: React.FC<ActionButtonsProps> = ({
7676
backgroundColor: 'transparent',
7777
border: `1px solid ${theme.palette.border.normal}`,
7878
gap: '10px',
79-
color: charcoal[10]
79+
color: theme.palette.text.default
8080
}}
8181
onClick={() =>
8282
cleanedType === RESOURCE_TYPES.FILTERS
8383
? downloadFilter(details.id, details.name)
8484
: downloadYaml(details.pattern_file, details.name)
8585
}
8686
>
87-
<Download width={24} height={24} fill={charcoal[10]} />
87+
<Download width={24} height={24} fill={theme.palette.icon.default} />
8888
Download
8989
</ActionButton>
9090

@@ -104,7 +104,7 @@ const ActionButtons: React.FC<ActionButtonsProps> = ({
104104
<CircularProgress size={24} color={'inherit'} />
105105
) : (
106106
<>
107-
<CopyIcon width={24} height={24} fill={charcoal[10]} />
107+
<CopyIcon width={24} height={24} fill={theme.palette.icon.default} />
108108
Clone
109109
</>
110110
)}

0 commit comments

Comments
 (0)