@@ -17,10 +17,13 @@ export default css`
17
17
}
18
18
19
19
.pinwheel > div {
20
- padding : var (--tap-pinwheel-spacing-0 , var (--tap-sys-spacing-0 ))
21
- var (--tap-pinwheel-spacing-6 , var (--tap-sys-spacing-6 ));
20
+ display : flex;
21
+ align-items : center;
22
+ justify-content : center;
23
+ padding : var (--tap-pinwheel-vertical-padding , var (--tap-sys-spacing-0 ))
24
+ var (--tap-pinwheel-horizontal-padding , var (--tap-sys-spacing-6 ));
22
25
/* FIXME: we dont have sizing tokens yet */
23
- height : 48px ;
26
+ height : var ( --tap-pinwheel-item-height , 48px ) ;
24
27
font : inherit;
25
28
font-family : var (--tap-font-family , var (--tap-sys-font-family ));
26
29
line-height : var (
@@ -36,17 +39,17 @@ export default css`
36
39
var (--tap-sys-typography-body-md-weight )
37
40
);
38
41
color : var (
39
- --tap-pinwheel-color-content-tertiary ,
42
+ --tap-pinwheel-item-color ,
40
43
var (--tap-sys-color-content-tertiary )
41
44
);
42
45
}
43
46
44
47
.pinwheel div : first-child {
45
- padding-top : var (--tap-pinwheel-spacing-11 , var (--tap-sys-spacing-11 ));
48
+ padding-top : var (--tap-pinwheel-item-height , var (--tap-sys-spacing-11 ));
46
49
}
47
50
48
51
.pinwheel div : last-child {
49
- padding-bottom : var (--tap-pinwheel-spacing-11 , var (--tap-sys-spacing-11 ));
52
+ padding-bottom : var (--tap-pinwheel-item-height , var (--tap-sys-spacing-11 ));
50
53
}
51
54
52
55
.pinwheel .active {
@@ -63,7 +66,7 @@ export default css`
63
66
var (--tap-sys-typography-label-md-weight )
64
67
);
65
68
color : var (
66
- --tap-pinwheel-color-content-primary ,
69
+ --tap-pinwheel-active-item-color ,
67
70
var (--tap-sys-color-content-primary )
68
71
);
69
72
}
0 commit comments