Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion apps/desktop/src/components/main/body/onboarding/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ export const TabItemOnboarding: TabItem<
}) => {
return (
<TabItemBase
icon={<span className="text-sm">👋</span>}
icon={
<span className="text-sm inline-block origin-[70%_80%] group-hover:animate-wiggle">
👋
</span>
}
title="Welcome"
selected={tab.active}
allowPin={false}
Expand Down
4 changes: 3 additions & 1 deletion apps/desktop/src/components/main/body/shared.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ export function TabItemBase({
<div
className={cn([
"absolute inset-0 flex items-center justify-center transition-opacity duration-200",
isHovered || isConfirmationOpen ? "opacity-0" : "opacity-100",
(isHovered && allowClose) || isConfirmationOpen
? "opacity-0"
: "opacity-100",
])}
>
{finalizing ? (
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/components/onboarding/shared.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export function OnboardingSection({
animate={{ height: "auto", opacity: 1 }}
exit={{ height: 0, opacity: 0 }}
transition={{ duration: 0.3, ease: "easeInOut" }}
className="overflow-hidden px-1 -mx-1"
className="overflow-hidden px-5 -mx-5 pb-5 -mb-5"
>
{children}
</motion.div>
Expand Down
25 changes: 25 additions & 0 deletions apps/desktop/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,31 @@
--animate-reveal-left: reveal-left 0.5s ease-out forwards;
--animate-kbd-press: kbd-press 0.4s ease-out forwards;

--animate-wiggle: wiggle 1s ease-in-out infinite;

@keyframes wiggle {
0%, 100% {
transform: rotate(0deg);
}
15% {
transform: rotate(14deg);
}
30% {
transform: rotate(-8deg);
}
40% {
transform: rotate(7deg);
}
50% {
transform: rotate(-4deg);
}
60% {
transform: rotate(2deg);
}
70%, 100% {
transform: rotate(0deg);
}
}
@keyframes shimmer {
0% {
transform: translateX(-100%);
Expand Down