aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/index.css
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-03 03:51:29 +0900
committernsfisis <nsfisis@gmail.com>2025-12-04 23:27:28 +0900
commit58d132139ba8d5fa17c8681a0275047ce4cca809 (patch)
tree7dd18f5de496483b7d318e12e43379a51f3a6056 /frontend/src/index.css
parentaac4e9ccdebe52c156506d1899d5a38e99366f69 (diff)
downloadfeedaka-58d132139ba8d5fa17c8681a0275047ce4cca809.tar.gz
feedaka-58d132139ba8d5fa17c8681a0275047ce4cca809.tar.zst
feedaka-58d132139ba8d5fa17c8681a0275047ce4cca809.zip
feat(frontend): design update
Diffstat (limited to 'frontend/src/index.css')
-rw-r--r--frontend/src/index.css34
1 files changed, 34 insertions, 0 deletions
diff --git a/frontend/src/index.css b/frontend/src/index.css
index f1d8c73..ffebab9 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -1 +1,35 @@
@import "tailwindcss";
+
+@theme {
+ --animate-fade-in: fade-in 0.3s ease-out;
+ --animate-slide-up: slide-up 0.3s ease-out;
+}
+
+@keyframes fade-in {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+
+@keyframes slide-up {
+ from {
+ opacity: 0;
+ transform: translateY(8px);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+html {
+ scroll-behavior: smooth;
+}
+
+:focus-visible {
+ outline: 2px solid var(--color-sky-500);
+ outline-offset: 2px;
+}