mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
add animations to all text
This commit is contained in:
+11
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user