@@ -18,18 +18,21 @@ const sizeAndStrokeWidthMapping = {
1818 medium : { width : 12 , strokeWidth : 2 } ,
1919 low : { width : 14 , strokeWidth : 2 } ,
2020 touch : { width : 16 , strokeWidth : 2 } ,
21+ mobile : { width : 16 , strokeWidth : 2 } ,
2122 } ,
2223 medium : {
2324 high : { width : 20 , strokeWidth : 2 } ,
2425 medium : { width : 28 , strokeWidth : 4 } ,
2526 low : { width : 36 , strokeWidth : 6 } ,
2627 touch : { width : 44 , strokeWidth : 8 } ,
28+ mobile : { width : 44 , strokeWidth : 8 } ,
2729 } ,
2830 large : {
2931 high : { width : 40 , strokeWidth : 2 } ,
3032 medium : { width : 56 , strokeWidth : 4 } ,
3133 low : { width : 72 , strokeWidth : 6 } ,
3234 touch : { width : 88 , strokeWidth : 8 } ,
35+ mobile : { width : 88 , strokeWidth : 8 } ,
3336 } ,
3437} ;
3538
@@ -64,8 +67,8 @@ export const SpinnerSVG = ({
6467 </ linearGradient >
6568 </ defs >
6669 < g fill = "none" >
67- { /*
68- This first path draws the top half of the circle without a gradient.
70+ { /*
71+ This first path draws the top half of the circle without a gradient.
6972 It starts from the right end, moves in a circular arc, and ends at the left end.
7073 */ }
7174 < path
@@ -76,8 +79,8 @@ export const SpinnerSVG = ({
7679 strokeWidth = "var(--spinner-strokeWidth)"
7780 fill = "none"
7881 />
79- { /*
80- This second path draws the left half of the circle with a gradient that transitions
82+ { /*
83+ This second path draws the left half of the circle with a gradient that transitions
8184 from opaque on the left to transparent on the right.
8285 It starts from the top-center, moves in a circular arc, and ends at the bottom-center.
8386 */ }
0 commit comments