282 lines
6.6 KiB
CSS
282 lines
6.6 KiB
CSS
@import "tailwindcss";
|
|
|
|
@plugin "tailwindcss-animate";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme {
|
|
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
--font-mono: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
"Liberation Mono", "Courier New", monospace;
|
|
|
|
--radius-lg: var(--radius);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
|
|
--color-background: hsl(var(--background));
|
|
--color-foreground: hsl(var(--foreground));
|
|
|
|
--color-card: hsl(var(--card));
|
|
--color-card-foreground: hsl(var(--card-foreground));
|
|
|
|
--color-popover: hsl(var(--popover));
|
|
--color-popover-foreground: hsl(var(--popover-foreground));
|
|
|
|
--color-primary: hsl(var(--primary));
|
|
--color-primary-foreground: hsl(var(--primary-foreground));
|
|
|
|
--color-secondary: hsl(var(--secondary));
|
|
--color-secondary-foreground: hsl(var(--secondary-foreground));
|
|
|
|
--color-muted: hsl(var(--muted));
|
|
--color-muted-foreground: hsl(var(--muted-foreground));
|
|
|
|
--color-accent: hsl(var(--accent));
|
|
--color-accent-foreground: hsl(var(--accent-foreground));
|
|
|
|
--color-destructive: hsl(var(--destructive));
|
|
--color-destructive-foreground: hsl(var(--destructive-foreground));
|
|
|
|
--color-border: hsl(var(--border));
|
|
--color-input: hsl(var(--input));
|
|
--color-ring: hsl(var(--ring));
|
|
|
|
--color-chart-1: hsl(var(--chart-1));
|
|
--color-chart-2: hsl(var(--chart-2));
|
|
--color-chart-3: hsl(var(--chart-3));
|
|
--color-chart-4: hsl(var(--chart-4));
|
|
--color-chart-5: hsl(var(--chart-5));
|
|
}
|
|
|
|
@layer base {
|
|
:root {
|
|
--background: 0 0% 100%;
|
|
--foreground: 222.2 84% 4.9%;
|
|
--card: 0 0% 100%;
|
|
--card-foreground: 222.2 84% 4.9%;
|
|
--popover: 0 0% 100%;
|
|
--popover-foreground: 222.2 84% 4.9%;
|
|
--primary: 224 76% 48%;
|
|
/* Deep Blue */
|
|
--primary-foreground: 210 40% 98%;
|
|
--secondary: 25 95% 53%;
|
|
/* Sunset Orange */
|
|
--secondary-foreground: 210 40% 98%;
|
|
--muted: 210 40% 96.1%;
|
|
--muted-foreground: 215.4 16.3% 46.9%;
|
|
--accent: 210 40% 96.1%;
|
|
--accent-foreground: 222.2 47.4% 11.2%;
|
|
--destructive: 0 84.2% 60.2%;
|
|
--destructive-foreground: 210 40% 98%;
|
|
--border: 214.3 31.8% 91.4%;
|
|
--input: 214.3 31.8% 91.4%;
|
|
--ring: 224 76% 48%;
|
|
--radius: 0.5rem;
|
|
--sidebar-width: 450px;
|
|
|
|
--chart-1: 12 76% 61%;
|
|
--chart-2: 173 58% 39%;
|
|
--chart-3: 197 37% 24%;
|
|
--chart-4: 43 74% 66%;
|
|
--chart-5: 27 87% 67%;
|
|
}
|
|
|
|
.dark {
|
|
--background: 222 47% 2.5%;
|
|
--foreground: 210 40% 98%;
|
|
--card: 222 47% 8%;
|
|
--card-foreground: 210 40% 98%;
|
|
--popover: 222 47% 8%;
|
|
--popover-foreground: 210 40% 98%;
|
|
--primary: 224 76% 48%;
|
|
/* Deep Blue */
|
|
--primary-foreground: 210 40% 98%;
|
|
--secondary: 25 95% 53%;
|
|
/* Sunset Orange */
|
|
--secondary-foreground: 210 40% 98%;
|
|
--muted: 222 47% 14%;
|
|
--muted-foreground: 215 20.2% 65.1%;
|
|
--accent: 222 47% 16%;
|
|
--accent-foreground: 210 40% 98%;
|
|
--destructive: 0 84.2% 50%;
|
|
--destructive-foreground: 210 40% 98%;
|
|
--border: 222 47% 14%;
|
|
--input: 222 47% 14%;
|
|
--ring: 224 76% 48%;
|
|
|
|
--chart-1: 220 70% 50%;
|
|
--chart-2: 160 60% 45%;
|
|
--chart-3: 30 80% 55%;
|
|
--chart-4: 280 65% 60%;
|
|
--chart-5: 340 75% 55%;
|
|
}
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border;
|
|
}
|
|
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
}
|
|
|
|
/* Custom Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
@apply bg-background;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
@apply bg-muted-foreground/20 rounded-full border-2 border-background;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
@apply bg-muted-foreground/40;
|
|
}
|
|
|
|
/* Animations */
|
|
.fade-in {
|
|
animation: fadeIn 0.4s ease-out forwards;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(8px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes gradientMove {
|
|
0% {
|
|
background-position: 0% 50%;
|
|
}
|
|
|
|
50% {
|
|
background-position: 100% 50%;
|
|
}
|
|
|
|
100% {
|
|
background-position: 0% 50%;
|
|
}
|
|
}
|
|
|
|
.ai-gradient-text {
|
|
background: linear-gradient(74deg, #3b82f6 0%, #a855f7 46%, #f97316 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
color: transparent;
|
|
}
|
|
|
|
.ai-gradient-btn {
|
|
background-image: linear-gradient(135deg, #3b82f6, #a855f7, #f97316, #3b82f6) !important;
|
|
background-size: 180% 100% !important;
|
|
background-position: 0% 50%;
|
|
color: white !important;
|
|
border: none !important;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.ai-gradient-btn:hover {
|
|
animation: gradientMove 3s linear infinite !important;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.ai-outline-v2 {
|
|
transition: all 0.3s ease;
|
|
background: transparent !important;
|
|
border: 1.2px solid transparent !important;
|
|
background:
|
|
linear-gradient(hsl(var(--card)), hsl(var(--card))) padding-box,
|
|
linear-gradient(135deg, #3b82f6, #a855f7, #f97316) border-box !important;
|
|
color: white; /* Base color before gradient clip */
|
|
}
|
|
|
|
.ai-outline-v2:hover {
|
|
background: linear-gradient(135deg, #3b82f6, #a855f7, #f97316, #3b82f6) border-box !important;
|
|
background-size: 180% 100% !important;
|
|
animation: gradientMove 3s linear infinite !important;
|
|
color: white !important;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 10px 20px -10px rgba(59, 130, 246, 0.4);
|
|
}
|
|
|
|
.ai-outline-v2 .ai-icon-box {
|
|
background: linear-gradient(135deg, #3b82f6, #a855f7, #f97316);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ai-icon-svg {
|
|
stroke: url(#ai-gradient) !important;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.ai-outline-v2:hover .ai-icon-box,
|
|
.ai-outline-v2:hover .ai-icon-box svg,
|
|
.ai-outline-v2:hover .ai-icon-svg {
|
|
background: none !important;
|
|
-webkit-text-fill-color: white !important;
|
|
color: white !important;
|
|
stroke: white !important; /* Force the icon to white on hover */
|
|
}
|
|
|
|
/* Terminal custom scrollbar */
|
|
.scrollbar-terminal::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.scrollbar-terminal::-webkit-scrollbar-thumb {
|
|
@apply bg-white/10 rounded-full;
|
|
}
|
|
|
|
.scrollbar-terminal::-webkit-scrollbar-thumb:hover {
|
|
@apply bg-white/20;
|
|
}
|
|
|
|
/* Markdown styling */
|
|
.prose pre {
|
|
@apply bg-[#1a1b1e] border border-border/20 p-4 rounded-lg my-4 overflow-x-auto;
|
|
}
|
|
|
|
.prose code {
|
|
@apply text-primary font-mono;
|
|
}
|
|
|
|
.prose pre code {
|
|
@apply text-white/90 font-mono p-0;
|
|
}
|
|
|
|
.prose h1,
|
|
.prose h2,
|
|
.prose h3 {
|
|
@apply text-foreground font-bold mt-6 mb-2 tracking-tight;
|
|
}
|
|
|
|
.prose p {
|
|
@apply mb-4 text-muted-foreground leading-relaxed;
|
|
}
|
|
|
|
.prose ul,
|
|
.prose ol {
|
|
@apply ml-6 mb-4 space-y-2;
|
|
}
|
|
|
|
.prose li {
|
|
@apply text-muted-foreground;
|
|
} |