Redesign web player analysis UI
This commit is contained in:
1 parent
e5cbc3e4d4
commit
b7a0934f83
96 files changed
+8169
-2386
No files matched your search
@@ -0,0 +1,43 @@
|
||||
import type { SeedConfig } from "../contexts";
|
||||
|
||||
/**
|
||||
* Snap — instant, decisive, precise.
|
||||
*
|
||||
* Use for: power-user tools, keyboard-driven UIs, anything that should
|
||||
* feel like a terminal command landing. Short durations, sharp easing,
|
||||
* no bounce. The interaction is over before you notice the animation.
|
||||
* Inspirations: Raycast, Linear, command palettes.
|
||||
*/
|
||||
export const snap: SeedConfig = {
|
||||
name: "Snap",
|
||||
vibe: "instant, decisive, precise",
|
||||
entrance: {
|
||||
initial: { opacity: 0 },
|
||||
animate: {
|
||||
opacity: 1,
|
||||
transition: { ease: [0, 0, 0.2, 1], duration: 0.18 },
|
||||
},
|
||||
},
|
||||
exit: {
|
||||
exit: {
|
||||
opacity: 0,
|
||||
transition: { ease: [0.4, 0, 1, 1], duration: 0.12 },
|
||||
},
|
||||
},
|
||||
hover: {
|
||||
whileHover: {
|
||||
filter: "brightness(1.08)",
|
||||
transition: { ease: [0.4, 0, 0.2, 1], duration: 0.1 },
|
||||
},
|
||||
},
|
||||
press: {
|
||||
whileTap: {
|
||||
scale: 0.97,
|
||||
transition: { ease: [0.4, 0, 0.2, 1], duration: 0.06 },
|
||||
},
|
||||
},
|
||||
layout: {
|
||||
layout: true,
|
||||
transition: { ease: [0.4, 0, 0.2, 1], duration: 0.18 },
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user