Amusing for shadcn/ui

Amusing is a shadcn/ui theme built around a muted green primary color (#aac5b0) with muted teal accents (#aac5bd). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#aac5b0) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#031607black
#ffffffwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#031206black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#031607black
#ffffffwhite
Primary
#aac5b0silver
#aac5b0silver
Primary foreground
#19241bblack
#19241bblack
Secondary
#b2c5aasilver
#b2c5aasilver
Secondary foreground
#1c2419black
#1c2419black
Muted
#dfebdbgainsboro
#182414black
Muted foreground
#40483ddarkslategray
#bac2b7silver
Accent
#aac5bdsilver
#aac5bdsilver
Accent foreground
#192421black
#192421black
Destructive
#783108saddlebrown
#d8580echocolate
Destructive foreground
#fad0b7peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#aac5b0silver
#aac5b0silver

Contrast

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

Light mode
Text on background18.72:1AAA
Text on card18.79:1AAA
Primary button8.65:1AAA
Secondary button8.71:1AAA
Muted text7.72:1AAA
Accent8.70:1AAA
Destructive6.60:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button8.65:1AAA
Secondary button8.71:1AAA
Muted text8.78:1AAA
Accent8.70:1AAA
Destructive3.95:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.179 0.04 149.753);
  --muted: oklch(0.927 0.026 136.693);
  --muted-foreground: oklch(0.39 0.02 136.77);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.179 0.04 149.753);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.162 0.035 150.572);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.798 0.042 151.767);
  --primary-foreground: oklch(0.248 0.024 151.002);
  --secondary: oklch(0.802 0.043 136.777);
  --secondary-foreground: oklch(0.25 0.024 136.939);
  --accent: oklch(0.801 0.031 176.537);
  --accent-foreground: oklch(0.25 0.017 175.501);
  --destructive: oklch(0.406 0.111 44.833);
  --destructive-foreground: oklch(0.887 0.059 51.74);
  --ring: oklch(0.798 0.042 151.767);
  --chart-1: oklch(0.798 0.042 151.767);
  --chart-2: oklch(0.802 0.043 136.777);
  --chart-3: oklch(0.801 0.031 176.537);
  --chart-4: oklch(0.823 0.038 136.753);
  --chart-5: oklch(0.801 0.048 151.632);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.245 0.035 137.144);
  --muted-foreground: oklch(0.805 0.017 136.672);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.798 0.042 151.767);
  --primary-foreground: oklch(0.248 0.024 151.002);
  --secondary: oklch(0.802 0.043 136.777);
  --secondary-foreground: oklch(0.25 0.024 136.939);
  --accent: oklch(0.801 0.031 176.537);
  --accent-foreground: oklch(0.25 0.017 175.501);
  --destructive: oklch(0.617 0.176 43.454);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.798 0.042 151.767);
  --chart-1: oklch(0.798 0.042 151.767);
  --chart-2: oklch(0.802 0.043 136.777);
  --chart-3: oklch(0.801 0.031 176.537);
  --chart-4: oklch(0.823 0.038 136.753);
  --chart-5: oklch(0.801 0.048 151.632);
}