@@ -14,25 +14,25 @@ check-box, check-tri {
1414 stroke : var (--charcoal );
1515 color : var (--charcoal ); /* color is for ::part(label) */
1616}
17- check-box [ disabled ] , check-box [ disabled ][ checked ] ,
18- check-tri [ disabled ] , check-tri [ disabled ][ checked ] {
17+ check-box : disabled , check-box : disabled : checked ,
18+ check-tri : disabled , check-tri : disabled : checked {
1919 fill-opacity : 0.25 ;
2020 stroke : var (--medium-gray );
2121 color : var (--medium-gray );
2222}
23- check-box [ checked ] ::part (check ),
23+ check-box : checked ::part (check ),
2424check-tri [value ]::part (check ) {
2525 fill-opacity : 1 ;
2626}
2727check-box : hover ::part (check ),
2828check-tri : hover ::part (check ),
29- check-box [ checked ] : hover ::part (check ) {
29+ check-box : checked : hover ::part (check ) {
3030 fill-opacity : 0.05 ;
3131 fill : var (--accent-blue );
3232 stroke : var (--medium-blue );
3333}
34- check-box : active , check-tri : active ::part (check ),
35- check-box [ checked ] : active ,
34+ check-box : active ::part (check ),
35+ check-tri : active :: part ( check ) ,
3636check-tri : not ([value ])::part (default ) {
3737 fill-opacity : 1 ;
3838 fill : white;
0 commit comments