diff --git a/apps/designer/app/designer/features/topbar/sync-status.tsx b/apps/designer/app/designer/features/topbar/sync-status.tsx index daba7dced2..b401523133 100644 --- a/apps/designer/app/designer/features/topbar/sync-status.tsx +++ b/apps/designer/app/designer/features/topbar/sync-status.tsx @@ -1,24 +1,38 @@ -import { Flex, keyframes, AccessibleIcon } from "~/shared/design-system"; +import { + Flex, + keyframes, + AccessibleIcon, + styled, + Box, +} from "~/shared/design-system"; import { CheckIcon, DotsHorizontalIcon } from "@webstudio-is/icons"; import { useSyncStatus } from "../../shared/nano-states"; const iconSize = 15; +const StyledCheckIcon = styled(CheckIcon, { + width: iconSize, + height: iconSize, + background: "$green9", + borderRadius: "$radii$round", +}); + const ellipsisKeyframes = keyframes({ to: { width: iconSize }, }); const AnimatedDotsIcon = () => { return ( - - + + + + ); }; @@ -26,20 +40,9 @@ const AnimatedDotsIcon = () => { export const SyncStatus = () => { const [status] = useSyncStatus(); return ( - svg": { - width: iconSize, - height: iconSize, - background: "$green9", - borderRadius: "$radii$round", - }, - }} - > + - {status === "syncing" ? : } + {status === "syncing" ? : } );