Skip to content

Commit

Permalink
fix nausea and choo choo not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Nov 20, 2024
1 parent b503580 commit e461953
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions frontend/src/ts/test/funbox/funbox-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const list: FunboxMetadata[] = [
name: "nausea",
info: "I think I'm gonna be sick.",
hasCSS: true,
cssModification: ["typingTest", "animation"],
cssModification: ["typingTest"],
},
{
name: "round_round_baby",
Expand Down Expand Up @@ -48,7 +48,7 @@ const list: FunboxMetadata[] = [
info: "All the letters are spinning!",
properties: ["noLigatures", "conflictsWithSymmetricChars"],
hasCSS: true,
cssModification: ["words", "animation"],
cssModification: ["words"],
},
{
name: "arrows",
Expand Down
6 changes: 3 additions & 3 deletions frontend/static/funbox/choo_choo.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@keyframes woah {
@keyframes choochoo {
0% {
transform: rotateZ(0deg);
}
Expand All @@ -13,6 +13,6 @@
}

#words {
--correct-letter-animation: woah 2s infinite linear;
--untyped-letter-animation: woah 2s infinite linear;
--correct-letter-animation: choochoo 2s infinite linear;
--untyped-letter-animation: choochoo 2s infinite linear;
}
4 changes: 2 additions & 2 deletions frontend/static/funbox/nausea.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@keyframes woah {
@keyframes nausea {
0% {
transform: rotateY(-15deg) skewY(10deg) rotateX(-15deg) scaleX(1.2)
scaleY(0.9);
Expand All @@ -25,7 +25,7 @@
}

#typingTest {
animation: woah 7s infinite cubic-bezier(0.5, 0, 0.5, 1);
animation: nausea 7s infinite cubic-bezier(0.5, 0, 0.5, 1);
}

header {
Expand Down

0 comments on commit e461953

Please sign in to comment.