# Mist Shell (Shadcn UI preset)

Mist Shell is a free Shadcn UI preset: Lyra style, Mist accent with Mist neutrals, JetBrains Mono, Tabler Icons icons and small corners. Copy the preset code or install it with one command.

- Preset code: `b7C9wTGXg`
- Style: Lyra
- Colors: Mist mono (base mist, theme mist, charts mist)
- Fonts: JetBrains Mono
- Icons: Tabler Icons
- Radius: Small corners
- Menus: subtle accent, default color
- WCAG AA contrast on all text and buttons: no (7/8 pairs pass)
- Page with live preview: https://shadcnpreview.com/presets/mist-shell

## Install

New project (`--base` is the component library: `radix` for Radix UI, `base` for Base UI, `aria` for React Aria; shadcn defaults to Base UI):

```bash
npx shadcn@latest init --preset b7C9wTGXg --base base --template next
```

Existing shadcn project (reinstalls UI components; add `--only theme` for colors only, or `--only font`):

```bash
npx shadcn@latest apply --preset b7C9wTGXg
```

The same preset as a shadcn registry item (follows `--base`):

```bash
npx shadcn@latest init --preset https://shadcnpreview.com/r/mist-shell.json --base radix
```

Open in shadcn/create: https://ui.shadcn.com/create?preset=b7C9wTGXg

**Mist Shell** is a Shadcn UI preset in the Lyra style. It's built for developer tools, docs and anything that ships with a CLI.

## Best for

- Internal tooling
- API dashboards
- CLIs and docs sites

## Style

Lyra is boxy and sharp, with zero radius. It pairs well with monospace fonts, so it suits developer tools, terminals and brutalist or technical interfaces. A small radius keeps corners tight and precise.

## Color

The Mist base is a cool grey with a soft blue-green tint, used for backgrounds, borders and muted text. There's no separate accent color: primary buttons and highlights stay in the Mist family for a monochrome finish. Charts use the same Mist ramp, so data visualizations feel part of the brand.

## Typography

Everything is set in JetBrains Mono, a monospace font, which keeps the type consistent from headings to fine print.

## Icons and menus

Tabler Icons has over 5,000 icons with a slightly rounder, friendlier stroke. Menus match the surface color, with a subtle highlight on the active item.

## CSS variables

```css
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.148 0.004 228.8);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.148 0.004 228.8);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.148 0.004 228.8);
  --primary: oklch(0.218 0.008 223.9);
  --primary-foreground: oklch(0.987 0.002 197.1);
  --secondary: oklch(0.963 0.002 197.1);
  --secondary-foreground: oklch(0.218 0.008 223.9);
  --muted: oklch(0.963 0.002 197.1);
  --muted-foreground: oklch(0.56 0.021 213.5);
  --accent: oklch(0.963 0.002 197.1);
  --accent-foreground: oklch(0.218 0.008 223.9);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.925 0.005 214.3);
  --input: oklch(0.925 0.005 214.3);
  --ring: oklch(0.723 0.014 214.4);
  --sidebar: oklch(0.987 0.002 197.1);
  --sidebar-foreground: oklch(0.148 0.004 228.8);
  --sidebar-primary: oklch(0.218 0.008 223.9);
  --sidebar-primary-foreground: oklch(0.987 0.002 197.1);
  --sidebar-accent: oklch(0.963 0.002 197.1);
  --sidebar-accent-foreground: oklch(0.218 0.008 223.9);
  --sidebar-border: oklch(0.925 0.005 214.3);
  --sidebar-ring: oklch(0.723 0.014 214.4);
  --chart-1: oklch(0.872 0.007 219.6);
  --chart-2: oklch(0.56 0.021 213.5);
  --chart-3: oklch(0.45 0.017 213.2);
  --chart-4: oklch(0.378 0.015 216);
  --chart-5: oklch(0.275 0.011 216.9);
  --radius: 0.45rem;
}

.dark {
  --background: oklch(0.148 0.004 228.8);
  --foreground: oklch(0.987 0.002 197.1);
  --card: oklch(0.218 0.008 223.9);
  --card-foreground: oklch(0.987 0.002 197.1);
  --popover: oklch(0.218 0.008 223.9);
  --popover-foreground: oklch(0.987 0.002 197.1);
  --primary: oklch(0.925 0.005 214.3);
  --primary-foreground: oklch(0.218 0.008 223.9);
  --secondary: oklch(0.275 0.011 216.9);
  --secondary-foreground: oklch(0.987 0.002 197.1);
  --muted: oklch(0.275 0.011 216.9);
  --muted-foreground: oklch(0.723 0.014 214.4);
  --accent: oklch(0.275 0.011 216.9);
  --accent-foreground: oklch(0.987 0.002 197.1);
  --destructive: oklch(0.704 0.191 22.216);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.56 0.021 213.5);
  --sidebar: oklch(0.218 0.008 223.9);
  --sidebar-foreground: oklch(0.987 0.002 197.1);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.987 0.002 197.1);
  --sidebar-accent: oklch(0.275 0.011 216.9);
  --sidebar-accent-foreground: oklch(0.987 0.002 197.1);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.56 0.021 213.5);
  --chart-1: oklch(0.872 0.007 219.6);
  --chart-2: oklch(0.56 0.021 213.5);
  --chart-3: oklch(0.45 0.017 213.2);
  --chart-4: oklch(0.378 0.015 216);
  --chart-5: oklch(0.275 0.011 216.9);
}

```
