@@ -856,43 +856,43 @@ function AnimatedChevron({
856856
857857 return (
858858 < svg
859- width = "5 "
860- height = "24 "
861- viewBox = "0 0 5 24 "
859+ width = "4 "
860+ height = "30 "
861+ viewBox = "0 0 4 30 "
862862 fill = "none"
863863 xmlns = "http://www.w3.org/2000/svg"
864- className = "overflow-visible text-charcoal-500 group-hover:text-text-bright transition-colors"
864+ className = "overflow-visible text-charcoal-600 group-hover:text-text-bright transition-colors"
865865 style = { {
866866 transform : `translateX(${ getTranslateX ( ) } px)` ,
867- transition : "transform 200ms ease-out" ,
867+ transition : "transform 400ms ease-out" ,
868868 } }
869869 >
870870 { /* Top segment */ }
871871 < line
872- x1 = "2.5 "
873- y1 = "1"
874- x2 = "2.5 "
875- y2 = "12 "
872+ x1 = "2"
873+ y1 = "1.5 "
874+ x2 = "2"
875+ y2 = "15 "
876876 stroke = "currentColor"
877- strokeWidth = "2 "
877+ strokeWidth = "3 "
878878 strokeLinecap = "round"
879879 style = { {
880- transformOrigin : "2.5px 12px " ,
880+ transformOrigin : "2px 15px " ,
881881 transform : `rotate(${ top } deg)` ,
882882 transition : "transform 200ms ease-out" ,
883883 } }
884884 />
885885 { /* Bottom segment */ }
886886 < line
887- x1 = "2.5 "
888- y1 = "12 "
889- x2 = "2.5 "
890- y2 = "23 "
887+ x1 = "2"
888+ y1 = "15 "
889+ x2 = "2"
890+ y2 = "28.5 "
891891 stroke = "currentColor"
892- strokeWidth = "2 "
892+ strokeWidth = "3 "
893893 strokeLinecap = "round"
894894 style = { {
895- transformOrigin : "2.5px 12px " ,
895+ transformOrigin : "2px 15px " ,
896896 transform : `rotate(${ bottom } deg)` ,
897897 transition : "transform 200ms ease-out" ,
898898 } }
@@ -912,6 +912,8 @@ function CollapseToggle({
912912
913913 return (
914914 < div className = "absolute -right-3 top-1/2 z-10 -translate-y-1/2" >
915+ { /* Vertical line to mask the side menu border */ }
916+ < div className = "absolute left-1/2 top-1/2 h-10 w-px -translate-y-1/2 bg-background-bright" />
915917 < TooltipProvider disableHoverableContent >
916918 < Tooltip >
917919 < TooltipTrigger asChild >
@@ -920,7 +922,7 @@ function CollapseToggle({
920922 onMouseEnter = { ( ) => setIsHovering ( true ) }
921923 onMouseLeave = { ( ) => setIsHovering ( false ) }
922924 className = { cn (
923- "group flex h-10 w-6 items-center justify-center rounded-md text-text-dimmed transition-all duration-200" ,
925+ "group flex h-12 w-6 items-center justify-center rounded-md text-text-dimmed transition-all duration-200" ,
924926 isHovering
925927 ? "border border-grid-bright bg-background-bright shadow-md hover:bg-charcoal-750 hover:text-text-bright"
926928 : "border border-transparent bg-transparent"
0 commit comments