# One Dark Pro

One Dark Pro - VS Code theme version.

## Installation

  <TabsTrigger value="cli">Command</TabsTrigger>
  <TabsTrigger value="manual">Manual</TabsTrigger>

```bash
npx shadcn@latest add @termcn/theme-onedarkpro
```

<Step>Copy and paste the following code into your project.</Step>

```ts
import type { Theme } from "@/components/ui/theme-provider";

export const onedarkproTheme: Theme = {
  border: {
    color: "#5c6370",
    focusColor: "#c678dd",
    style: "round",
  },
  colors: {
    accent: "#e06c75",
    accentForeground: "#1e222a",
    background: "#1e222a",
    border: "#5c6370",
    error: "#e06c75",
    errorForeground: "#1e222a",
    focusRing: "#c678dd",
    foreground: "#abb2bf",
    info: "#56b6c2",
    infoForeground: "#1e222a",
    muted: "#15181f",
    mutedForeground: "#5c6370",
    primary: "#61afef",
    primaryForeground: "#1e222a",
    secondary: "#2c313a",
    secondaryForeground: "#abb2bf",
    selection: "#61afef",
    selectionForeground: "#1e222a",
    success: "#98c379",
    successForeground: "#1e222a",
    warning: "#e5c07b",
    warningForeground: "#1e222a",
  },
  name: "onedarkpro",
  spacing: {
    0: 0,
    1: 1,
    2: 2,
    3: 3,
    4: 4,
    6: 6,
    8: 8,
  },
  typography: {
    base: "",
    bold: true,
    lg: "bold",
    sm: "dim",
    xl: "bold",
  },
};
```

<Step>Update the import paths to match your project setup.</Step>

## Usage

```tsx
import { ThemeProvider } from "@/components/ui/theme-provider";
import { onedarkproTheme } from "@/lib/terminal-themes/onedarkpro";
import { Badge } from "@/components/ui/badge";

export function Example() {
  return (
    <ThemeProvider theme={onedarkproTheme}>
      <Badge variant="info">{"One Dark Pro"}</Badge>
    </ThemeProvider>
  );
}
```