Seller for shadcn/ui

Seller is a shadcn/ui theme built around a light green primary color (#dbf9d8) with light green accents (#d8f9e4). The light mode uses a neutral background (#fbfefb). Dark mode keeps the light green primary (#dbf9d8) on a green-tinted background (#080d07).

Color palette

TokenLightDark
Background
#fbfefbwhite
#080d07black
Foreground
#000000black
#ffffffwhite
Card
#f8fdf7mintcream
#0a1109black
Card foreground
#000000black
#ffffffwhite
Popover
#fbfefbwhite
#080d07black
Popover foreground
#000000black
#ffffffwhite
Primary
#dbf9d8beige
#dbf9d8beige
Primary foreground
#0d3008black
#0d3008black
Secondary
#ecf9d8beige
#ecf9d8beige
Secondary foreground
#213008black
#213008black
Muted
#ecefe6linen
#151910black
Muted foreground
#5e6454dimgray
#a5ab9bdarkgray
Accent
#d8f9e4honeydew
#d8f9e4honeydew
Accent foreground
#083017black
#083017black
Destructive
#c53e11firebrick
#dd4613chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dbf9d8beige
#dbf9d8beige

Contrast

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

Light mode
Text on background20.65:1AAA
Text on card20.32:1AAA
Primary button12.82:1AAA
Secondary button12.77:1AAA
Muted text5.27:1AA
Accent12.81:1AAA
Destructive5.15:1AA
Dark mode
Text on background19.57:1AAA
Text on card19.18:1AAA
Primary button12.82:1AAA
Secondary button12.77:1AAA
Muted text7.54:1AAA
Accent12.81:1AAA
Destructive4.25:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.004 142.098);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.948 0.013 123.844);
  --muted-foreground: oklch(0.493 0.027 124.459);
  --popover: oklch(0.994 0.004 142.098);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.008 142.084);
  --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.951 0.053 141.918);
  --primary-foreground: oklch(0.274 0.077 141.378);
  --secondary: oklch(0.963 0.045 124.348);
  --secondary-foreground: oklch(0.286 0.065 128.191);
  --accent: oklch(0.952 0.044 158.401);
  --accent-foreground: oklch(0.275 0.064 152.095);
  --destructive: oklch(0.556 0.179 36.559);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.951 0.053 141.918);
  --chart-1: oklch(0.951 0.053 141.918);
  --chart-2: oklch(0.963 0.045 124.348);
  --chart-3: oklch(0.952 0.044 158.401);
  --chart-4: oklch(0.975 0.03 124.103);
  --chart-5: oklch(0.952 0.056 141.911);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.152 0.017 141.304);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.207 0.019 125.036);
  --muted-foreground: oklch(0.733 0.024 124.136);
  --popover: oklch(0.152 0.017 141.304);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.166 0.02 141.58);
  --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.951 0.053 141.918);
  --primary-foreground: oklch(0.274 0.077 141.378);
  --secondary: oklch(0.963 0.045 124.348);
  --secondary-foreground: oklch(0.286 0.065 128.191);
  --accent: oklch(0.952 0.044 158.401);
  --accent-foreground: oklch(0.275 0.064 152.095);
  --destructive: oklch(0.603 0.195 36.441);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.951 0.053 141.918);
  --chart-1: oklch(0.951 0.053 141.918);
  --chart-2: oklch(0.963 0.045 124.348);
  --chart-3: oklch(0.952 0.044 158.401);
  --chart-4: oklch(0.975 0.03 124.103);
  --chart-5: oklch(0.952 0.056 141.911);
}