Skip to content

Commit 45d35ad

Browse files
committed
plugin-catalog: Inherit theme color for UI elements
Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
1 parent b77a25b commit 45d35ad

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

plugin-catalog/src/components/plugins/Detail.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,16 @@ const pluginSnackbarAction = (closeCallback: () => void) => {
122122
return (
123123
<>
124124
<Button
125+
color="inherit"
125126
onClick={() => {
126127
window.location.reload();
127128
}}
128129
>
129130
Reload Now
130131
</Button>
131-
<Button onClick={closeCallback}>Close</Button>
132+
<Button color="inherit" onClick={closeCallback}>
133+
Close
134+
</Button>
132135
</>
133136
);
134137
};
@@ -222,7 +225,7 @@ export function PurePluginDetail({
222225
color: 'white',
223226
textTransform: 'none',
224227
'&:hover': {
225-
color: 'black',
228+
color: 'inherit',
226229
},
227230
}}
228231
onClick={onInstall}

0 commit comments

Comments
 (0)