feat: website theme & animations

This commit is contained in:
bremea 2025-08-12 03:46:14 -04:00
parent a63943152e
commit 5deafdc3a8

View file

@ -1 +1,36 @@
@import url('/fonts/IosevkaSS12.css');
@import 'tailwindcss';
@theme {
--color-dark: oklch(0.1828 0.0204 284.2);
--color-primary: oklch(0.75 0.14 295);
--color-accent: oklch(0.8787 0.0426 272.28);
--font-iosevka: 'Iosevka SS12 Web', monospace;
--animate-sleep-z: sleepZ 1.5s ease-out forwards;
}
@layer base {
html,
body {
@apply bg-dark font-iosevka text-accent;
}
}
@keyframes sleepZ {
0% {
transform: translateY(0) translateX(0) rotate(0deg);
opacity: 0;
}
15% {
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
transform: translateY(-50px) translateX(-30px) rotate(15deg);
opacity: 0;
}
}