add animations to all text

This commit is contained in:
SethBurkart123
2023-10-11 16:36:01 +11:00
parent b0f41b94a3
commit c5cab55002
+11 -1
View File
@@ -1,5 +1,5 @@
/*global chrome*/
import { animate, spring } from "motion";
import { animate, spring, stagger } from "motion";
import Color from "color";
import ShortcutLinks from "./seqta/content/links.json";
@@ -186,6 +186,16 @@ function OpenWhatsNewPopup() {
{ easing: spring({ stiffness: 220, damping: 18 }) }
);
animate(
".whatsnewTextContainer *",
{ opacity: [0, 1], y: [10, 0] },
{
delay: stagger(0.05, { start: 0.1 }),
duration: 0.5,
easing: [.22, .03, .26, 1]
}
);
chrome.storage.local.remove(["justupdated"]);
bkelement.addEventListener("click", function (event) {