CodeLens / dashboard /src /index.css
ArshVerma's picture
Switch dashboard to Light Mode Premium Aesthetic
3fc3cc7
Raw
History Blame Contribute Delete
2.29 kB
@import "tailwindcss";
:root {
/* Premium Light Mode Glassmorphism Tokens */
--color-bg: #f8fafc; /* slate-50 β€” very light premium background */
--color-surface: rgba(255, 255, 255, 0.7); /* pure white with opacity for glass */
--color-border: rgba(0, 0, 0, 0.08); /* subtle dark borders */
--color-heading: #0f172a; /* slate-900 β€” deep elegant text */
--color-body: #475569; /* slate-600 β€” muted body text */
--color-muted: #64748b; /* slate-500 β€” very muted */
--color-accent: #6366f1; /* indigo-500 */
--color-accent-glow: rgba(99, 102, 241, 0.15);
--color-success: #10b981; /* emerald-500 */
--color-warning: #f59e0b; /* amber-500 */
--color-danger: #ef4444; /* red-500 */
}
* {
box-sizing: border-box;
}
body {
background-color: var(--color-bg);
background-image:
radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.06), transparent 25%),
radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.06), transparent 25%);
color: var(--color-body);
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
min-height: 100vh;
}
/* Glassmorphism utilities */
.glass-panel {
background: var(--color-surface);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--color-border);
box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.03);
}
/* Elegant scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
/* Smooth fade-in for event rows */
@keyframes fadeSlideIn {
from {
opacity: 0;
transform: translateY(-8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-slide-in {
animation: fadeSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hover-lift {
transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.hover-lift:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 0 15px var(--color-accent-glow);
}