Generate feedback colors (success, warning, error, and info) for shadcn/ui

Go to generator

10000+Themes for shadcn/ui

Filthy for shadcn/ui

Filthy is a shadcn/ui theme built around a muted orange primary color (#8d604e) with muted yellow accents (#8d804e). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted orange primary (#8d604e) on an orange-tinted background (#0b0604).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0604black
Foreground
#000000black
#ffffffwhite
Card
#fcfcfcsnow
#0f0805black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#0f0805black
Popover foreground
#000000black
#ffffffwhite
Primary
#8d604esienna
#8d604esienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#8d4e5cdimgray
#8d4e5cdimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e3cfd3lightgrey
#301c21black
Muted foreground
#585656dimgray
#a9a7a8darkgray
Accent
#8d804edimgray
#8d804edimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#702401maroon
#fe5c10orangered
Destructive foreground
#ffc0a4lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8d604esienna
#8d604esienna

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button5.35:1AA
Secondary button6.21:1AA
Muted text4.89:1AA
Accent3.94:1AA Large
Destructive6.89:1AA
Dark mode
Text on background20.14:1AAA
Text on card19.85:1AAA
Primary button5.35:1AA
Secondary button6.21:1AA
Muted text6.66:1AA
Accent3.94:1AA Large
Destructive6.73:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.871 0.023 2.78);
  --muted-foreground: oklch(0.454 0.002 2.207);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --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.533 0.066 42.401);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.503 0.087 6.778);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.599 0.07 94.444);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.372 0.115 40.544);
  --destructive-foreground: oklch(0.858 0.082 45.981);
  --ring: oklch(0.533 0.066 42.401);
  --chart-1: oklch(0.533 0.066 42.401);
  --chart-2: oklch(0.503 0.087 6.778);
  --chart-3: oklch(0.599 0.07 94.444);
  --chart-4: oklch(0.527 0.092 6.818);
  --chart-5: oklch(0.533 0.073 42.333);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.13 0.013 49.544);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.255 0.032 5.432);
  --muted-foreground: oklch(0.731 0.002 2.144);
  --popover: oklch(0.144 0.015 47.556);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.144 0.015 47.556);
  --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.533 0.066 42.401);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.503 0.087 6.778);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.599 0.07 94.444);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.682 0.21 39.678);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.533 0.066 42.401);
  --chart-1: oklch(0.533 0.066 42.401);
  --chart-2: oklch(0.503 0.087 6.778);
  --chart-3: oklch(0.599 0.07 94.444);
  --chart-4: oklch(0.527 0.092 6.818);
  --chart-5: oklch(0.533 0.073 42.333);
}