# Nord

A cool Nord palette tuned for terminal contrast.

## Installation

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

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

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

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

export const nordTheme: Theme = {
  border: {
    color: "#4C566A",
    focusColor: "#88C0D0",
    style: "round",
  },
  colors: {
    accent: "#81A1C1",
    accentForeground: "#2E3440",
    background: "#2E3440",
    border: "#4C566A",
    error: "#BF616A",
    errorForeground: "#ECEFF4",

    focusRing: "#88C0D0",
    foreground: "#ECEFF4",
    info: "#5E81AC",
    infoForeground: "#ECEFF4",
    muted: "#3B4252",
    mutedForeground: "#4C566A",
    primary: "#88C0D0",
    primaryForeground: "#2E3440",

    secondary: "#4C566A",
    secondaryForeground: "#ECEFF4",
    selection: "#3B4252",
    selectionForeground: "#ECEFF4",
    success: "#A3BE8C",

    successForeground: "#2E3440",
    warning: "#EBCB8B",
    warningForeground: "#2E3440",
  },
  name: "nord",
  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 { nordTheme } from "@/lib/terminal-themes/nord";
import { Badge } from "@/components/ui/badge";

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