Loud for shadcn/ui

Loud is a shadcn/ui theme built around a light cyan primary color (#f1f7f9) with light orange accents (#f9f3f1). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the light cyan primary (#f1f7f9) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfdfewhite
#000000black
Foreground
#000000black
#f8fbfbghostwhite
Card
#f7fbfdghostwhite
#030303black
Card foreground
#000000black
#fcfdfdwhite
Popover
#f7fbfdghostwhite
#030303black
Popover foreground
#000000black
#fcfdfdwhite
Primary
#f1f7f9whitesmoke
#f1f7f9whitesmoke
Primary foreground
#183139darkslategray
#183139darkslategray
Secondary
#f9f3f1whitesmoke
#f9f3f1whitesmoke
Secondary foreground
#814937sienna
#814937sienna
Muted
#f2e7e3linen
#1c110dblack
Muted foreground
#4a4240darkslategray
#bfb8b5silver
Accent
#f9f3f1whitesmoke
#f9f3f1whitesmoke
Accent foreground
#814937sienna
#814937sienna
Destructive
#6e0d08maroon
#ef291fcrimson
Destructive foreground
#f9b2aelightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f1f7f9whitesmoke
#f1f7f9whitesmoke

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.59:1AAA
Text on card20.20:1AAA
Primary button12.60:1AAA
Secondary button6.48:1AA
Muted text8.07:1AAA
Accent6.48:1AA
Destructive6.98:1AA
Dark mode
Text on background20.18:1AAA
Text on card20.29:1AAA
Primary button12.60:1AAA
Secondary button6.48:1AA
Muted text9.47:1AAA
Accent6.48:1AA
Destructive4.17:1AA Large

CSS variables

Paste this into your globals.css to use Loud in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 219.524);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.935 0.013 39.423);
  --muted-foreground: oklch(0.387 0.011 39.358);
  --popover: oklch(0.986 0.005 219.541);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.986 0.005 219.541);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.972 0.007 219.561);
  --primary-foreground: oklch(0.297 0.034 221.596);
  --secondary: oklch(0.968 0.007 39.46);
  --secondary-foreground: oklch(0.468 0.081 39.144);
  --accent: oklch(0.968 0.007 39.46);
  --accent-foreground: oklch(0.468 0.081 39.144);
  --destructive: oklch(0.346 0.13 29.179);
  --destructive-foreground: oklch(0.829 0.084 22.426);
  --ring: oklch(0.972 0.007 219.561);
  --chart-1: oklch(0.972 0.007 219.561);
  --chart-2: oklch(0.968 0.007 39.46);
  --chart-3: oklch(0.968 0.007 39.46);
  --chart-4: oklch(0.992 0.002 39.496);
  --chart-5: oklch(0.972 0.008 219.565);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.002 219.525);
  --muted: oklch(0.19 0.02 39.212);
  --muted-foreground: oklch(0.787 0.009 39.437);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.993 0.001 219.517);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0.001 219.517);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.972 0.007 219.561);
  --primary-foreground: oklch(0.297 0.034 221.596);
  --secondary: oklch(0.968 0.007 39.46);
  --secondary-foreground: oklch(0.468 0.081 39.144);
  --accent: oklch(0.968 0.007 39.46);
  --accent-foreground: oklch(0.468 0.081 39.144);
  --destructive: oklch(0.614 0.231 29.107);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.972 0.007 219.561);
  --chart-1: oklch(0.972 0.007 219.561);
  --chart-2: oklch(0.968 0.007 39.46);
  --chart-3: oklch(0.968 0.007 39.46);
  --chart-4: oklch(0.992 0.002 39.496);
  --chart-5: oklch(0.972 0.008 219.565);
}