248 lines
6.4 KiB
CSS
248 lines
6.4 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
/* Switched to dark mode as default with indigo accent palette */
|
|
:root {
|
|
--background: oklch(0.08 0.005 270);
|
|
--foreground: oklch(0.9 0.01 250);
|
|
--card: oklch(0.12 0.005 270);
|
|
--card-foreground: oklch(0.95 0 0);
|
|
--popover: oklch(0.12 0.005 270);
|
|
--popover-foreground: oklch(0.95 0 0);
|
|
--primary: oklch(0.95 0 0);
|
|
--primary-foreground: oklch(0.1 0 0);
|
|
--secondary: oklch(0.18 0.01 270);
|
|
--secondary-foreground: oklch(0.85 0 0);
|
|
--muted: oklch(0.18 0.005 270);
|
|
--muted-foreground: oklch(0.55 0.01 250);
|
|
--accent: oklch(0.6 0.2 270);
|
|
--accent-foreground: oklch(0.98 0 0);
|
|
--destructive: oklch(0.55 0.2 25);
|
|
--destructive-foreground: oklch(0.98 0 0);
|
|
--border: oklch(0.22 0.01 270);
|
|
--input: oklch(0.15 0.005 270);
|
|
--ring: oklch(0.6 0.2 270);
|
|
--chart-1: oklch(0.6 0.2 270);
|
|
--chart-2: oklch(0.65 0.15 180);
|
|
--chart-3: oklch(0.7 0.18 80);
|
|
--chart-4: oklch(0.6 0.2 300);
|
|
--chart-5: oklch(0.65 0.2 20);
|
|
--radius: 0.5rem;
|
|
--sidebar: oklch(0.1 0.005 270);
|
|
--sidebar-foreground: oklch(0.95 0 0);
|
|
--sidebar-primary: oklch(0.6 0.2 270);
|
|
--sidebar-primary-foreground: oklch(0.98 0 0);
|
|
--sidebar-accent: oklch(0.18 0.01 270);
|
|
--sidebar-accent-foreground: oklch(0.95 0 0);
|
|
--sidebar-border: oklch(0.2 0.01 270);
|
|
--sidebar-ring: oklch(0.6 0.2 270);
|
|
|
|
/* Accent colors */
|
|
--indigo: oklch(0.6 0.2 270);
|
|
--indigo-light: oklch(0.7 0.15 270);
|
|
--emerald: oklch(0.65 0.2 160);
|
|
}
|
|
|
|
@theme inline {
|
|
/* Adding tight tracking to Inter font for consistency */
|
|
--font-sans: "Inter", sans-serif;
|
|
--font-display: "Atma", cursive;
|
|
--font-heading: "Instrument Serif", serif;
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--color-card: var(--card);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-destructive: var(--destructive);
|
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
--color-border: var(--border);
|
|
--color-input: var(--input);
|
|
--color-ring: var(--ring);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-5: var(--chart-5);
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
/* Custom accent tokens */
|
|
--color-indigo: var(--indigo);
|
|
--color-indigo-light: var(--indigo-light);
|
|
--color-emerald: var(--emerald);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
/* Adding tight tracking to body text */
|
|
@apply bg-background text-foreground tracking-tight;
|
|
}
|
|
}
|
|
|
|
/* Glass panel effect for cards */
|
|
.glass-panel {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.glass-panel-hover:hover {
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
/* Gradient text effect */
|
|
.gradient-text {
|
|
background: linear-gradient(to right, #e5e5e5, #a3a3a3);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
/* Subtle scan line animation */
|
|
@keyframes scan {
|
|
0% {
|
|
transform: translateY(-100%);
|
|
}
|
|
100% {
|
|
transform: translateY(100%);
|
|
}
|
|
}
|
|
|
|
.scan-line {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.1), transparent);
|
|
animation: scan 4s linear infinite;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Dot grid background */
|
|
.dot-grid {
|
|
background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
|
|
background-size: 24px 24px;
|
|
}
|
|
|
|
.font-display {
|
|
font-family: "Atma", cursive;
|
|
}
|
|
|
|
/* Smooth fade-in animation */
|
|
@keyframes fade-in-up {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.animate-fade-in-up {
|
|
animation: fade-in-up 0.5s ease-out forwards;
|
|
}
|
|
|
|
.animation-delay-100 {
|
|
animation-delay: 100ms;
|
|
}
|
|
.animation-delay-200 {
|
|
animation-delay: 200ms;
|
|
}
|
|
.animation-delay-300 {
|
|
animation-delay: 300ms;
|
|
}
|
|
.animation-delay-400 {
|
|
animation-delay: 400ms;
|
|
}
|
|
.animation-delay-500 {
|
|
animation-delay: 500ms;
|
|
}
|
|
.animation-delay-700 {
|
|
animation-delay: 700ms;
|
|
}
|
|
.animation-delay-1000 {
|
|
animation-delay: 1000ms;
|
|
}
|
|
|
|
/* Floating animation for comic panels */
|
|
@keyframes float {
|
|
0%,
|
|
100% {
|
|
transform: translateY(0px) rotate(0deg);
|
|
}
|
|
50% {
|
|
transform: translateY(-10px) rotate(1deg);
|
|
}
|
|
}
|
|
|
|
@keyframes float-delayed {
|
|
0%,
|
|
100% {
|
|
transform: translateY(0px) rotate(0deg);
|
|
}
|
|
50% {
|
|
transform: translateY(-8px) rotate(-1deg);
|
|
}
|
|
}
|
|
|
|
.animate-float {
|
|
animation: float 6s ease-in-out infinite;
|
|
}
|
|
|
|
.animate-float-delayed {
|
|
animation: float-delayed 7s ease-in-out infinite;
|
|
animation-delay: 1s;
|
|
}
|
|
|
|
/* Custom toast styling to match glass-panel design */
|
|
[data-sonner-toast] {
|
|
background: rgba(255, 255, 255, 0.03) !important;
|
|
backdrop-filter: blur(10px) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
color: var(--foreground) !important;
|
|
}
|
|
|
|
[data-sonner-toast][data-type="success"] {
|
|
border-color: rgba(52, 211, 153, 0.2) !important;
|
|
}
|
|
|
|
[data-sonner-toast] [data-title] {
|
|
color: var(--foreground) !important;
|
|
font-weight: 500 !important;
|
|
}
|
|
|
|
[data-sonner-toast] [data-description] {
|
|
color: var(--muted-foreground) !important;
|
|
}
|
|
|
|
[data-sonner-toast] [data-close-button] {
|
|
border-color: rgba(255, 255, 255, 0.08) !important;
|
|
background: rgba(255, 255, 255, 0.05) !important;
|
|
}
|