# GitHub

GitHub's official dark theme.

## Installation

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

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

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

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

export const githubTheme: Theme = {
  border: {
    color: "#30363d",
    focusColor: "#58a6ff",
    style: "round",
  },
  colors: {
    accent: "#39c5cf",
    accentForeground: "#0d1117",
    background: "#0d1117",
    border: "#30363d",
    error: "#f85149",
    errorForeground: "#0d1117",
    focusRing: "#58a6ff",
    foreground: "#c9d1d9",
    info: "#d29922",
    infoForeground: "#0d1117",
    muted: "#161b22",
    mutedForeground: "#8b949e",
    primary: "#58a6ff",
    primaryForeground: "#0d1117",
    secondary: "#21262d",
    secondaryForeground: "#c9d1d9",
    selection: "#58a6ff",
    selectionForeground: "#0d1117",
    success: "#3fb950",
    successForeground: "#0d1117",
    warning: "#e3b341",
    warningForeground: "#0d1117",
  },
  name: "github",
  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 { githubTheme } from "@/lib/terminal-themes/github";
import { Badge } from "@/components/ui/badge";

export function Example() {
  return (
    <ThemeProvider theme={githubTheme}>
      <Badge variant="info">{"GitHub"}</Badge>
    </ThemeProvider>
  );
}
```