* chore: update streamdown dependencies Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com> * feat: style streamdown list elements Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com> * fix: streamdown import path and remove list styles Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com> --------- Co-authored-by: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
444 lines
13 KiB
CSS
444 lines
13 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
|
|
@source "../node_modules/streamdown/dist/*.js";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme inline {
|
|
--breakpoint-sidebar: 900px;
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--font-sans: var(--font-geist-sans);
|
|
--font-mono: var(--font-geist-mono);
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-active: var(--sidebar-active);
|
|
--color-sidebar-active-foreground: var(--sidebar-active-foreground);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-chart-5: var(--chart-5);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-ring: var(--ring);
|
|
--color-input: var(--input);
|
|
--color-border: var(--border);
|
|
--color-destructive: var(--destructive);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-card: var(--card);
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
--radius-2xl: calc(var(--radius) + 8px);
|
|
--radius-3xl: calc(var(--radius) + 12px);
|
|
--radius-4xl: calc(var(--radius) + 16px);
|
|
}
|
|
|
|
:root {
|
|
--radius: 0.625rem;
|
|
--background: oklch(1 0 0);
|
|
--foreground: oklch(0.141 0.005 285.823);
|
|
--card: oklch(1 0 0);
|
|
--card-foreground: oklch(0.141 0.005 285.823);
|
|
--popover: oklch(1 0 0);
|
|
--popover-foreground: oklch(0.141 0.005 285.823);
|
|
--primary: oklch(0.21 0.006 285.885);
|
|
--primary-foreground: oklch(0.985 0 0);
|
|
--secondary: oklch(0.967 0.001 286.375);
|
|
--secondary-foreground: oklch(0.21 0.006 285.885);
|
|
--muted: oklch(0.967 0.001 286.375);
|
|
--muted-foreground: oklch(0.552 0.016 285.938);
|
|
--accent: oklch(0.94 0.001 286.375);
|
|
--accent-foreground: oklch(0.21 0.006 285.885);
|
|
--destructive: oklch(0.577 0.245 27.325);
|
|
--border: oklch(0.92 0.004 286.32);
|
|
--input: oklch(0.92 0.004 286.32);
|
|
--ring: oklch(0.705 0.015 286.067);
|
|
--chart-1: oklch(0.646 0.222 41.116);
|
|
--chart-2: oklch(0.6 0.118 184.704);
|
|
--chart-3: oklch(0.398 0.07 227.392);
|
|
--chart-4: oklch(0.828 0.189 84.429);
|
|
--chart-5: oklch(0.769 0.188 70.08);
|
|
--sidebar: oklch(0.985 0 0);
|
|
--sidebar-foreground: oklch(0.141 0.005 285.823);
|
|
--sidebar-primary: oklch(0.21 0.006 285.885);
|
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
--sidebar-accent: oklch(0.967 0.001 286.375);
|
|
--sidebar-accent-foreground: oklch(0.21 0.006 285.885);
|
|
--sidebar-border: oklch(0.92 0.004 286.32);
|
|
--sidebar-ring: oklch(0.705 0.015 286.067);
|
|
--sidebar-active: oklch(0.948 0.002 286.32);
|
|
--sidebar-active-foreground: oklch(0.21 0.006 285.885);
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.141 0.005 285.823);
|
|
--foreground: oklch(0.985 0 0);
|
|
--card: oklch(0.21 0.006 285.885);
|
|
--card-foreground: oklch(0.985 0 0);
|
|
--popover: oklch(0.21 0.006 285.885);
|
|
--popover-foreground: oklch(0.985 0 0);
|
|
--primary: oklch(0.92 0.004 286.32);
|
|
--primary-foreground: oklch(0.21 0.006 285.885);
|
|
--secondary: oklch(0.274 0.006 286.033);
|
|
--secondary-foreground: oklch(0.985 0 0);
|
|
--muted: oklch(0.274 0.006 286.033);
|
|
--muted-foreground: oklch(0.705 0.015 286.067);
|
|
--accent: oklch(0.304 0.006 286.033);
|
|
--accent-foreground: oklch(0.985 0 0);
|
|
--destructive: oklch(0.704 0.191 22.216);
|
|
--border: oklch(1 0 0 / 10%);
|
|
--input: oklch(1 0 0 / 15%);
|
|
--ring: oklch(0.552 0.016 285.938);
|
|
--chart-1: oklch(0.488 0.243 264.376);
|
|
--chart-2: oklch(0.696 0.17 162.48);
|
|
--chart-3: oklch(0.769 0.188 70.08);
|
|
--chart-4: oklch(0.627 0.265 303.9);
|
|
--chart-5: oklch(0.645 0.246 16.439);
|
|
--sidebar: oklch(0.21 0.006 285.885);
|
|
--sidebar-foreground: oklch(0.985 0 0);
|
|
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
--sidebar-accent: oklch(0.274 0.006 286.033);
|
|
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
--sidebar-border: oklch(1 0 0 / 10%);
|
|
--sidebar-ring: oklch(0.552 0.016 285.938);
|
|
--sidebar-active: oklch(0.274 0.006 286.033);
|
|
--sidebar-active-foreground: oklch(0.985 0 0);
|
|
}
|
|
|
|
.landing {
|
|
--l-stage-slate-bg: #d4d4d4;
|
|
--l-stage-slate-img:
|
|
radial-gradient(
|
|
900px 420px at 26% 18%,
|
|
rgba(255, 255, 255, 0.5) 0%,
|
|
rgba(255, 255, 255, 0) 62%
|
|
),
|
|
radial-gradient(
|
|
720px 520px at 82% 72%,
|
|
rgba(0, 0, 0, 0.12) 0%,
|
|
rgba(0, 0, 0, 0) 58%
|
|
),
|
|
linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0) 55%);
|
|
--l-stage-slate-shadow:
|
|
0 50px 90px rgba(0, 0, 0, 0.1), 0 2px 0 rgba(255, 255, 255, 0.5) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.08) inset;
|
|
--l-stage-ash-bg: #cccccc;
|
|
--l-stage-ash-img:
|
|
radial-gradient(
|
|
900px 420px at 22% 20%,
|
|
rgba(255, 255, 255, 0.55) 0%,
|
|
rgba(255, 255, 255, 0) 62%
|
|
),
|
|
radial-gradient(
|
|
820px 560px at 80% 74%,
|
|
rgba(0, 0, 0, 0.1) 0%,
|
|
rgba(0, 0, 0, 0) 60%
|
|
),
|
|
linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 55%);
|
|
--l-stage-ash-shadow:
|
|
0 50px 90px rgba(0, 0, 0, 0.1), 0 2px 0 rgba(255, 255, 255, 0.5) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.08) inset;
|
|
--l-stage-iron-bg: #d0cec9;
|
|
--l-stage-iron-img:
|
|
radial-gradient(
|
|
900px 420px at 24% 18%,
|
|
rgba(255, 255, 255, 0.5) 0%,
|
|
rgba(255, 255, 255, 0) 62%
|
|
),
|
|
radial-gradient(
|
|
780px 560px at 82% 72%,
|
|
rgba(0, 0, 0, 0.1) 0%,
|
|
rgba(0, 0, 0, 0) 60%
|
|
),
|
|
linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0) 55%);
|
|
--l-stage-iron-shadow:
|
|
0 10px 20px rgba(0, 0, 0, 0.1), 0 2px 0 rgba(255, 255, 255, 0.5) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.08) inset;
|
|
--l-stage-overlay: rgba(0, 0, 0, 0.02);
|
|
--l-bg: #fafafa;
|
|
--l-surface: #ffffff;
|
|
--l-surface-2: #f0f0f0;
|
|
--l-surface-3: rgba(0, 0, 0, 0.04);
|
|
--l-surface-4: rgba(0, 0, 0, 0.07);
|
|
--l-border: rgba(0, 0, 0, 0.12);
|
|
--l-border-subtle: rgba(0, 0, 0, 0.06);
|
|
--l-fg: #0a0a0a;
|
|
--l-fg-2: rgba(0, 0, 0, 0.7);
|
|
--l-fg-3: rgba(0, 0, 0, 0.5);
|
|
--l-fg-4: rgba(0, 0, 0, 0.35);
|
|
--l-fg-5: rgba(0, 0, 0, 0.18);
|
|
--l-fg-6: rgba(0, 0, 0, 0.08);
|
|
--l-accent: #ff8a3d;
|
|
--l-panel: #ffffff;
|
|
--l-panel-fg: rgba(0, 0, 0, 0.85);
|
|
--l-panel-fg-2: rgba(0, 0, 0, 0.6);
|
|
--l-panel-fg-3: rgba(0, 0, 0, 0.4);
|
|
--l-panel-fg-4: rgba(0, 0, 0, 0.22);
|
|
--l-panel-fg-5: rgba(0, 0, 0, 0.1);
|
|
--l-panel-border: rgba(0, 0, 0, 0.12);
|
|
--l-panel-surface: rgba(0, 0, 0, 0.05);
|
|
--l-panel-active: rgba(0, 0, 0, 0.07);
|
|
--l-panel-dot: rgba(0, 0, 0, 0.35);
|
|
--l-btn-bg: #0a0a0a;
|
|
--l-btn-fg: #ffffff;
|
|
--l-btn-hover: rgba(0, 0, 0, 0.8);
|
|
--l-code-bg: #eaeaea;
|
|
--l-window-shadow:
|
|
0 40px 80px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.06);
|
|
--l-nav-bg: rgb(250, 250, 250);
|
|
}
|
|
|
|
.dark .landing {
|
|
--l-stage-slate-bg: #b8b8b8;
|
|
--l-stage-slate-img:
|
|
radial-gradient(
|
|
900px 420px at 26% 18%,
|
|
rgba(255, 255, 255, 0.55) 0%,
|
|
rgba(255, 255, 255, 0) 62%
|
|
),
|
|
radial-gradient(
|
|
720px 520px at 82% 72%,
|
|
rgba(0, 0, 0, 0.18) 0%,
|
|
rgba(0, 0, 0, 0) 58%
|
|
),
|
|
linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 55%);
|
|
--l-stage-slate-shadow:
|
|
0 50px 90px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(255, 255, 255, 0.06) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.24) inset;
|
|
--l-stage-ash-bg: #a8a8a8;
|
|
--l-stage-ash-img:
|
|
radial-gradient(
|
|
900px 420px at 22% 20%,
|
|
rgba(255, 255, 255, 0.6) 0%,
|
|
rgba(255, 255, 255, 0) 62%
|
|
),
|
|
radial-gradient(
|
|
820px 560px at 80% 74%,
|
|
rgba(0, 0, 0, 0.16) 0%,
|
|
rgba(0, 0, 0, 0) 60%
|
|
),
|
|
linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 55%);
|
|
--l-stage-ash-shadow:
|
|
0 50px 90px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(255, 255, 255, 0.06) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.24) inset;
|
|
--l-stage-iron-bg: #c0bdb8;
|
|
--l-stage-iron-img:
|
|
radial-gradient(
|
|
900px 420px at 24% 18%,
|
|
rgba(255, 255, 255, 0.55) 0%,
|
|
rgba(255, 255, 255, 0) 62%
|
|
),
|
|
radial-gradient(
|
|
780px 560px at 82% 72%,
|
|
rgba(0, 0, 0, 0.17) 0%,
|
|
rgba(0, 0, 0, 0) 60%
|
|
),
|
|
linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 55%);
|
|
--l-stage-iron-shadow:
|
|
0 50px 90px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(255, 255, 255, 0.06) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.24) inset;
|
|
--l-stage-overlay: rgba(0, 0, 0, 0.1);
|
|
--l-bg: #0a0a0a;
|
|
--l-surface: #111111;
|
|
--l-surface-2: #0a0a0a;
|
|
--l-surface-3: rgba(255, 255, 255, 0.03);
|
|
--l-surface-4: rgba(255, 255, 255, 0.05);
|
|
--l-border: rgba(255, 255, 255, 0.06);
|
|
--l-border-subtle: rgba(255, 255, 255, 0.04);
|
|
--l-fg: #ffffff;
|
|
--l-fg-2: rgba(255, 255, 255, 0.7);
|
|
--l-fg-3: rgba(255, 255, 255, 0.5);
|
|
--l-fg-4: rgba(255, 255, 255, 0.35);
|
|
--l-fg-5: rgba(255, 255, 255, 0.2);
|
|
--l-fg-6: rgba(255, 255, 255, 0.1);
|
|
--l-accent: #ff8a3d;
|
|
--l-panel: #0a0a0a;
|
|
--l-panel-fg: rgba(255, 255, 255, 0.6);
|
|
--l-panel-fg-2: rgba(255, 255, 255, 0.4);
|
|
--l-panel-fg-3: rgba(255, 255, 255, 0.25);
|
|
--l-panel-fg-4: rgba(255, 255, 255, 0.15);
|
|
--l-panel-fg-5: rgba(255, 255, 255, 0.08);
|
|
--l-panel-border: rgba(255, 255, 255, 0.06);
|
|
--l-panel-surface: rgba(255, 255, 255, 0.03);
|
|
--l-panel-active: rgba(255, 255, 255, 0.05);
|
|
--l-panel-dot: rgba(255, 255, 255, 0.25);
|
|
--l-btn-bg: #ffffff;
|
|
--l-btn-fg: #000000;
|
|
--l-btn-hover: rgba(255, 255, 255, 0.9);
|
|
--l-code-bg: #050505;
|
|
--l-window-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
|
|
--l-nav-bg: rgb(10, 10, 10);
|
|
}
|
|
|
|
.grain::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAP0lEQVR4nO3QoQkAIBAEwZ//aQ0YzZzJq8M0p7oJ9A8jzq0AAACAvw9Yx0n4Kkq6qgAAAAAAAAAAAPw4b8m8wN8bK9yS8yZ0bA9x5wAAc2u7oQAAAABJRU5ErkJggg==");
|
|
mix-blend-mode: overlay;
|
|
opacity: 0.06;
|
|
}
|
|
|
|
.scrollbar-fade {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: transparent transparent;
|
|
transition: scrollbar-color 0.3s;
|
|
}
|
|
|
|
.scrollbar-fade:hover {
|
|
scrollbar-color: var(--border) transparent;
|
|
}
|
|
|
|
.scrollbar-fade::-webkit-scrollbar {
|
|
height: 6px;
|
|
}
|
|
|
|
.scrollbar-fade::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.scrollbar-fade::-webkit-scrollbar-thumb {
|
|
background: transparent;
|
|
border-radius: 9999px;
|
|
transition: background 0.3s;
|
|
}
|
|
|
|
.scrollbar-fade:hover::-webkit-scrollbar-thumb {
|
|
background: var(--border);
|
|
}
|
|
|
|
.terminal-scroll {
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.terminal-scroll::-webkit-scrollbar {
|
|
display: none;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
pre {
|
|
white-space: pre !important;
|
|
}
|
|
pre code {
|
|
white-space: pre !important;
|
|
}
|
|
[data-streamdown="inline-code"] {
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--border);
|
|
border-radius: 9999px;
|
|
border: 2px solid transparent;
|
|
background-clip: content-box;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--muted-foreground);
|
|
border: 2px solid transparent;
|
|
background-clip: content-box;
|
|
}
|
|
|
|
::-webkit-scrollbar-corner {
|
|
background: transparent;
|
|
}
|
|
}
|
|
|
|
@keyframes slide-up-fade {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(6px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Wrapped profile page */
|
|
@keyframes wrapped-enter {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(14px);
|
|
filter: blur(0.5px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
filter: blur(0);
|
|
}
|
|
}
|
|
|
|
.wrapped-enter {
|
|
opacity: 0;
|
|
animation: wrapped-enter 650ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.wrapped-enter {
|
|
animation: none;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes wrapped-bar-fill {
|
|
from {
|
|
transform: scaleX(0);
|
|
}
|
|
to {
|
|
transform: scaleX(1);
|
|
}
|
|
}
|
|
|
|
.wrapped-bar-fill {
|
|
transform-origin: left;
|
|
transform: scaleX(0);
|
|
animation: wrapped-bar-fill 800ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.wrapped-bar-fill {
|
|
animation: none;
|
|
transform: scaleX(1);
|
|
}
|
|
}
|