Shameful for shadcn/ui

Shameful is a shadcn/ui theme built around a vivid light teal primary color (#f1fef8) with vivid light pink accents (#fef1f7). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#f1fef8) on a teal-tinted background (#050f0a).

Color palette

TokenLightDark
Background
#ffffffwhite
#050f0ablack
Foreground
#020805black
#ffffffwhite
Card
#fcfcfcsnow
#07130dblack
Card foreground
#010403black
#ffffffwhite
Popover
#fcfcfcsnow
#07130dblack
Popover foreground
#010403black
#ffffffwhite
Primary
#f1fef8mintcream
#f1fef8mintcream
Primary foreground
#084f2ddarkgreen
#084f2ddarkgreen
Secondary
#fef1f7lavenderblush
#fef1f7lavenderblush
Secondary foreground
#ac115cmediumvioletred
#ac115cmediumvioletred
Muted
#ebe0e5gainsboro
#1f1419black
Muted foreground
#4e464adarkslategray
#b9b1b5silver
Accent
#fef1f7lavenderblush
#fef1f7lavenderblush
Accent foreground
#ac115cmediumvioletred
#ac115cmediumvioletred
Destructive
#cf4a07chocolate
#e75308orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f1fef8mintcream
#f1fef8mintcream

Contrast

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

Light mode
Text on background20.20:1AAA
Text on card20.14:1AAA
Primary button9.33:1AAA
Secondary button6.40:1AA
Muted text7.10:1AAA
Accent6.40:1AA
Destructive4.54:1AA
Dark mode
Text on background19.43:1AAA
Text on card18.97:1AAA
Primary button9.33:1AAA
Secondary button6.40:1AA
Muted text8.53:1AAA
Accent6.40:1AA
Destructive3.72:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.124 0.017 166.202);
  --muted: oklch(0.917 0.014 346.405);
  --muted-foreground: oklch(0.403 0.014 346.906);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.098 0.013 166.202);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.098 0.013 166.202);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.985 0.015 165.594);
  --primary-foreground: oklch(0.377 0.088 155.542);
  --secondary: oklch(0.97 0.016 346.441);
  --secondary-foreground: oklch(0.488 0.189 359.78);
  --accent: oklch(0.97 0.016 346.441);
  --accent-foreground: oklch(0.488 0.189 359.78);
  --destructive: oklch(0.585 0.18 40.266);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.985 0.015 165.594);
  --chart-1: oklch(0.985 0.015 165.594);
  --chart-2: oklch(0.97 0.016 346.441);
  --chart-3: oklch(0.97 0.016 346.441);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.985 0.016 165.579);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.157 0.019 164.166);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.208 0.02 348.407);
  --muted-foreground: oklch(0.768 0.012 346.418);
  --popover: oklch(0.172 0.022 162.628);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.172 0.022 162.628);
  --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.985 0.015 165.594);
  --primary-foreground: oklch(0.377 0.088 155.542);
  --secondary: oklch(0.97 0.016 346.441);
  --secondary-foreground: oklch(0.488 0.189 359.78);
  --accent: oklch(0.97 0.016 346.441);
  --accent-foreground: oklch(0.488 0.189 359.78);
  --destructive: oklch(0.635 0.196 40.049);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.985 0.015 165.594);
  --chart-1: oklch(0.985 0.015 165.594);
  --chart-2: oklch(0.97 0.016 346.441);
  --chart-3: oklch(0.97 0.016 346.441);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.985 0.016 165.579);
}