Profitable for shadcn/ui

Profitable is a shadcn/ui theme built around a near-black primary color (#1f1f1f) with near-black accents (#1f1f1f). The light mode uses a neutral background (#fefbfb). Dark mode keeps the near-black primary (#1f1f1f) on a red-tinted background (#0c0303).

Color palette

TokenLightDark
Background
#fefbfbsnow
#0c0303black
Foreground
#100404black
#f9f6f6whitesmoke
Card
#fefbfbsnow
#0c0303black
Card foreground
#100404black
#f9f6f6whitesmoke
Popover
#fefbfbsnow
#0c0303black
Popover foreground
#100404black
#f9f6f6whitesmoke
Primary
#1f1f1fblack
#1f1f1fblack
Primary foreground
#b8b8b8silver
#b8b8b8silver
Secondary
#1f1f1fblack
#1f1f1fblack
Secondary foreground
#b8b8b8silver
#b8b8b8silver
Muted
#efdcdcmistyrose
#231010black
Muted foreground
#4c4848darkslategray
#b7b3b3darkgray
Accent
#1f1f1fblack
#1f1f1fblack
Accent foreground
#b8b8b8silver
#b8b8b8silver
Destructive
#95270fbrown
#d13715firebrick
Destructive foreground
#fbe0damistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1f1f1fblack
#1f1f1fblack

Contrast

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

Light mode
Text on background19.62:1AAA
Text on card19.62:1AAA
Primary button8.34:1AAA
Secondary button8.34:1AAA
Muted text6.84:1AA
Accent8.34:1AAA
Destructive6.53:1AA
Dark mode
Text on background18.94:1AAA
Text on card18.94:1AAA
Primary button8.34:1AAA
Secondary button8.34:1AAA
Muted text8.77:1AAA
Accent8.34:1AAA
Destructive4.92:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 17.2);
  --foreground: oklch(0.132 0.025 21.127);
  --muted: oklch(0.91 0.021 17.553);
  --muted-foreground: oklch(0.405 0.006 17.403);
  --popover: oklch(0.991 0.002 17.2);
  --popover-foreground: oklch(0.132 0.025 21.127);
  --card: oklch(0.991 0.002 17.2);
  --card-foreground: oklch(0.132 0.025 21.127);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.238 0 161.565);
  --primary-foreground: oklch(0.781 0 180);
  --secondary: oklch(0.238 0 161.565);
  --secondary-foreground: oklch(0.781 0 180);
  --accent: oklch(0.238 0 161.565);
  --accent-foreground: oklch(0.781 0 180);
  --destructive: oklch(0.445 0.149 33.665);
  --destructive-foreground: oklch(0.927 0.031 32.704);
  --ring: oklch(0.238 0 161.565);
  --chart-1: oklch(0.238 0 161.565);
  --chart-2: oklch(0.238 0 161.565);
  --chart-3: oklch(0.238 0 161.565);
  --chart-4: oklch(0.27 0 180);
  --chart-5: oklch(0.236 0.003 17.356);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.119 0.021 20.618);
  --foreground: oklch(0.975 0.004 17.222);
  --muted: oklch(0.201 0.033 20.375);
  --muted-foreground: oklch(0.77 0.005 17.266);
  --popover: oklch(0.119 0.021 20.618);
  --popover-foreground: oklch(0.975 0.004 17.222);
  --card: oklch(0.119 0.021 20.618);
  --card-foreground: oklch(0.975 0.004 17.222);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.238 0 161.565);
  --primary-foreground: oklch(0.781 0 180);
  --secondary: oklch(0.238 0 161.565);
  --secondary-foreground: oklch(0.781 0 180);
  --accent: oklch(0.238 0 161.565);
  --accent-foreground: oklch(0.781 0 180);
  --destructive: oklch(0.569 0.195 33.467);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.238 0 161.565);
  --chart-1: oklch(0.238 0 161.565);
  --chart-2: oklch(0.238 0 161.565);
  --chart-3: oklch(0.238 0 161.565);
  --chart-4: oklch(0.27 0 180);
  --chart-5: oklch(0.236 0.003 17.356);
}