File tree Expand file tree Collapse file tree
packages/styles/scss/components/radio-button Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99// Radio
1010// -----------------------------
1111
12- @use ' ../../compat/ theme' as * ;
12+ @use ' ../../theme' as * ;
1313@use ' ../../type' ;
1414@use ' ../form' ;
1515@use ' ../../utilities/focus-outline' as * ;
2020@use ' ../../config' as * ;
2121@use ' ../../spacing' as * ;
2222
23+ @use ' ../button/tokens' as * ;
24+
2325/// @type Number
2426/// @access public
2527/// @group radio-button
@@ -119,21 +121,21 @@ $radio-border-width: 1px !default;
119121 }
120122 }
121123
122- .#{$prefix } --radio-button :disabled - 01 + .#{$prefix } --radio-button__label {
123- color : $disabled-01 ;
124+ .#{$prefix } --radio-button :button - disabled + .#{$prefix } --radio-button__label {
125+ color : $button-disabled ;
124126 cursor : not-allowed ;
125127 }
126128
127- .#{$prefix } --radio-button :disabled-01
129+ .#{$prefix } --radio-button :button-disabled
128130 + .#{$prefix } --radio-button__label
129131 .#{$prefix } --radio-button__appearance ,
130- .#{$prefix } --radio-button :disabled-01 :checked
132+ .#{$prefix } --radio-button :button-disabled :checked
131133 + .#{$prefix } --radio-button__label
132134 .#{$prefix } --radio-button__appearance {
133- border-color : $disabled-01 ;
135+ border-color : $border-disabled ;
134136
135137 & ::before {
136- background-color : $disabled-01 ;
138+ background-color : $button-disabled ;
137139 }
138140 }
139141
You can’t perform that action at this time.
0 commit comments