File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 15
15
// determines the size of the radio button itself and there are internal
16
16
// tests who don't configure the theme correctly.
17
17
radio- state- layer- size: 40px ,
18
+ radio- touch- target- size: 48px ,
18
19
),
19
20
color : private-get-color-palette-color-tokens ($theme , secondary ),
20
21
typography: (
Original file line number Diff line number Diff line change 16
16
base: (
17
17
radio- disabled- unselected- icon- opacity: 0.38 ,
18
18
radio- disabled- selected- icon- opacity: 0.38 ,
19
+ radio- touch- target- size: 48px ,
19
20
),
20
21
color : (
21
22
radio- checked- ripple- color: map .get ($system , primary ),
Original file line number Diff line number Diff line change @@ -88,8 +88,8 @@ $fallbacks: m3-radio.get-tokens();
88
88
position : absolute ;
89
89
top : 50% ;
90
90
left : 50% ;
91
- height : 48 px ;
92
- width : 48 px ;
91
+ height : token-utils . slot ( radio-touch-target-size , $fallbacks ) ;
92
+ width : token-utils . slot ( radio-touch-target-size , $fallbacks ) ;
93
93
transform : translate (-50% , -50% );
94
94
display : token-utils .slot (radio-touch-target-display , $fallbacks );
95
95
You can’t perform that action at this time.
0 commit comments