Guilty for shadcn/ui

Guilty is a shadcn/ui theme built around a light cyan primary color (#aaedf3) with light green accents (#edf3aa). The light mode uses a neutral background (#f7fdfd). Dark mode keeps the light cyan primary (#aaedf3) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fdfdmintcream
#000000black
Foreground
#000000black
#ffffffwhite
Card
#f7fdfdmintcream
#000000black
Card foreground
#000000black
#ffffffwhite
Popover
#f7fdfdmintcream
#000000black
Popover foreground
#000000black
#ffffffwhite
Primary
#aaedf3paleturquoise
#aaedf3paleturquoise
Primary foreground
#0d575edarkslategray
#0d575edarkslategray
Secondary
#f3aaedplum
#f3aaedplum
Secondary foreground
#5e0d57indigo
#5e0d57indigo
Muted
#f4f1f4whitesmoke
#0e0b0eblack
Muted foreground
#574255darkslategray
#bda8bbsilver
Accent
#edf3aapalegoldenrod
#edf3aapalegoldenrod
Accent foreground
#040401black
#040401black
Destructive
#5f1a07maroon
#ef4c1forangered
Destructive foreground
#f8b3a0lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#aaedf3paleturquoise
#aaedf3paleturquoise

Contrast

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

Light mode
Text on background20.36:1AAA
Text on card20.36:1AAA
Primary button6.33:1AA
Secondary button7.05:1AAA
Muted text8.07:1AAA
Accent17.58:1AAA
Destructive7.28:1AAA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.33:1AA
Secondary button7.05:1AAA
Muted text8.82:1AAA
Accent17.58:1AAA
Destructive3.65:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 203.523);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.96 0.005 328.118);
  --muted-foreground: oklch(0.409 0.043 329.098);
  --popover: oklch(0.989 0.006 203.523);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.989 0.006 203.523);
  --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.903 0.067 203.13);
  --primary-foreground: oklch(0.419 0.067 204.499);
  --secondary: oklch(0.829 0.12 329.48);
  --secondary-foreground: oklch(0.341 0.139 332.045);
  --accent: oklch(0.942 0.093 112.046);
  --accent-foreground: oklch(0.107 0.019 112.104);
  --destructive: oklch(0.329 0.105 35.56);
  --destructive-foreground: oklch(0.827 0.086 36.066);
  --ring: oklch(0.903 0.067 203.13);
  --chart-1: oklch(0.903 0.067 203.13);
  --chart-2: oklch(0.829 0.12 329.48);
  --chart-3: oklch(0.942 0.093 112.046);
  --chart-4: oklch(0.854 0.101 329.229);
  --chart-5: oklch(0.906 0.069 203.126);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.156 0.008 328.572);
  --muted-foreground: oklch(0.755 0.037 328.559);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.903 0.067 203.13);
  --primary-foreground: oklch(0.419 0.067 204.499);
  --secondary: oklch(0.829 0.12 329.48);
  --secondary-foreground: oklch(0.341 0.139 332.045);
  --accent: oklch(0.942 0.093 112.046);
  --accent-foreground: oklch(0.107 0.019 112.104);
  --destructive: oklch(0.642 0.207 35.274);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.903 0.067 203.13);
  --chart-1: oklch(0.903 0.067 203.13);
  --chart-2: oklch(0.829 0.12 329.48);
  --chart-3: oklch(0.942 0.093 112.046);
  --chart-4: oklch(0.854 0.101 329.229);
  --chart-5: oklch(0.906 0.069 203.126);
}