/* * The design tokens plugins build against: custom variants, the Tailwind * theme and shared utilities. Core imports it, and the SDK ships a copy that * `termix-plugin build` compiles a plugin's own classes against, so a plugin * class means the same thing wherever it is compiled. Values only; anything * that renders on its own belongs in index.css. */ @custom-variant dark (&:is(.dark *)); @custom-variant dracula (&:is(.dracula *)); @custom-variant catppuccin (&:is(.catppuccin *)); @custom-variant nord (&:is(.nord *)); @custom-variant solarized (&:is(.solarized *)); @custom-variant tokyo-night (&:is(.tokyo-night *)); @custom-variant one-dark (&:is(.one-dark *)); @custom-variant gruvbox (&:is(.gruvbox *)); @theme inline { --font-heading: var(--font-mono); --font-mono: var(--font-ui, "JetBrains Mono Variable", monospace); --color-accent-brand: var(--accent-brand); --color-sidebar-ring: var(--sidebar-ring); --color-sidebar-border: var(--sidebar-border); --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); --color-foreground: var(--foreground); --color-background: var(--background); --color-surface: var(--surface); --color-surface-dim: var(--surface-dim); --color-warning: var(--warning); --color-terminal-bg: var(--terminal-bg); --color-bg-base: var(--bg-base); --color-border-base: var(--border-base); --color-foreground-secondary: var(--foreground-secondary); --color-canvas: var(--canvas); --color-overlay: var(--overlay); --radius-sm: calc(var(--radius) * 0.6); --radius-md: calc(var(--radius) * 0.8); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) * 1.4); --radius-2xl: calc(var(--radius) * 1.8); --radius-3xl: calc(var(--radius) * 2.2); --radius-4xl: calc(var(--radius) * 2.6); } @utility scrollbar-none { scrollbar-width: none; &::-webkit-scrollbar { display: none; } } @utility thin-scrollbar { scrollbar-width: thin; scrollbar-color: oklch(1 0 0 / 15%) transparent; &::-webkit-scrollbar { width: 4px; } &::-webkit-scrollbar-track { background: transparent; } &::-webkit-scrollbar-thumb { background: oklch(1 0 0 / 15%); border-radius: 2px; } }