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

Go to generator

10000+Themes for shadcn/ui

Gorilla for shadcn/ui

Gorilla is a shadcn/ui theme built around a light teal primary color (#e0f0ec) with light red accents (#f0e0e4). The light mode uses a neutral background (#ffffff). Dark mode keeps the light teal primary (#e0f0ec) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#010403black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#010403black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#010403black
#ffffffwhite
Primary
#e0f0eclavender
#e0f0eclavender
Primary foreground
#122621black
#122621black
Secondary
#f0e0e4mistyrose
#f0e0e4mistyrose
Secondary foreground
#6b3340saddlebrown
#6b3340saddlebrown
Muted
#efdce0mistyrose
#231014black
Muted foreground
#644a50dimgray
#b59ba1darkgray
Accent
#f0e0e4mistyrose
#f0e0e4mistyrose
Accent foreground
#6b3340saddlebrown
#6b3340saddlebrown
Destructive
#5f0a07maroon
#ef261fcrimson
Destructive foreground
#f8a3a0lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e0f0eclavender
#e0f0eclavender

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button13.47:1AAA
Secondary button7.58:1AAA
Muted text6.05:1AA
Accent7.58:1AAA
Destructive6.99:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button13.47:1AAA
Secondary button7.58:1AAA
Muted text7.06:1AAA
Accent7.58:1AAA
Destructive4.21:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.1 0.013 180.947);
  --muted: oklch(0.911 0.022 1.63);
  --muted-foreground: oklch(0.438 0.036 3.209);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.1 0.013 180.947);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.1 0.013 180.947);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.942 0.018 180.424);
  --primary-foreground: oklch(0.25 0.027 177.294);
  --secondary: oklch(0.921 0.018 1.508);
  --secondary-foreground: oklch(0.399 0.08 6.574);
  --accent: oklch(0.921 0.018 1.508);
  --accent-foreground: oklch(0.399 0.08 6.574);
  --destructive: oklch(0.313 0.118 28.739);
  --destructive-foreground: oklch(0.798 0.103 21.772);
  --ring: oklch(0.942 0.018 180.424);
  --chart-1: oklch(0.942 0.018 180.424);
  --chart-2: oklch(0.921 0.018 1.508);
  --chart-3: oklch(0.921 0.018 1.508);
  --chart-4: oklch(0.947 0.012 1.313);
  --chart-5: oklch(0.943 0.019 180.378);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.202 0.033 5.468);
  --muted-foreground: oklch(0.715 0.032 2.174);
  --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.942 0.018 180.424);
  --primary-foreground: oklch(0.25 0.027 177.294);
  --secondary: oklch(0.921 0.018 1.508);
  --secondary-foreground: oklch(0.399 0.08 6.574);
  --accent: oklch(0.921 0.018 1.508);
  --accent-foreground: oklch(0.399 0.08 6.574);
  --destructive: oklch(0.612 0.233 28.72);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.942 0.018 180.424);
  --chart-1: oklch(0.942 0.018 180.424);
  --chart-2: oklch(0.921 0.018 1.508);
  --chart-3: oklch(0.921 0.018 1.508);
  --chart-4: oklch(0.947 0.012 1.313);
  --chart-5: oklch(0.943 0.019 180.378);
}