Unemployment for shadcn/ui

Unemployment is a shadcn/ui theme built around a vivid light green primary color (#b0f7c7) with vivid light teal accents (#b0f7ea). The light mode uses a neutral background (#fbfefc). Dark mode keeps the vivid light green primary (#b0f7c7) on a neutral background (#030704).

Color palette

TokenLightDark
Background
#fbfefcwhite
#030704black
Foreground
#010402black
#ffffffwhite
Card
#fbfefcwhite
#030704black
Card foreground
#010402black
#ffffffwhite
Popover
#fbfefcwhite
#030704black
Popover foreground
#010402black
#ffffffwhite
Primary
#b0f7c7powderblue
#b0f7c7powderblue
Primary foreground
#010e05black
#010e05black
Secondary
#bdf7b0palegreen
#bdf7b0palegreen
Secondary foreground
#040e01black
#040e01black
Muted
#eef2edwhitesmoke
#0e120dblack
Muted foreground
#465044darkslategray
#b1bbafdarkgray
Accent
#b0f7eapaleturquoise
#b0f7eapaleturquoise
Accent foreground
#010e0cblack
#010e0cblack
Destructive
#db5006chocolate
#f9681achocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b0f7c7powderblue
#b0f7c7powderblue

Contrast

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

Light mode
Text on background20.28:1AAA
Text on card20.28:1AAA
Primary button15.94:1AAA
Secondary button16.02:1AAA
Muted text7.47:1AAA
Accent16.23:1AAA
Destructive4.06:1AA Large
Dark mode
Text on background20.26:1AAA
Text on card20.26:1AAA
Primary button15.94:1AAA
Secondary button16.02:1AAA
Muted text9.54:1AAA
Accent16.23:1AAA
Destructive7.03:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.005 156.47);
  --foreground: oklch(0.099 0.018 156.071);
  --muted: oklch(0.958 0.009 139.983);
  --muted-foreground: oklch(0.418 0.023 139.944);
  --popover: oklch(0.994 0.005 156.47);
  --popover-foreground: oklch(0.099 0.018 156.071);
  --card: oklch(0.994 0.005 156.47);
  --card-foreground: oklch(0.099 0.018 156.071);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.917 0.097 154.251);
  --primary-foreground: oklch(0.146 0.031 155.459);
  --secondary: oklch(0.92 0.111 139.909);
  --secondary-foreground: oklch(0.147 0.037 137.657);
  --accent: oklch(0.926 0.073 182.01);
  --accent-foreground: oklch(0.148 0.023 182.612);
  --destructive: oklch(0.612 0.186 40.968);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.917 0.097 154.251);
  --chart-1: oklch(0.917 0.097 154.251);
  --chart-2: oklch(0.92 0.111 139.909);
  --chart-3: oklch(0.926 0.073 182.01);
  --chart-4: oklch(0.933 0.092 139.916);
  --chart-5: oklch(0.919 0.1 154.166);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.012 156.299);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.175 0.013 139.929);
  --muted-foreground: oklch(0.781 0.02 139.968);
  --popover: oklch(0.12 0.012 156.299);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.12 0.012 156.299);
  --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.917 0.097 154.251);
  --primary-foreground: oklch(0.146 0.031 155.459);
  --secondary: oklch(0.92 0.111 139.909);
  --secondary-foreground: oklch(0.147 0.037 137.657);
  --accent: oklch(0.926 0.073 182.01);
  --accent-foreground: oklch(0.148 0.023 182.612);
  --destructive: oklch(0.691 0.194 43.21);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.917 0.097 154.251);
  --chart-1: oklch(0.917 0.097 154.251);
  --chart-2: oklch(0.92 0.111 139.909);
  --chart-3: oklch(0.926 0.073 182.01);
  --chart-4: oklch(0.933 0.092 139.916);
  --chart-5: oklch(0.919 0.1 154.166);
}