Skip to content

Commit 216b484

Browse files
committed
fix(layout): use vscode theme colors for radio buttons
Implemented primary color for radio buttons.
1 parent 5b406b6 commit 216b484

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/webview/src/App.js

+11
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,17 @@ export default class App extends Component {
791791
// looks weird? fontWeightRegular: 'var(--vscode-font-weight)'
792792
},
793793
overrides: {
794+
MuiRadio: {
795+
colorPrimary: {
796+
color: vscodeStyles.getPropertyValue('--vscode-button-background'),
797+
'&:hover': {
798+
color: vscodeStyles.getPropertyValue('--vscode-button-hoverBackground'),
799+
},
800+
'&$checked': {
801+
color: vscodeStyles.getPropertyValue('--vscode-button-background'),
802+
}
803+
}
804+
},
794805
MuiButton: {
795806
textPrimary: {
796807
color: vscodeStyles.getPropertyValue('--vscode-button-foreground'),

0 commit comments

Comments
 (0)