Files
nextjs/app/globals.css
2024-12-16 13:30:44 +05:30

38 lines
594 B
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--background: #ffffff;
--foreground: #171717;
}
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}
body {
font-family: Arial, Helvetica, sans-serif;
}
/* fade-in animation */
@keyframes fadeIn {
from {
opacity: 0;
/* transform: translateY(10px); Optional slight slide effect */
}
to {
opacity: 1;
/* transform: translateY(0); */
}
}
/* Add a reusable class for the fade-in effect */
.fade-in {
animation: fadeIn 0.5s ease-in-out;
}