@@ -47,35 +47,26 @@ $_checkmark-bottom-left: 7px, -14px;
4747}
4848
4949@mixin styles () {
50- $tokens : tokens .md-comp-checkbox-values ();
50+ $tokens : tokens .md-comp-checkbox-values (
51+ $exclude-custom-properties : false ,
52+ );
5153
5254 // Support logical shape properties
5355 $container-shape : map .get ($tokens , ' container-shape' );
54- $tokens : map .set (
55- $tokens ,
56- ' container-shape-start-start' ,
57- var (--md-checkbox-container-shape , #{$container-shape } )
58- );
59- $tokens : map .set (
60- $tokens ,
61- ' container-shape-start-end' ,
62- var (--md-checkbox-container-shape , #{$container-shape } )
63- );
64- $tokens : map .set (
65- $tokens ,
66- ' container-shape-end-end' ,
67- var (--md-checkbox-container-shape , #{$container-shape } )
68- );
69- $tokens : map .set (
56+ $tokens : map .merge (
7057 $tokens ,
71- ' container-shape-end-start' ,
72- var (--md-checkbox-container-shape , #{$container-shape } )
58+ (
59+ ' container-shape-start-start' :
60+ var (--md-checkbox-container-shape-start-start , #{$container-shape } ),
61+ ' container-shape-start-end' :
62+ var (--md-checkbox-container-shape-start-end , #{$container-shape } ),
63+ ' container-shape-end-end' :
64+ var (--md-checkbox-container-shape-end-end , #{$container-shape } ),
65+ ' container-shape-end-start' :
66+ var (--md-checkbox-container-shape-end-start , #{$container-shape } ),
67+ )
7368 );
7469
75- @each $token , $value in $tokens {
76- $tokens : map .set ($tokens , $token , var (--md-checkbox - #{$token } , #{$value } ));
77- }
78-
7970 :host {
8071 border-start-start-radius : map .get ($tokens , ' container-shape-start-start' );
8172 border-start-end-radius : map .get ($tokens , ' container-shape-start-end' );
0 commit comments