An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
@import 'tailwindcss';
@source "../node_modules/streamdown/dist/index.js";
@custom-variant dark (&:is(.dark *));
:root {
--background: oklch(0.99 0 0);
--foreground: oklch(0 0 0);
--card: oklch(1 0 0);
--card-foreground: oklch(0 0 0);
--popover: oklch(0.99 0 0);
--popover-foreground: oklch(0 0 0);
--primary: oklch(0 0 0);
--primary-foreground: oklch(1 0 0);
--secondary: oklch(0.94 0 0);
--secondary-foreground: oklch(0 0 0);
--muted: oklch(0.97 0 0);
--muted-foreground: oklch(0.44 0 0);
--accent: oklch(0.94 0 0);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.63 0.19 23.03);
--destructive-foreground: oklch(1 0 0);
--border: oklch(0.92 0 0);
--input: oklch(0.94 0 0);
--ring: oklch(0 0 0);
--chart-1: oklch(0.81 0.17 75.35);
--chart-2: oklch(0.55 0.22 264.53);
--chart-3: oklch(0.72 0 0);
--chart-4: oklch(0.92 0 0);
--chart-5: oklch(0.56 0 0);
--sidebar: oklch(0.97 0 0);
--sidebar-foreground: oklch(0 0 0);
--sidebar-primary: oklch(0 0 0);
--sidebar-primary-foreground: oklch(1 0 0);
--sidebar-accent: oklch(0.94 0 0);
--sidebar-accent-foreground: oklch(0 0 0);
--sidebar-border: oklch(0.94 0 0);
--sidebar-ring: oklch(0 0 0);
--font-sans: Geist, sans-serif;
--font-serif: Georgia, serif;
--font-mono: Geist Mono, monospace;
--radius: 0.5rem;
--shadow-2xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.09);
--shadow-xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.09);
--shadow-sm:
0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 1px 2px -1px hsl(0 0% 0% / 0.18);
--shadow:
0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 1px 2px -1px hsl(0 0% 0% / 0.18);
--shadow-md:
0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 2px 4px -1px hsl(0 0% 0% / 0.18);
--shadow-lg:
0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 4px 6px -1px hsl(0 0% 0% / 0.18);
--shadow-xl:
0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 8px 10px -1px hsl(0 0% 0% / 0.18);
--shadow-2xl: 0px 1px 2px 0px hsl(0 0% 0% / 0.45);
--tracking-normal: 0em;
--spacing: 0.25rem;
--motion-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
--motion-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
--motion-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}
.dark {
--background: oklch(0 0 0);
--foreground: oklch(1 0 0);
--card: oklch(0.14 0 0);
--card-foreground: oklch(1 0 0);
--popover: oklch(0.18 0 0);
--popover-foreground: oklch(1 0 0);
--primary: oklch(1 0 0);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.25 0 0);
--secondary-foreground: oklch(1 0 0);
--muted: oklch(0.23 0 0);
--muted-foreground: oklch(0.72 0 0);
--accent: oklch(0.32 0 0);
--accent-foreground: oklch(1 0 0);
--destructive: oklch(0.69 0.2 23.91);
--destructive-foreground: oklch(0 0 0);
--border: oklch(0.26 0 0);
--input: oklch(0.32 0 0);
--ring: oklch(0.72 0 0);
--chart-1: oklch(0.81 0.17 75.35);
--chart-2: oklch(0.58 0.21 260.84);
--chart-3: oklch(0.56 0 0);
--chart-4: oklch(0.44 0 0);
--chart-5: oklch(0.92 0 0);
--sidebar: oklch(0.23 0 0);
--sidebar-foreground: oklch(1 0 0);
--sidebar-primary: oklch(1 0 0);
--sidebar-primary-foreground: oklch(0 0 0);
--sidebar-accent: oklch(0.32 0 0);
--sidebar-accent-foreground: oklch(1 0 0);
--sidebar-border: oklch(0.32 0 0);
--sidebar-ring: oklch(0.72 0 0);
--font-sans: Geist, sans-serif;
--font-serif: Georgia, serif;
--font-mono: Geist Mono, monospace;
--radius: 0.5rem;
--shadow-2xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.09);
--shadow-xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.09);
--shadow-sm:
0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 1px 2px -1px hsl(0 0% 0% / 0.18);
--shadow:
0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 1px 2px -1px hsl(0 0% 0% / 0.18);
--shadow-md:
0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 2px 4px -1px hsl(0 0% 0% / 0.18);
--shadow-lg:
0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 4px 6px -1px hsl(0 0% 0% / 0.18);
--shadow-xl:
0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 8px 10px -1px hsl(0 0% 0% / 0.18);
--shadow-2xl: 0px 1px 2px 0px hsl(0 0% 0% / 0.45);
}
@theme inline {
--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);
--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);
--font-sans: var(--font-sans);
--font-mono: var(--font-mono);
--font-serif: var(--font-serif);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
--shadow-2xs: var(--shadow-2xs);
--shadow-xs: var(--shadow-xs);
--shadow-sm: var(--shadow-sm);
--shadow: var(--shadow);
--shadow-md: var(--shadow-md);
--shadow-lg: var(--shadow-lg);
--shadow-xl: var(--shadow-xl);
--shadow-2xl: var(--shadow-2xl);
--animate-accordion-down: accordion-down 180ms var(--motion-ease-out);
--animate-accordion-up: accordion-up 140ms var(--motion-ease-out);
--animate-collapse-down: collapse-down 160ms var(--motion-ease-out);
--animate-collapse-up: collapse-up 120ms var(--motion-ease-out);
--animate-slide-in-right: slide-in-right 220ms var(--motion-ease-drawer);
--animate-slide-out-right: slide-out-right 160ms var(--motion-ease-out);
--animate-fade-in: fade-in 180ms var(--motion-ease-out);
@keyframes accordion-down {
from {
height: 0;
}
to {
height: var(--radix-accordion-content-height);
}
}
@keyframes accordion-up {
from {
height: var(--radix-accordion-content-height);
}
to {
height: 0;
}
}
@keyframes collapse-down {
from {
height: 0;
opacity: 0;
}
to {
height: var(--radix-collapsible-content-height);
opacity: 1;
}
}
@keyframes collapse-up {
from {
height: var(--radix-collapsible-content-height);
opacity: 1;
}
to {
height: 0;
opacity: 0;
}
}
@keyframes slide-in-right {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes slide-out-right {
from {
transform: translateX(0);
opacity: 1;
}
to {
transform: translateX(100%);
opacity: 0;
}
}
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes blink {
0%,
100% {
ry: 18;
}
50% {
ry: 0;
}
}
@keyframes lookAround {
0%,
100% {
transform: translateX(0);
}
18%,
30% {
transform: translateX(6px);
}
48%,
60% {
transform: translateX(-6px);
}
78% {
transform: translateX(0);
}
}
}
@utility animate-blink {
animation: blink 180ms var(--motion-ease-in-out);
}
/* Animation utilities for dropdown menu */
@utility animate-in {
animation-name: enter;
animation-duration: var(--tw-duration, 160ms);
animation-timing-function: var(--tw-ease, var(--motion-ease-out));
animation-fill-mode: both;
}
@utility animate-out {
animation-name: exit;
animation-duration: var(--tw-duration, 120ms);
animation-timing-function: var(--tw-ease, var(--motion-ease-out));
animation-fill-mode: both;
}
@utility fade-in-0 {
--enter-opacity: 0;
}
@utility fade-out-0 {
--exit-opacity: 0;
}
@utility zoom-in-95 {
--enter-scale: 0.95;
}
@utility zoom-out-95 {
--exit-scale: 0.95;
}
@utility slide-in-from-top-2 {
--enter-translate-y: -0.5rem;
}
@utility slide-in-from-bottom-2 {
--enter-translate-y: 0.5rem;
}
@utility slide-in-from-left-2 {
--enter-translate-x: -0.5rem;
}
@utility slide-in-from-right-2 {
--enter-translate-x: 0.5rem;
}
@utility slide-in-from-top {
--enter-translate-y: -100%;
}
@utility slide-in-from-bottom {
--enter-translate-y: 100%;
}
@utility slide-in-from-left {
--enter-translate-x: -100%;
}
@utility slide-in-from-right {
--enter-translate-x: 100%;
}
@utility slide-out-to-top {
--exit-translate-y: -100%;
}
@utility slide-out-to-bottom {
--exit-translate-y: 100%;
}
@utility slide-out-to-left {
--exit-translate-x: -100%;
}
@utility slide-out-to-right {
--exit-translate-x: 100%;
}
@keyframes enter {
from {
opacity: var(--enter-opacity, 1);
transform: translate(
var(--enter-translate-x, 0),
var(--enter-translate-y, 0)
)
scale(var(--enter-scale, 1));
}
to {
opacity: 1;
transform: translate(0, 0) scale(1);
}
}
@keyframes exit {
from {
opacity: 1;
transform: translate(0, 0) scale(1);
}
to {
opacity: var(--exit-opacity, 1);
transform: translate(var(--exit-translate-x, 0), var(--exit-translate-y, 0))
scale(var(--exit-scale, 1));
}
}
@media (prefers-reduced-motion: reduce) {
@keyframes enter {
from {
opacity: var(--enter-opacity, 1);
transform: translate(0, 0) scale(1);
}
to {
opacity: 1;
transform: translate(0, 0) scale(1);
}
}
@keyframes exit {
from {
opacity: 1;
transform: translate(0, 0) scale(1);
}
to {
opacity: var(--exit-opacity, 1);
transform: translate(0, 0) scale(1);
}
}
}
@utility container {
margin-inline: auto;
padding-inline: 2rem;
@media (width >= --theme(--breakpoint-sm)) {
max-width: none;
}
@media (width >= 1400px) {
max-width: 1400px;
}
}
@utility prose {
/* Heading styles for prose */
& h1 {
@apply text-3xl font-bold tracking-tight mt-10 mb-6;
}
& h2 {
@apply text-2xl font-semibold tracking-tight mt-8 mb-4;
}
& h3 {
@apply text-xl font-semibold tracking-tight mt-6 mb-3;
}
& h4 {
@apply text-lg font-medium tracking-tight mt-5 mb-2;
}
& h5 {
@apply text-base font-medium mt-4 mb-2;
}
& h6 {
@apply text-sm font-medium mt-4 mb-2;
}
}
@utility prose-sm {
& h1 {
@apply text-2xl font-bold tracking-tight mt-8 mb-4;
}
& h2 {
@apply text-xl font-semibold tracking-tight mt-6 mb-3;
}
& h3 {
@apply text-lg font-semibold tracking-tight mt-5 mb-2;
}
& h4 {
@apply text-base font-medium tracking-tight mt-4 mb-2;
}
& h5 {
@apply text-sm font-medium mt-3 mb-1;
}
& h6 {
@apply text-xs font-medium mt-3 mb-1;
}
}
@utility prose-neutral {
/* Neutral theme styling for all headings */
& h1 {
@apply text-foreground border-b-2 border-border/50 pb-3;
}
& h2 {
@apply text-foreground/90 border-b border-border/40 pb-2;
}
& h3 {
@apply text-foreground/85;
}
& h4 {
@apply text-foreground/80;
}
& h5 {
@apply text-foreground/75;
}
& h6 {
@apply text-foreground/70;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
/* Tailwind v4: Restore pointer cursor for buttons */
button:not(:disabled),
[role='button']:not(:disabled) {
cursor: pointer;
}
}