fix(ui): SettingsPage launch-at-login toggle — replace bounce-easing with ease-out-quart
Some checks failed
check / cargo check (macos-latest) (push) Has been cancelled
check / cargo check (ubuntu-22.04) (push) Has been cancelled
check / cargo check (windows-latest) (push) Has been cancelled
check / svelte build + lint (push) Has been cancelled

Final impeccable detect cleanup. The launch-at-login toggle thumb in the
Tasks & Rituals section was using cubic-bezier(0.34, 1.56, 0.64, 1) — the
same overshoot bounce that was replaced in Toggle.svelte by commit
6469663. Match the convention here so all toggle animations use the
same exponential ease.

Single-line CSS change. Visual smoke not exercised because the dev
server is winding down between subagents; npm run build confirms the
file still compiles clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-29 12:52:08 +01:00
parent eb3d2f90ab
commit 749403697a

View File

@@ -1876,7 +1876,7 @@
<span <span
class="absolute top-[3px] left-[3px] w-4 h-4 rounded-full bg-white shadow-sm class="absolute top-[3px] left-[3px] w-4 h-4 rounded-full bg-white shadow-sm
{settings.launchAtLogin ? 'translate-x-[16px]' : 'translate-x-0'}" {settings.launchAtLogin ? 'translate-x-[16px]' : 'translate-x-0'}"
style="transition: transform var(--duration-ui) cubic-bezier(0.34, 1.56, 0.64, 1)" style="transition: transform var(--duration-ui) cubic-bezier(0.16, 1, 0.3, 1)"
></span> ></span>
</button> </button>
<div class="flex-1 min-w-0"> <div class="flex-1 min-w-0">