Deneme for shadcn/ui

Deneme is a shadcn/ui theme built around a vivid green primary color (#d0f637) with vivid indigo accents (#5d37f6). The light mode uses a neutral background (#fbfdf7). Dark mode keeps the vivid green primary (#d0f637) on a neutral background (#060703).

Color palette

TokenLightDark
Background
#fbfdf7snow
#060703black
Foreground
#0e1004black
#f8f9f6whitesmoke
Card
#fafbf3floralwhite
#0a0b05black
Card foreground
#0a0c03black
#fafbf9snow
Popover
#fbfdf7snow
#060703black
Popover foreground
#0e1004black
#f8f9f6whitesmoke
Primary
#d0f637greenyellow
#d0f637greenyellow
Primary foreground
#000000black
#000000black
Secondary
#5d37f6blueviolet
#5d37f6blueviolet
Secondary foreground
#fbfaffghostwhite
#fbfaffghostwhite
Muted
#e9e7f4lavender
#0e0b18black
Muted foreground
#605d6fdimgray
#9390a2lightslategray
Accent
#5d37f6blueviolet
#5d37f6blueviolet
Accent foreground
#fbfaffghostwhite
#fbfaffghostwhite
Destructive
#9f160ffirebrick
#ed4840tomato
Destructive foreground
#fce4e3mistyrose
#ffffffwhite
Border
#eeeeecwhitesmoke
#252522darkslategray
Input
#eeeeecwhitesmoke
#252522darkslategray
Ring
#d0f637greenyellow
#d0f637greenyellow

Contrast

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

Light mode
Text on background18.69:1AAA
Text on card18.92:1AAA
Primary button16.85:1AAA
Secondary button6.04:1AA
Muted text5.20:1AA
Accent6.04:1AA
Destructive6.70:1AA
Dark mode
Text on background19.09:1AAA
Text on card19.06:1AAA
Primary button16.85:1AAA
Secondary button6.04:1AA
Muted text6.24:1AA
Accent6.04:1AA
Destructive3.73:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.007 115.709);
  --foreground: oklch(0.167 0.026 117.605);
  --muted: oklch(0.932 0.018 295.224);
  --muted-foreground: oklch(0.488 0.029 294.455);
  --popover: oklch(0.99 0.007 115.709);
  --popover-foreground: oklch(0.167 0.026 117.605);
  --card: oklch(0.986 0.011 115.775);
  --card-foreground: oklch(0.15 0.023 116.616);
  --border: oklch(0.948 0.002 115.616);
  --input: oklch(0.948 0.002 115.616);
  --primary: oklch(0.914 0.204 120.889);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.518 0.26 281.519);
  --secondary-foreground: oklch(0.988 0.006 295.463);
  --accent: oklch(0.518 0.26 281.519);
  --accent-foreground: oklch(0.988 0.006 295.463);
  --destructive: oklch(0.45 0.171 29.19);
  --destructive-foreground: oklch(0.939 0.027 21.264);
  --ring: oklch(0.914 0.204 120.889);
  --chart-1: oklch(0.914 0.204 120.889);
  --chart-2: oklch(0.518 0.26 281.519);
  --chart-3: oklch(0.518 0.26 281.519);
  --chart-4: oklch(0.546 0.246 283.861);
  --chart-5: oklch(0.922 0.208 121.028);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.014 116.007);
  --foreground: oklch(0.98 0.004 115.647);
  --muted: oklch(0.162 0.028 292.201);
  --muted-foreground: oklch(0.662 0.027 294.817);
  --popover: oklch(0.126 0.014 116.007);
  --popover-foreground: oklch(0.98 0.004 115.647);
  --card: oklch(0.144 0.016 116.081);
  --card-foreground: oklch(0.987 0.002 115.624);
  --border: oklch(0.263 0.005 115.946);
  --input: oklch(0.263 0.005 115.946);
  --primary: oklch(0.914 0.204 120.889);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.518 0.26 281.519);
  --secondary-foreground: oklch(0.988 0.006 295.463);
  --accent: oklch(0.518 0.26 281.519);
  --accent-foreground: oklch(0.988 0.006 295.463);
  --destructive: oklch(0.638 0.203 27.486);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.914 0.204 120.889);
  --chart-1: oklch(0.914 0.204 120.889);
  --chart-2: oklch(0.518 0.26 281.519);
  --chart-3: oklch(0.518 0.26 281.519);
  --chart-4: oklch(0.546 0.246 283.861);
  --chart-5: oklch(0.922 0.208 121.028);
}