# Palenight

Purple-tinted dark theme from React Native.

## Installation

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

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

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

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

export const palenightTheme: Theme = {
  border: {
    color: "#676e95",
    focusColor: "#c792ea",
    style: "round",
  },
  colors: {
    accent: "#89ddff",
    accentForeground: "#292d3e",
    background: "#292d3e",
    border: "#676e95",
    error: "#f07178",
    errorForeground: "#292d3e",
    focusRing: "#c792ea",
    foreground: "#a6accd",
    info: "#f78c6c",
    infoForeground: "#292d3e",
    muted: "#1e2130",
    mutedForeground: "#676e95",
    primary: "#82aaff",
    primaryForeground: "#292d3e",
    secondary: "#383d4f",
    secondaryForeground: "#a6accd",
    selection: "#82aaff",
    selectionForeground: "#292d3e",
    success: "#c3e88d",
    successForeground: "#292d3e",
    warning: "#ffcb6b",
    warningForeground: "#292d3e",
  },
  name: "palenight",
  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 { palenightTheme } from "@/lib/terminal-themes/palenight";
import { Badge } from "@/components/ui/badge";

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