# Gruvbox

Retro-style theme with warm earth tones.

## Installation

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

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

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

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

export const gruvboxTheme: Theme = {
  border: {
    color: "#928374",
    focusColor: "#fb4934",
    style: "round",
  },
  colors: {
    accent: "#fb4934",
    accentForeground: "#282828",
    background: "#282828",
    border: "#928374",
    error: "#fb4934",
    errorForeground: "#282828",
    focusRing: "#fb4934",
    foreground: "#ebdbb2",
    info: "#d3869b",
    infoForeground: "#282828",
    muted: "#1d2021",
    mutedForeground: "#928374",
    primary: "#83a598",
    primaryForeground: "#282828",
    secondary: "#32302f",
    secondaryForeground: "#ebdbb2",
    selection: "#83a598",
    selectionForeground: "#282828",
    success: "#b8bb26",
    successForeground: "#282828",
    warning: "#fabd2f",
    warningForeground: "#282828",
  },
  name: "gruvbox",
  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 { gruvboxTheme } from "@/lib/terminal-themes/gruvbox";
import { Badge } from "@/components/ui/badge";

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