# Amber Buffer (Shadcn UI preset)

Amber Buffer is a free Shadcn UI preset: Nova style, Amber accent with Mist neutrals, Geist Mono, Tabler Icons icons and square corners. Copy the preset code or install it with one command.

- Preset code: `b2oFGrbqc`
- Style: Nova
- Colors: Amber + Mist (base mist, theme amber, charts green)
- Fonts: Geist Mono
- Icons: Tabler Icons
- Radius: Square corners
- Menus: bold accent, default-translucent color
- WCAG AA contrast on all text and buttons: no (7/8 pairs pass)
- Page with live preview: https://shadcnpreview.com/presets/amber-buffer

## 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 b2oFGrbqc --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 b2oFGrbqc
```

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

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

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

**Amber Buffer** is a Shadcn UI preset in the Nova style. It's a no-nonsense, code-first aesthetic with crisp edges and monospace character.

## Best for

- Developer tools
- Internal tooling
- CLIs and docs sites

## Style

Nova keeps Vega's shapes but tightens padding and margins, so more content fits on screen without feeling cramped. It works well for SaaS apps and admin panels. Corners are fully square, so the layout feels crisp and architectural.

## Color

The Mist base is a cool grey with a soft blue-green tint, used for backgrounds, borders and muted text. Amber is the theme color, so primary buttons, focus rings and active states pick it up. Charts use a contrasting Green ramp, so data stands out from the UI chrome.

## Typography

Everything is set in Geist 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 are translucent with a background blur, with a bold 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.555 0.163 48.998);
  --primary-foreground: oklch(0.987 0.022 95.277);
  --secondary: oklch(0.967 0.001 286.375);
  --secondary-foreground: oklch(0.21 0.006 285.885);
  --muted: oklch(0.963 0.002 197.1);
  --muted-foreground: oklch(0.56 0.021 213.5);
  --accent: oklch(0.555 0.163 48.998);
  --accent-foreground: oklch(0.987 0.022 95.277);
  --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.666 0.179 58.318);
  --sidebar-primary-foreground: oklch(0.987 0.022 95.277);
  --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.871 0.15 154.449);
  --chart-2: oklch(0.723 0.219 149.579);
  --chart-3: oklch(0.627 0.194 149.214);
  --chart-4: oklch(0.527 0.154 150.069);
  --chart-5: oklch(0.448 0.119 151.328);
  --radius: 0;
}

.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.473 0.137 46.201);
  --primary-foreground: oklch(0.987 0.022 95.277);
  --secondary: oklch(0.274 0.006 286.033);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.275 0.011 216.9);
  --muted-foreground: oklch(0.723 0.014 214.4);
  --accent: oklch(0.473 0.137 46.201);
  --accent-foreground: oklch(0.987 0.022 95.277);
  --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.769 0.188 70.08);
  --sidebar-primary-foreground: oklch(0.279 0.077 45.635);
  --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.871 0.15 154.449);
  --chart-2: oklch(0.723 0.219 149.579);
  --chart-3: oklch(0.627 0.194 149.214);
  --chart-4: oklch(0.527 0.154 150.069);
  --chart-5: oklch(0.448 0.119 151.328);
}

```
