Horrible for shadcn/ui

Horrible is a shadcn/ui theme built around a vivid teal primary color (#14a395) with vivid yellow accents (#a39514). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#14a395) on a teal-tinted background (#040c0b).

Color palette

TokenLightDark
Background
#ffffffwhite
#040c0bblack
Foreground
#010404black
#ffffffwhite
Card
#fcfcfcsnow
#05100eblack
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#040c0bblack
Popover foreground
#010404black
#ffffffwhite
Primary
#14a395lightseagreen
#14a395lightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#9514a3darkmagenta
#9514a3darkmagenta
Secondary foreground
#fbedfdlavenderblush
#fbedfdlavenderblush
Muted
#e9dceagainsboro
#221523black
Muted foreground
#555355dimgray
#acaaacdarkgray
Accent
#a39514darkgoldenrod
#a39514darkgoldenrod
Accent foreground
#000000black
#000000black
Destructive
#c61f01firebrick
#fe2701orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#14a395lightseagreen
#14a395lightseagreen

Contrast

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

Light mode
Text on background20.57:1AAA
Text on card20.54:1AAA
Primary button3.11:1AA Large
Secondary button6.39:1AA
Muted text5.75:1AA
Accent6.88:1AA
Destructive5.84:1AA
Dark mode
Text on background19.80:1AAA
Text on card19.37:1AAA
Primary button3.11:1AA Large
Secondary button6.39:1AA
Muted text7.59:1AAA
Accent6.88:1AA
Destructive3.82:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.099 0.011 189.3);
  --muted: oklch(0.908 0.024 322.733);
  --muted-foreground: oklch(0.445 0.003 322.657);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.099 0.011 189.3);
  --card: oklch(0.992 0 161.565);
  --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.646 0.111 183.771);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.487 0.217 323.281);
  --secondary-foreground: oklch(0.961 0.026 322.734);
  --accent: oklch(0.662 0.134 102.276);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.53 0.203 31.543);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.646 0.111 183.771);
  --chart-1: oklch(0.646 0.111 183.771);
  --chart-2: oklch(0.487 0.217 323.281);
  --chart-3: oklch(0.662 0.134 102.276);
  --chart-4: oklch(0.516 0.231 323.265);
  --chart-5: oklch(0.653 0.113 183.578);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.143 0.015 188.972);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.219 0.034 323.195);
  --muted-foreground: oklch(0.74 0.003 322.643);
  --popover: oklch(0.143 0.015 188.972);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.159 0.017 188.09);
  --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.646 0.111 183.771);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.487 0.217 323.281);
  --secondary-foreground: oklch(0.961 0.026 322.734);
  --accent: oklch(0.662 0.134 102.276);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.637 0.246 31.257);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.646 0.111 183.771);
  --chart-1: oklch(0.646 0.111 183.771);
  --chart-2: oklch(0.487 0.217 323.281);
  --chart-3: oklch(0.662 0.134 102.276);
  --chart-4: oklch(0.516 0.231 323.265);
  --chart-5: oklch(0.653 0.113 183.578);
}