Nexus / frontend /app /globals.css
ChandimaPrabath's picture
nexus auth integrated
cdf301a
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--background: #15171f;
/* Deeper dark background */
--foreground: #E0E0E0;
/* Light gray text */
--sidebar-background: #14141b;
/* Darker sidebar background */
--primary: #1f202a;
--secondary: #2a2b3b;
/* Soft secondary background for content */
--accent: #4a557f;
--hover-accent: #5c608a;
/* Slightly lighter accent color for hover */
--button-background: #3a3b4c;
/* Button background */
--button-hover: #2D2D38;
/* Darker button hover */
--shadow-dark: rgba(0, 0, 0, 0.15);
/* Shadow for depth */
}
@media (prefers-color-scheme: dark) {
:root {
--background: #15171f;
/* Deeper dark background */
--foreground: #E0E0E0;
/* Light gray text */
--sidebar-background: #14141b;
/* Darker sidebar background */
--primary: #1f202a;
--secondary: #2a2b3b;
/* Soft secondary background for content */
--accent: #4a557f;
--hover-accent: #5c608a;
/* Slightly lighter accent color for hover */
--button-background: #3a3b4c;
/* Button background */
--button-hover: #2D2D38;
/* Darker button hover */
--shadow-dark: rgba(0, 0, 0, 0.15);
/* Shadow for depth */
}
}
html,
body {
max-width: 100vw;
overflow-x: hidden;
}
body {
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
a {
color: inherit;
text-decoration: none;
}
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes pulse {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.025);
}
}
.pulse-and-fade {
animation: fadeIn .5s ease-in-out, pulse .3s ease-in-out;
}