Accomplishment for shadcn/ui

Accomplishment is a shadcn/ui theme built around a near-black primary color (#000000) with near-black accents (#000000). The light mode uses a neutral background (#fcf7f7). Dark mode keeps the near-black primary (#000000) on a red-tinted background (#0b0505).

Color palette

TokenLightDark
Background
#fcf7f7snow
#0b0505black
Foreground
#040101black
#fdfcfcsnow
Card
#fcf7f7snow
#0b0505black
Card foreground
#040101black
#fdfcfcsnow
Popover
#fcf7f7snow
#0b0505black
Popover foreground
#040101black
#fdfcfcsnow
Primary
#000000black
#000000black
Primary foreground
#999999darkgray
#999999darkgray
Secondary
#000000black
#000000black
Secondary foreground
#999999darkgray
#999999darkgray
Muted
#e5dcdcgainsboro
#231a1ablack
Muted foreground
#4c3e3edarkslategray
#c1b3b3silver
Accent
#000000black
#000000black
Accent foreground
#999999darkgray
#999999darkgray
Destructive
#a31e0ffirebrick
#e52a15orangered
Destructive foreground
#fdeae8linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#000000black
#000000black

Contrast

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

Light mode
Text on background19.65:1AAA
Text on card19.65:1AAA
Primary button7.37:1AAA
Secondary button7.37:1AAA
Muted text7.54:1AAA
Accent7.37:1AAA
Destructive6.56:1AA
Dark mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button7.37:1AAA
Secondary button7.37:1AAA
Muted text8.39:1AAA
Accent7.37:1AAA
Destructive4.50:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 17.25);
  --foreground: oklch(0.079 0.019 22.486);
  --muted: oklch(0.901 0.01 17.343);
  --muted-foreground: oklch(0.378 0.019 18.036);
  --popover: oklch(0.981 0.005 17.25);
  --popover-foreground: oklch(0.079 0.019 22.486);
  --card: oklch(0.981 0.005 17.25);
  --card-foreground: oklch(0.079 0.019 22.486);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0 0 0);
  --primary-foreground: oklch(0.683 0 180);
  --secondary: oklch(0 0 0);
  --secondary-foreground: oklch(0.683 0 180);
  --accent: oklch(0 0 0);
  --accent-foreground: oklch(0.683 0 180);
  --destructive: oklch(0.465 0.171 30.515);
  --destructive-foreground: oklch(0.951 0.021 25.183);
  --ring: oklch(0 0 0);
  --chart-1: oklch(0 0 0);
  --chart-2: oklch(0 0 0);
  --chart-3: oklch(0 0 0);
  --chart-4: oklch(0.132 0 165.964);
  --chart-5: oklch(0 0 0);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.013 19.118);
  --foreground: oklch(0.991 0.002 17.189);
  --muted: oklch(0.229 0.015 18.277);
  --muted-foreground: oklch(0.779 0.016 17.496);
  --popover: oklch(0.124 0.013 19.118);
  --popover-foreground: oklch(0.991 0.002 17.189);
  --card: oklch(0.124 0.013 19.118);
  --card-foreground: oklch(0.991 0.002 17.189);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0 0 0);
  --primary-foreground: oklch(0.683 0 180);
  --secondary: oklch(0 0 0);
  --secondary-foreground: oklch(0.683 0 180);
  --accent: oklch(0 0 0);
  --accent-foreground: oklch(0.683 0 180);
  --destructive: oklch(0.594 0.222 30.517);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0 0 0);
  --chart-1: oklch(0 0 0);
  --chart-2: oklch(0 0 0);
  --chart-3: oklch(0 0 0);
  --chart-4: oklch(0.132 0 165.964);
  --chart-5: oklch(0 0 0);
}