Files
PromptLab-Front-end/src/index.css
T
2025-10-29 12:43:08 +00:00

154 lines
3.7 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
/* HGTX Codex - Light Theme */
--background: 210 40% 98%;
--foreground: 222 47% 11%;
--card: 0 0% 100%;
--card-foreground: 222 47% 11%;
--popover: 0 0% 100%;
--popover-foreground: 222 47% 11%;
--primary: 190 100% 45%;
--primary-foreground: 0 0% 100%;
--secondary: 210 100% 45%;
--secondary-foreground: 0 0% 100%;
--muted: 210 40% 96%;
--muted-foreground: 215 16% 47%;
--accent: 190 100% 50%;
--accent-foreground: 0 0% 100%;
--destructive: 0 84% 60%;
--destructive-foreground: 0 0% 100%;
--border: 214 32% 91%;
--input: 214 32% 91%;
--ring: 190 100% 45%;
--radius: 0.75rem;
/* Sidebar specific - Light */
--sidebar-background: 210 40% 99%;
--sidebar-foreground: 222 47% 11%;
--sidebar-primary: 190 100% 45%;
--sidebar-primary-foreground: 0 0% 100%;
--sidebar-accent: 210 40% 95%;
--sidebar-accent-foreground: 222 47% 11%;
--sidebar-border: 214 32% 88%;
--sidebar-ring: 190 100% 45%;
/* Custom gradients - Light */
--gradient-cyber: linear-gradient(135deg, hsl(190 100% 45%) 0%, hsl(210 100% 45%) 100%);
--gradient-subtle: linear-gradient(180deg, hsl(210 40% 98%) 0%, hsl(210 40% 95%) 100%);
--glow-cyan: 0 0 40px hsl(190 100% 50% / 0.15);
--glow-blue: 0 0 30px hsl(210 100% 50% / 0.12);
/* Animation speeds */
--transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.dark {
/* HGTX Codex - Dark Theme */
--background: 222 47% 5%;
--foreground: 200 100% 95%;
--card: 222 40% 8%;
--card-foreground: 200 100% 95%;
--popover: 222 45% 10%;
--popover-foreground: 200 100% 95%;
--primary: 190 100% 50%;
--primary-foreground: 222 47% 5%;
--secondary: 210 100% 50%;
--secondary-foreground: 222 47% 5%;
--muted: 222 30% 15%;
--muted-foreground: 200 20% 65%;
--accent: 190 100% 60%;
--accent-foreground: 222 47% 5%;
--destructive: 0 84% 60%;
--destructive-foreground: 200 100% 95%;
--border: 222 30% 18%;
--input: 222 30% 18%;
--ring: 190 100% 50%;
/* Sidebar specific - Dark */
--sidebar-background: 222 45% 7%;
--sidebar-foreground: 200 100% 90%;
--sidebar-primary: 190 100% 50%;
--sidebar-primary-foreground: 222 47% 5%;
--sidebar-accent: 222 35% 12%;
--sidebar-accent-foreground: 190 100% 60%;
--sidebar-border: 222 30% 15%;
--sidebar-ring: 190 100% 50%;
/* Custom gradients - Dark */
--gradient-cyber: linear-gradient(135deg, hsl(190 100% 50%) 0%, hsl(210 100% 50%) 100%);
--gradient-subtle: linear-gradient(180deg, hsl(222 45% 8%) 0%, hsl(222 47% 5%) 100%);
--glow-cyan: 0 0 40px hsl(190 100% 50% / 0.3);
--glow-blue: 0 0 30px hsl(210 100% 50% / 0.25);
}
}
@layer base {
* {
@apply border-border transition-colors;
}
body {
@apply bg-background text-foreground font-sans antialiased;
font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
/* Scrollbar styling */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
@apply bg-background;
}
::-webkit-scrollbar-thumb {
@apply bg-muted rounded-full;
}
::-webkit-scrollbar-thumb:hover {
@apply bg-primary/50;
}
}
@layer components {
.glass-effect {
@apply bg-card/40 backdrop-blur-xl border border-border/50;
}
.cyber-glow {
box-shadow: var(--glow-cyan);
}
.cyber-border {
@apply border border-primary/30 rounded-lg;
box-shadow: 0 0 20px hsl(190 100% 50% / 0.1);
}
.gradient-text {
@apply bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent;
}
}