mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
add animations to all text
This commit is contained in:
+11
-1
@@ -1,5 +1,5 @@
|
|||||||
/*global chrome*/
|
/*global chrome*/
|
||||||
import { animate, spring } from "motion";
|
import { animate, spring, stagger } from "motion";
|
||||||
import Color from "color";
|
import Color from "color";
|
||||||
|
|
||||||
import ShortcutLinks from "./seqta/content/links.json";
|
import ShortcutLinks from "./seqta/content/links.json";
|
||||||
@@ -186,6 +186,16 @@ function OpenWhatsNewPopup() {
|
|||||||
{ easing: spring({ stiffness: 220, damping: 18 }) }
|
{ 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"]);
|
chrome.storage.local.remove(["justupdated"]);
|
||||||
|
|
||||||
bkelement.addEventListener("click", function (event) {
|
bkelement.addEventListener("click", function (event) {
|
||||||
|
|||||||
Reference in New Issue
Block a user