Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 1693433

Browse files
author
Robert Messerle
committed
fix(radioButton): fixes focus color for md-primary and md-warn
closes #4487
1 parent a9aabe1 commit 1693433

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/radioButton/radio-button-theme.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,12 @@ md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty) {
9696
.md-checked .md-container:before {
9797
background-color: '{{accent-color-0.26}}';
9898
}
99-
.md-checked:not([disabled]).md-primary .md-container:before {
99+
&.md-primary .md-checked .md-container:before,
100+
.md-checked.md-primary .md-container:before {
100101
background-color: '{{primary-color-0.26}}';
101102
}
102-
.md-checked.md-primary .md-container:before {
103+
&.md-warn .md-checked .md-container:before,
104+
.md-checked.md-warn .md-container:before {
103105
background-color: '{{warn-color-0.26}}';
104106
}
105107
}

0 commit comments

Comments
 (0)