This repository was archived by the owner on Jan 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 14
14
// limitations under the License.
15
15
//
16
16
17
+ @import " @material/theme/variables" ;
18
+
17
19
$mdc-radio-touch-area : 40px ;
18
20
$mdc-radio-ui-size : 20px ;
19
21
$mdc-radio-ui-pct : percentage ($mdc-radio-ui-size / $mdc-radio-touch-area );
20
22
$mdc-radio-transition-duration : 120ms ;
21
23
$mdc-radio-ripple-opacity : .14 ;
22
24
$mdc-radio-baseline-theme-color : secondary;
25
+ $mdc-radio-unchecked-color : rgba (mdc-theme-prop-value (on-surface ), .54 );
26
+ $mdc-radio-circle-color : rgba (mdc-theme-prop-value (on-surface ), .26 );
Original file line number Diff line number Diff line change 23
23
24
24
// postcss-bem-linter: define radio
25
25
.mdc-radio {
26
- @include mdc-radio-unchecked-stroke-color (text - secondary - on - background );
26
+ @include mdc-radio-unchecked-stroke-color ($mdc-radio-unchecked-color );
27
27
@include mdc-radio-checked-stroke-color ($mdc-radio-baseline-theme-color );
28
28
@include mdc-radio-ink-color ($mdc-radio-baseline-theme-color );
29
29
@include mdc-radio-focus-indicator-color ($mdc-radio-baseline-theme-color );
149
149
cursor : default ;
150
150
151
151
.mdc-radio__outer-circle {
152
- border-color : rgba ( black , .26 ) ;
152
+ border-color : $mdc-radio-circle-color ;
153
153
}
154
154
155
155
.mdc-radio__inner-circle {
156
- background-color : rgba ( black , .26 ) ;
156
+ background-color : $mdc-radio-circle-color ;
157
157
}
158
158
}
159
159
}
You can’t perform that action at this time.
0 commit comments