Lilliputian Lime Parrot for shadcn/ui

Lilliputian Lime Parrot is a shadcn/ui theme built around a green primary color (#7ddf53) with violet accents (#b553df). The light mode uses a neutral background (#fcfefb). Dark mode keeps the green primary (#7ddf53) on a green-tinted background (#081005).

Color palette

TokenLightDark
Background
#fcfefbwhite
#081005black
Foreground
#060c04black
#ffffffwhite
Card
#fcfefbwhite
#081005black
Card foreground
#060c04black
#ffffffwhite
Popover
#fcfefbwhite
#081005black
Popover foreground
#060c04black
#ffffffwhite
Primary
#7ddf53yellowgreen
#7ddf53yellowgreen
Primary foreground
#000000black
#000000black
Secondary
#b553dfmediumorchid
#b553dfmediumorchid
Secondary foreground
#000000black
#000000black
Muted
#decde5gainsboro
#2b1a32darkslategray
Muted foreground
#5b555edimgray
#a8a1aadarkgray
Accent
#b553dfmediumorchid
#b553dfmediumorchid
Accent foreground
#000000black
#000000black
Destructive
#ba440dfirebrick
#f17237tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#eaece9linen
#1b1e1ablack
Input
#eaece9linen
#1b1e1ablack
Ring
#7ddf53yellowgreen
#7ddf53yellowgreen

Contrast

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

Light mode
Text on background19.46:1AAA
Text on card19.46:1AAA
Primary button12.58:1AAA
Secondary button5.26:1AA
Muted text4.78:1AA
Accent5.26:1AA
Destructive5.36:1AA
Dark mode
Text on background19.36:1AAA
Text on card19.36:1AAA
Primary button12.58:1AAA
Secondary button5.26:1AA
Muted text6.42:1AA
Accent5.26:1AA
Destructive7.19:1AAA

CSS variables

Paste this into your globals.css to use Lilliputian Lime Parrot in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 136.035);
  --foreground: oklch(0.142 0.023 134.584);
  --muted: oklch(0.868 0.038 315.865);
  --muted-foreground: oklch(0.458 0.016 315.895);
  --popover: oklch(0.994 0.004 136.035);
  --popover-foreground: oklch(0.142 0.023 134.584);
  --card: oklch(0.994 0.004 136.035);
  --card-foreground: oklch(0.142 0.023 134.584);
  --border: oklch(0.941 0.004 136.038);
  --input: oklch(0.941 0.004 136.038);
  --primary: oklch(0.816 0.2 137.615);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.624 0.216 314.217);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.624 0.216 314.217);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.543 0.163 40.285);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.816 0.2 137.615);
  --chart-1: oklch(0.816 0.2 137.615);
  --chart-2: oklch(0.624 0.216 314.217);
  --chart-3: oklch(0.624 0.216 314.217);
  --chart-4: oklch(0.648 0.202 314.53);
  --chart-5: oklch(0.822 0.207 137.709);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.159 0.027 135.22);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.252 0.05 315.236);
  --muted-foreground: oklch(0.718 0.015 315.949);
  --popover: oklch(0.159 0.027 135.22);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.159 0.027 135.22);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.231 0.008 136.159);
  --input: oklch(0.231 0.008 136.159);
  --primary: oklch(0.816 0.2 137.615);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.624 0.216 314.217);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.624 0.216 314.217);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.694 0.172 43.225);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.816 0.2 137.615);
  --chart-1: oklch(0.816 0.2 137.615);
  --chart-2: oklch(0.624 0.216 314.217);
  --chart-3: oklch(0.624 0.216 314.217);
  --chart-4: oklch(0.648 0.202 314.53);
  --chart-5: oklch(0.822 0.207 137.709);
}