mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-18 18:04:17 +00:00
The Clean style read flat next to the Apple-style design: menus, the shortcut HUD and the stuck toolbar were opaque slabs, and most layers vanished the instant they closed. Pages, cards and the sidebar stay solid; only layers that float over content become translucent, and prefers-reduced-transparency turns them solid again. Menus now fade out instead of unmounting at once (usePresence), the segmented-control pill slides between segments, and switches, the pill and the tree divider move on critically damped or lightly bouncing spring curves. Dialogs and the floating selection bar are often unmounted by their callers, so exitGhost plays their exit on a frozen, inert copy; no copy plays when the page goes with them, and reduced motion gets a short fade. Toast, collapse and row-exit timings follow the motion spec, and the toast countdown pauses in place on hover.