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

Go to generator

10000+Themes for shadcn/ui

Silly for shadcn/ui

Silly is a shadcn/ui theme built around a vivid deep green primary color (#084f2a) with muted green accents (#aec7ba). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the vivid deep green primary (#084f2a) on a green-tinted background (#030c08).

Color palette

TokenLightDark
Background
#f8fcfamintcream
#030c08black
Foreground
#020d07black
#fcfdfcwhite
Card
#f4fbf7mintcream
#04100ablack
Card foreground
#010905black
#ffffffwhite
Popover
#f4fbf7mintcream
#04100ablack
Popover foreground
#010905black
#ffffffwhite
Primary
#084f2adarkgreen
#084f2adarkgreen
Primary foreground
#37eb8emediumspringgreen
#37eb8emediumspringgreen
Secondary
#cad3celightgrey
#18251eblack
Secondary foreground
#313a35darkslategray
#a9c6b7silver
Muted
#eceeedwhitesmoke
#111312black
Muted foreground
#434645darkslategray
#b9bcbasilver
Accent
#aec7basilver
#264535darkslategray
Accent foreground
#1b2721black
#c0ddcelightgrey
Destructive
#7e1e07maroon
#df360corangered
Destructive foreground
#fbc8bbpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#084f2adarkgreen
#084f2adarkgreen

Contrast

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

Light mode
Text on background19.08:1AAA
Text on card19.13:1AAA
Primary button6.22:1AA
Secondary button7.67:1AAA
Muted text8.20:1AAA
Accent8.55:1AAA
Destructive6.76:1AA
Dark mode
Text on background19.43:1AAA
Text on card19.37:1AAA
Primary button6.22:1AA
Secondary button8.67:1AAA
Muted text9.74:1AAA
Accent7.28:1AAA
Destructive4.50:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.005 164.142);
  --foreground: oklch(0.145 0.025 163.696);
  --muted: oklch(0.948 0.003 164.2);
  --muted-foreground: oklch(0.392 0.004 163.999);
  --popover: oklch(0.981 0.008 164.068);
  --popover-foreground: oklch(0.126 0.021 164.427);
  --card: oklch(0.981 0.008 164.068);
  --card-foreground: oklch(0.126 0.021 164.427);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.377 0.091 154.029);
  --primary-foreground: oklch(0.832 0.192 154.828);
  --secondary: oklch(0.859 0.011 163.944);
  --secondary-foreground: oklch(0.339 0.016 163.05);
  --accent: oklch(0.806 0.032 163.213);
  --accent-foreground: oklch(0.26 0.02 162.091);
  --destructive: oklch(0.393 0.134 34.178);
  --destructive-foreground: oklch(0.875 0.062 34.396);
  --ring: oklch(0.377 0.091 154.029);
  --chart-1: oklch(0.377 0.091 154.029);
  --chart-2: oklch(0.859 0.011 163.944);
  --chart-3: oklch(0.806 0.032 163.213);
  --chart-4: oklch(0.881 0.009 164.008);
  --chart-5: oklch(0.38 0.093 153.729);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.019 164.085);
  --foreground: oklch(0.993 0.001 164.248);
  --muted: oklch(0.184 0.005 163.607);
  --muted-foreground: oklch(0.791 0.004 164.167);
  --popover: oklch(0.158 0.022 162.286);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.158 0.022 162.286);
  --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.377 0.091 154.029);
  --primary-foreground: oklch(0.832 0.192 154.828);
  --secondary: oklch(0.249 0.021 161.906);
  --secondary-foreground: oklch(0.801 0.037 163.033);
  --accent: oklch(0.361 0.047 160.299);
  --accent-foreground: oklch(0.872 0.036 163.182);
  --destructive: oklch(0.592 0.21 33.519);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.377 0.091 154.029);
  --chart-1: oklch(0.377 0.091 154.029);
  --chart-2: oklch(0.249 0.021 161.906);
  --chart-3: oklch(0.361 0.047 160.299);
  --chart-4: oklch(0.284 0.025 161.746);
  --chart-5: oklch(0.38 0.093 153.729);
}