feat: add global animation styles

This commit is contained in:
TerryM
2026-05-28 21:55:17 +08:00
parent 15d873be63
commit 4e44636d68
4 changed files with 12 additions and 0 deletions

View File

@@ -20,6 +20,9 @@ body {
/* Match theme: avoid default blue accent on controls */
:root {
accent-color: #eeb726;
--animate-duration: 720ms;
--animate-delay: 0s;
--animate-repeat: 1;
}
header a,

View File

@@ -1,5 +1,6 @@
import React from "react";
import ReactDOM from "react-dom/client";
import "animate.css";
import "./index.css";
const adminOnly = import.meta.env.VITE_ADMIN_ONLY === "true";