shadcnpreview

Amber Kernel

Lyra · Amber + Zinc · Geist Mono

Preset codeb1GLWg5uK
Open in shadcn/create
Loading preview…
Components by shadcnblocks.com, rendered in the lyra style with Base UI.

Install Amber Kernel

npx shadcn@latest init --preset b1GLWg5uK --base base --template next
Open in shadcn/createOpen in v0

Only want the colors without the CLI? Copy the Amber Kernel palette CSS.

Amber Kernel is a Shadcn UI preset in the Lyra style. It's a sharp, technical look that feels at home next to a terminal.

Best for

  • Internal tooling
  • CLIs and docs sites
  • Developer tools

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. Corners are fully square, so the layout feels crisp and architectural.

Color

The Zinc base is a cool grey with a slight blue 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 the same Amber ramp, so data visualizations feel part of the brand.

Typography

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

Icons and menus

Remix Icon is a neutral, system-style icon set that works well in dense UIs. Menus match the surface color, with a bold highlight on the active item.

Color contrast

How each text and button pairing scores against WCAG. Normal text needs 4.5:1 to meet AA. 7 of 8 pairs pass in both modes.

PairTokensLightDark
Body textforeground / background19.8919.05
Muted textmuted-foreground / background4.837.56
Card textcard-foreground / card19.8916.98
Primary buttonprimary-foreground / primary4.896.89
Secondary buttonsecondary-foreground / secondary16.1114.26
Accent / hoveraccent-foreground / accent4.896.89
Muted surfacemuted-foreground / muted4.395.66
Destructive textdestructive / background4.916.93

CSS variables

globals.css
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.141 0.005 285.823);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.141 0.005 285.823);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.141 0.005 285.823);
  --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.967 0.001 286.375);
  --muted-foreground: oklch(0.552 0.016 285.938);
  --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.92 0.004 286.32);
  --input: oklch(0.92 0.004 286.32);
  --ring: oklch(0.705 0.015 286.067);
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.141 0.005 285.823);
  --sidebar-primary: oklch(0.666 0.179 58.318);
  --sidebar-primary-foreground: oklch(0.987 0.022 95.277);
  --sidebar-accent: oklch(0.967 0.001 286.375);
  --sidebar-accent-foreground: oklch(0.21 0.006 285.885);
  --sidebar-border: oklch(0.92 0.004 286.32);
  --sidebar-ring: oklch(0.705 0.015 286.067);
  --chart-1: oklch(0.879 0.169 91.605);
  --chart-2: oklch(0.769 0.188 70.08);
  --chart-3: oklch(0.666 0.179 58.318);
  --chart-4: oklch(0.555 0.163 48.998);
  --chart-5: oklch(0.473 0.137 46.201);
  --radius: 0;
}

.dark {
  --background: oklch(0.141 0.005 285.823);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.21 0.006 285.885);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.21 0.006 285.885);
  --popover-foreground: oklch(0.985 0 0);
  --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.274 0.006 286.033);
  --muted-foreground: oklch(0.705 0.015 286.067);
  --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.552 0.016 285.938);
  --sidebar: oklch(0.21 0.006 285.885);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.769 0.188 70.08);
  --sidebar-primary-foreground: oklch(0.279 0.077 45.635);
  --sidebar-accent: oklch(0.274 0.006 286.033);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.552 0.016 285.938);
  --chart-1: oklch(0.879 0.169 91.605);
  --chart-2: oklch(0.769 0.188 70.08);
  --chart-3: oklch(0.666 0.179 58.318);
  --chart-4: oklch(0.555 0.163 48.998);
  --chart-5: oklch(0.473 0.137 46.201);
}

Variations

Amber Kernel with one setting changed. Each opens in the preset builder with its own code.

Similar presets

Aa
ContinueCancelNew
you@example.com

Amber Codebase

Lyra · Amber + Olive · Geist Mono

b6snObHLl
Aa
ContinueCancelNew
you@example.com

Red Glitch

Lyra · Red + Zinc · Oxanium / Geist Mono

b5rR4KOrTk
Aa
ContinueCancelNew
you@example.com

Amber Commit

Nova · Amber + Zinc · Geist Mono / JetBrains Mono

b3t20so6gq
Aa
ContinueCancelNew
you@example.com

Amber Terminal

Lyra · Amber + Neutral · JetBrains Mono

b1GKwKscs