mirror of https://github.com/VERT-sh/VERT.git
fix: animation consistency (#9)
* feat: basic dark mode * feat: theme toggle * Completed dark mode and about page changes * Fix progressive blur on dark mode * feat: dynadark tailwind plugin for dark detection * feat: fix "supported formats" text * fix: animation consistency * fix: page transition origin --------- Co-authored-by: Realmy <163438634+RealmyTheMan@users.noreply.github.com>
This commit is contained in:
parent
6cb64d1b8e
commit
8c3a46f11c
|
|
@ -55,7 +55,7 @@ export const blur = (
|
||||||
origin: Combination<
|
origin: Combination<
|
||||||
"top" | "bottom" | "left" | "right" | "center",
|
"top" | "bottom" | "left" | "right" | "center",
|
||||||
"top" | "bottom" | "left" | "right" | "center"
|
"top" | "bottom" | "left" | "right" | "center"
|
||||||
>;
|
> & {};
|
||||||
}>
|
}>
|
||||||
| undefined,
|
| undefined,
|
||||||
dir: {
|
dir: {
|
||||||
|
|
|
||||||
|
|
@ -130,10 +130,15 @@
|
||||||
start: !$shouldGoBack ? 250 : -250,
|
start: !$shouldGoBack ? 250 : -250,
|
||||||
end: 0,
|
end: 0,
|
||||||
},
|
},
|
||||||
|
y: {
|
||||||
|
start: 100,
|
||||||
|
end: 0,
|
||||||
|
},
|
||||||
scale: {
|
scale: {
|
||||||
start: 0.75,
|
start: 0.75,
|
||||||
end: 1,
|
end: 1,
|
||||||
},
|
},
|
||||||
|
origin: "top center",
|
||||||
}}
|
}}
|
||||||
out:blur={{
|
out:blur={{
|
||||||
duration,
|
duration,
|
||||||
|
|
@ -143,10 +148,15 @@
|
||||||
start: 0,
|
start: 0,
|
||||||
end: !$shouldGoBack ? -250 : 250,
|
end: !$shouldGoBack ? -250 : 250,
|
||||||
},
|
},
|
||||||
|
y: {
|
||||||
|
start: 0,
|
||||||
|
end: 100,
|
||||||
|
},
|
||||||
scale: {
|
scale: {
|
||||||
start: 1,
|
start: 1,
|
||||||
end: 0.75,
|
end: 0.75,
|
||||||
},
|
},
|
||||||
|
origin: "top center",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class="pb-20">
|
<div class="pb-20">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue