@@ -44,7 +44,7 @@ const SwitchWrapperElement = tasty({
4444const SwitchElement = tasty ( {
4545 qa : 'Switch' ,
4646 styles : {
47- boxSizing : 'content -box' ,
47+ boxSizing : 'border -box' ,
4848 position : 'relative' ,
4949 verticalAlign : 'baseline' ,
5050 placeSelf : 'center' ,
@@ -64,12 +64,12 @@ const SwitchElement = tasty({
6464 disabled : '#dark-05' ,
6565 } ,
6666 width : {
67- '' : '5.5x 5.5x ' ,
68- '[data-size="small"]' : '3.5x 3.5x ' ,
67+ '' : '5.25x 5.25x ' ,
68+ '[data-size="small"]' : '4x 4x ' ,
6969 } ,
7070 height : {
7171 '' : '3x 3x' ,
72- '[data-size="small"]' : '2.25x 2.25x ' ,
72+ '[data-size="small"]' : '2.5x 2.5x ' ,
7373 } ,
7474 outline : {
7575 '' : '#purple-03.0' ,
@@ -85,11 +85,11 @@ const SwitchElement = tasty({
8585 Thumb : {
8686 position : 'absolute' ,
8787 width : {
88- '' : '2.25x 2.25x ' ,
88+ '' : '2x 2x ' ,
8989 '[data-size="small"]' : '1.5x 1.5x' ,
9090 } ,
9191 height : {
92- '' : '2.25x 2.25x ' ,
92+ '' : '2x 2x ' ,
9393 '[data-size="small"]' : '1.5x 1.5x' ,
9494 } ,
9595 radius : 'round' ,
@@ -104,8 +104,8 @@ const SwitchElement = tasty({
104104 left : {
105105 '' : '.375x' ,
106106 '[data-size="small"]' : '.375x' ,
107- checked : '2.875x ' ,
108- 'checked & [data-size="small"]' : '1.5x ' ,
107+ checked : '2.5x ' ,
108+ 'checked & [data-size="small"]' : '1.75x ' ,
109109 } ,
110110 transition : 'left, theme' ,
111111 cursor : 'pointer' ,
0 commit comments