Frilly for shadcn/ui

Frilly is a shadcn/ui theme built around a muted green primary color (#84a98c) with muted teal accents (#84a99f). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted green primary (#84a98c) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#031106black
#f5f9f6whitesmoke
Card
#fcfcfcsnow
#030303black
Card foreground
#020d05black
#f9fbf9mintcream
Popover
#fcfcfcsnow
#030303black
Popover foreground
#020d05black
#f9fbf9mintcream
Primary
#84a98cdarkseagreen
#84a98cdarkseagreen
Primary foreground
#000000black
#000000black
Secondary
#8ea984darkseagreen
#8ea984darkseagreen
Secondary foreground
#000000black
#000000black
Muted
#e1e7degainsboro
#1a2118black
Muted foreground
#616161dimgray
#9e9e9edarkgray
Accent
#84a99fdarkseagreen
#84a99fdarkseagreen
Accent foreground
#000000black
#000000black
Destructive
#bc3a0bfirebrick
#f36b39tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#84a98cdarkseagreen
#84a98cdarkseagreen

Contrast

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

Light mode
Text on background19.32:1AAA
Text on card19.34:1AAA
Primary button8.04:1AAA
Secondary button8.18:1AAA
Muted text4.93:1AA
Accent8.16:1AAA
Destructive5.59:1AA
Dark mode
Text on background19.76:1AAA
Text on card19.88:1AAA
Primary button8.04:1AAA
Secondary button8.18:1AAA
Muted text6.17:1AA
Accent8.16:1AAA
Destructive6.99:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.161 0.033 150.705);
  --muted: oklch(0.922 0.014 136.654);
  --muted-foreground: oklch(0.492 0 180);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.143 0.028 151.428);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.143 0.028 151.428);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.7 0.059 151.199);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.705 0.061 136.896);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.705 0.044 175.766);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.535 0.174 36.954);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.7 0.059 151.199);
  --chart-1: oklch(0.7 0.059 151.199);
  --chart-2: oklch(0.705 0.061 136.896);
  --chart-3: oklch(0.705 0.044 175.766);
  --chart-4: oklch(0.727 0.057 136.861);
  --chart-5: oklch(0.704 0.069 150.963);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.979 0.006 152.523);
  --muted: oklch(0.236 0.019 136.875);
  --muted-foreground: oklch(0.7 0 180);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.986 0.004 152.555);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.986 0.004 152.555);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.7 0.059 151.199);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.705 0.061 136.896);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.705 0.044 175.766);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.688 0.18 39.506);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.7 0.059 151.199);
  --chart-1: oklch(0.7 0.059 151.199);
  --chart-2: oklch(0.705 0.061 136.896);
  --chart-3: oklch(0.705 0.044 175.766);
  --chart-4: oklch(0.727 0.057 136.861);
  --chart-5: oklch(0.704 0.069 150.963);
}