# Mauve Graphite (Shadcn UI preset)

Mauve Graphite is a free Shadcn UI preset: Luma style, Mauve accent with Mauve neutrals, Geist, Hugeicons icons and small corners. Copy the preset code or install it with one command.

- Preset code: `b3lp1YyRl`
- Style: Luma
- Colors: Mauve mono (base mauve, theme mauve, charts orange)
- Fonts: Geist
- Icons: Hugeicons
- Radius: Small corners
- Menus: bold accent, inverted color
- WCAG AA contrast on all text and buttons: yes
- Page with live preview: https://shadcnpreview.com/presets/mauve-graphite

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

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

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

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

**Mauve Graphite** is a Shadcn UI preset in the Luma style. It's a minimal starting point with no accent color competing for attention.

## Best for

- Minimal portfolios
- Any brand that adds color later
- Documentation

## Style

Luma is inspired by macOS: rounded geometry, soft elevation and breathable layouts, without the glass effect. It feels calm and modern. A small radius keeps corners tight and precise.

## Color

The Mauve base is a grey with a soft purple tint, used for backgrounds, borders and muted text. There's no separate accent color: primary buttons and highlights stay in the Mauve family for a monochrome finish. Charts use a contrasting Orange ramp, so data stands out from the UI chrome.

## Typography

Everything is set in Geist, a clean sans-serif, which keeps the type consistent from headings to fine print.

## Icons and menus

Hugeicons has modern, detailed icons with a distinctive geometric style. Menus are inverted (dark in light mode, light in dark mode), with a bold highlight on the active item.

## CSS variables

```css
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0.008 326);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0.008 326);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0.008 326);
  --primary: oklch(0.212 0.019 322.12);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.96 0.003 325.6);
  --secondary-foreground: oklch(0.212 0.019 322.12);
  --muted: oklch(0.96 0.003 325.6);
  --muted-foreground: oklch(0.542 0.034 322.5);
  --accent: oklch(0.212 0.019 322.12);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.922 0.005 325.62);
  --input: oklch(0.922 0.005 325.62);
  --ring: oklch(0.711 0.019 323.02);
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0.008 326);
  --sidebar-primary: oklch(0.212 0.019 322.12);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.96 0.003 325.6);
  --sidebar-accent-foreground: oklch(0.212 0.019 322.12);
  --sidebar-border: oklch(0.922 0.005 325.62);
  --sidebar-ring: oklch(0.711 0.019 323.02);
  --chart-1: oklch(0.837 0.128 66.29);
  --chart-2: oklch(0.705 0.213 47.604);
  --chart-3: oklch(0.646 0.222 41.116);
  --chart-4: oklch(0.553 0.195 38.402);
  --chart-5: oklch(0.47 0.157 37.304);
  --radius: 0.45rem;
}

.dark {
  --background: oklch(0.145 0.008 326);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.212 0.019 322.12);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.212 0.019 322.12);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.922 0.005 325.62);
  --primary-foreground: oklch(0.212 0.019 322.12);
  --secondary: oklch(0.263 0.024 320.12);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.263 0.024 320.12);
  --muted-foreground: oklch(0.711 0.019 323.02);
  --accent: oklch(0.922 0.005 325.62);
  --accent-foreground: oklch(0.212 0.019 322.12);
  --destructive: oklch(0.704 0.191 22.216);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.542 0.034 322.5);
  --sidebar: oklch(0.212 0.019 322.12);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.263 0.024 320.12);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.542 0.034 322.5);
  --chart-1: oklch(0.837 0.128 66.29);
  --chart-2: oklch(0.705 0.213 47.604);
  --chart-3: oklch(0.646 0.222 41.116);
  --chart-4: oklch(0.553 0.195 38.402);
  --chart-5: oklch(0.47 0.157 37.304);
}

```
