Skip to content

Commit c828a0a

Browse files
committed
plugin-catalog: Inherit theme color for UI elements
Signed-off-by: Evangelos Skopelitis <[email protected]>
1 parent b77a25b commit c828a0a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,14 @@ 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}>Close</Button>
132133
</>
133134
);
134135
};
@@ -222,7 +223,7 @@ export function PurePluginDetail({
222223
color: 'white',
223224
textTransform: 'none',
224225
'&:hover': {
225-
color: 'black',
226+
color: 'inherit',
226227
},
227228
}}
228229
onClick={onInstall}

0 commit comments

Comments
 (0)