shadcnpreview

Emerald Socket

Lyra · Emerald + Neutral · JetBrains Mono

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

Install Emerald Socket

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

Only want the colors without the CLI? Copy the Emerald Socket palette CSS.

Emerald Socket is a Shadcn UI preset in the Lyra style. It's a no-nonsense, code-first aesthetic with crisp edges and monospace character.

Best for

  • CLIs and docs sites
  • Internal tooling
  • API dashboards

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 Neutral base is a pure, untinted grey, used for backgrounds, borders and muted text. Emerald is the theme color, so primary buttons, focus rings and active states pick it up. Charts use a contrasting Amber ramp, so data stands out from the UI chrome.

Typography

Everything is set in JetBrains 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 subtle 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.7918.96
Muted textmuted-foreground / background4.737.63
Card textcard-foreground / card19.7917.16
Primary buttonprimary-foreground / primary5.177.25
Secondary buttonsecondary-foreground / secondary16.1114.26
Accent / hoveraccent-foreground / accent16.4214.48
Muted surfacemuted-foreground / muted4.345.83
Destructive textdestructive / background4.916.89

CSS variables

globals.css
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: oklch(0.508 0.118 165.612);
  --primary-foreground: oklch(0.979 0.021 166.113);
  --secondary: oklch(0.967 0.001 286.375);
  --secondary-foreground: oklch(0.21 0.006 285.885);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.922 0 0);
  --input: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: oklch(0.596 0.145 163.225);
  --sidebar-primary-foreground: oklch(0.979 0.021 166.113);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
  --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.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.205 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.205 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.432 0.095 166.913);
  --primary-foreground: oklch(0.979 0.021 166.113);
  --secondary: oklch(0.274 0.006 286.033);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.704 0.191 22.216);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.556 0 0);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.696 0.17 162.48);
  --sidebar-primary-foreground: oklch(0.262 0.051 172.552);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.556 0 0);
  --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

Emerald Socket with one setting changed. Each opens in the preset builder with its own code.

Similar presets

Aa
ContinueCancelNew
you@example.com

Emerald Kernel

Lyra · Emerald + Zinc · Geist Mono / JetBrains Mono

b3tyzeYbxI
Aa
ContinueCancelNew
you@example.com

Amber Terminal

Lyra · Amber + Neutral · JetBrains Mono

b1GKwKscs
Aa
ContinueCancelNew
you@example.com

Emerald Docs

Lyra · Emerald + Mist · Inter / JetBrains Mono

bRB2VGQUa
Aa
ContinueCancelNew
you@example.com

Emerald Spec

Lyra · Emerald + Olive · IBM Plex Sans / JetBrains Mono

b7BEkhnY9Y