@import "tailwindcss"; @import "tw-animate-css"; @plugin "@kobalte/tailwindcss"; @custom-variant dark (&:where(.dark, .dark *, [data-kb-theme=dark], [data-kb-theme=dark] *)); :root { --background: oklch(1 0 0); --foreground: oklch(0.145 0 0); --card: oklch(1 0 0); --card-foreground: oklch(0.145 0 0); --popover: oklch(1 0 0); --popover-foreground: oklch(0.145 0 0); --primary: oklch(0.205 0 0); --primary-foreground: oklch(0.985 0 0); --secondary: oklch(0.97 0 0); --secondary-foreground: oklch(0.205 0 0); --muted: oklch(0.97 0 0); --muted-foreground: oklch(0.556 0 0); --accent: oklch(0.97 0 0); --accent-foreground: oklch(0.205 0 0); --destructive: oklch(0.577 0.245 27.325); --destructive-foreground: oklch(0.577 0.245 27.325); --info: oklch(0.95 0.024 236.81); --info-foreground: oklch(0.68 0.148143 238.1044); --success: oklch(0.95 0.0506 162.83); --success-foreground: oklch(0.69 0.1481 162.37); --warning: oklch(0.96 0.0569 95.61); --warning-foreground: oklch(0.71 0.186 48.13); --error: oklch(0.93 0.0314 17.73); --error-foreground: oklch(0.64 0.2082 25.38); --border: oklch(0.922 0 0); --input: oklch(0.922 0 0); --ring: oklch(0.708 0 0); --sidebar: oklch(0.985 0 0); --sidebar-foreground: oklch(0.145 0 0); --sidebar-primary: oklch(0.205 0 0); --sidebar-primary-foreground: oklch(0.985 0 0); --sidebar-accent: oklch(0.97 0 0); --sidebar-accent-foreground: oklch(0.205 0 0); --sidebar-border: oklch(0.922 0 0); --sidebar-ring: oklch(0.708 0 0); } .dark, [data-kb-theme="dark"] { --background: oklch(0.145 0 0); --foreground: oklch(0.985 0 0); --card: oklch(0.145 0 0); --card-foreground: oklch(0.985 0 0); --popover: oklch(0.145 0 0); --popover-foreground: oklch(0.985 0 0); --primary: oklch(0.985 0 0); --primary-foreground: oklch(0.205 0 0); --secondary: oklch(0.269 0 0); --secondary-foreground: oklch(0.985 0 0); --muted: oklch(0.269 0 0); --muted-foreground: oklch(0.708 0 0); --accent: oklch(0.269 0 0); --accent-foreground: oklch(0.985 0 0); --destructive: oklch(0.396 0.141 25.723); --destructive-foreground: oklch(0.637 0.237 25.331); --info: oklch(0.28 0.0875 267.91); --info-foreground: oklch(0.68 0.148143 238.1044); --success: oklch(0.26 0.0487 172.54); --success-foreground: oklch(0.69 0.1481 162.37); --warning: oklch(0.29 0.0638 53.82); --warning-foreground: oklch(0.71 0.186 48.13); --error: oklch(0.26 0.0886 26.05); --error-foreground: oklch(0.64 0.2082 25.38); --border: oklch(0.269 0 0); --input: oklch(0.269 0 0); --ring: oklch(0.439 0 0); --sidebar: oklch(0.205 0 0); --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.269 0 0); --sidebar-accent-foreground: oklch(0.985 0 0); --sidebar-border: oklch(0.269 0 0); --sidebar-ring: oklch(0.439 0 0); } @theme { --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-info: var(--info); --color-info-foreground: var(--info-foreground); --color-success: var(--success); --color-success-foreground: var(--success-foreground); --color-warning: var(--warning); --color-warning-foreground: var(--warning-foreground); --color-error: var(--error); --color-error-foreground: var(--error-foreground); --color-border: var(--border); --color-input: var(--input); --color-ring: var(--ring); --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); --radius: 0.5rem; --radius-sm: calc(var(--radius) - 4px); --radius-md: calc(var(--radius) - 2px); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) + 4px); --font-*: initial; --font-sans: "Geist Sans", sans-serif; --font-mono: "Geist Mono", monospace; @keyframes accordion-down { from { height: 0; } to { height: var(--kb-accordion-content-height); } } @keyframes accordion-up { from { height: var(--kb-accordion-content-height); } to { height: 0; } } @keyframes content-show { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } } @keyframes content-hide { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.96); } } } @utility container { @apply px-8; @media (width >=--theme(--breakpoint-sm)) { @apply max-w-none; } @media (max-width: 640px) { @apply px-4; } } @utility step { counter-increment: step; &:before { @apply absolute ml-[-50px] mt-[-4px] inline-flex h-9 w-9 items-center justify-center rounded-full border-4 border-background bg-muted text-center -indent-px font-mono text-base font-medium; content: counter(step); } } @layer base { @font-face { font-family: "Geist Sans"; src: url("/fonts/Geist.woff2") format("woff2"); font-display: swap; } @font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono.woff2") format("woff2"); font-display: swap; } * { @apply border-border outline-ring/50; } body { @apply bg-background text-foreground; } /** * Scrollbar */ ::-webkit-scrollbar { @apply w-4; } ::-webkit-scrollbar-thumb { @apply rounded-full border-4 border-transparent bg-accent bg-clip-content; } ::-webkit-scrollbar-corner { @apply hidden; } /** * Corvu Resizable Panel */ [data-corvu-resizable-panel]:has(+ [data-corvu-resizable-handle][data-dragging]) iframe { pointer-events: none; } }