Hideous for shadcn/ui

Hideous is a shadcn/ui theme built around a vivid deep green primary color (#374f03) with vivid deep purple accents (#4f0337). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#374f03) on a neutral background (#060802).

Color palette

TokenLightDark
Background
#ffffffwhite
#060802black
Foreground
#101405black
#fdfdfcwhite
Card
#ffffffwhite
#060802black
Card foreground
#101405black
#fdfdfcwhite
Popover
#ffffffwhite
#060802black
Popover foreground
#101405black
#fdfdfcwhite
Primary
#374f03darkgreen
#374f03darkgreen
Primary foreground
#b5f726greenyellow
#b5f726greenyellow
Secondary
#03374fmidnightblue
#03374fmidnightblue
Secondary foreground
#89d7fblightskyblue
#89d7fblightskyblue
Muted
#f0f3f5whitesmoke
#0a0e0fblack
Muted foreground
#3c4448darkslategray
#b7bfc3silver
Accent
#4f0337maroon
#4f0337maroon
Accent foreground
#fb89d7violet
#fb89d7violet
Destructive
#cf2d0cfirebrick
#d92f0dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#374f03darkgreen
#374f03darkgreen

Contrast

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

Light mode
Text on background18.67:1AAA
Text on card18.67:1AAA
Primary button7.16:1AAA
Secondary button7.95:1AAA
Muted text8.92:1AAA
Accent6.91:1AA
Destructive5.20:1AA
Dark mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button7.16:1AAA
Secondary button7.95:1AAA
Muted text10.40:1AAA
Accent6.91:1AA
Destructive4.82:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.183 0.031 123.149);
  --muted: oklch(0.962 0.004 226.906);
  --muted-foreground: oklch(0.382 0.013 227.303);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.183 0.031 123.149);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.183 0.031 123.149);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.392 0.1 127.261);
  --primary-foreground: oklch(0.899 0.224 127.146);
  --secondary: oklch(0.317 0.066 235.522);
  --secondary-foreground: oklch(0.841 0.092 229.117);
  --accent: oklch(0.287 0.117 345.655);
  --accent-foreground: oklch(0.777 0.165 340.386);
  --destructive: oklch(0.557 0.202 32.411);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.392 0.1 127.261);
  --chart-1: oklch(0.392 0.1 127.261);
  --chart-2: oklch(0.317 0.066 235.522);
  --chart-3: oklch(0.287 0.117 345.655);
  --chart-4: oklch(0.355 0.075 236.272);
  --chart-5: oklch(0.396 0.102 127.416);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.128 0.017 120.547);
  --foreground: oklch(0.993 0.001 120.792);
  --muted: oklch(0.159 0.006 227.381);
  --muted-foreground: oklch(0.799 0.011 227.022);
  --popover: oklch(0.128 0.017 120.547);
  --popover-foreground: oklch(0.993 0.001 120.792);
  --card: oklch(0.128 0.017 120.547);
  --card-foreground: oklch(0.993 0.001 120.792);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.392 0.1 127.261);
  --primary-foreground: oklch(0.899 0.224 127.146);
  --secondary: oklch(0.317 0.066 235.522);
  --secondary-foreground: oklch(0.841 0.092 229.117);
  --accent: oklch(0.287 0.117 345.655);
  --accent-foreground: oklch(0.777 0.165 340.386);
  --destructive: oklch(0.576 0.209 32.382);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.392 0.1 127.261);
  --chart-1: oklch(0.392 0.1 127.261);
  --chart-2: oklch(0.317 0.066 235.522);
  --chart-3: oklch(0.287 0.117 345.655);
  --chart-4: oklch(0.355 0.075 236.272);
  --chart-5: oklch(0.396 0.102 127.416);
}