Timely for shadcn/ui

Timely is a shadcn/ui theme built around a vivid green primary color (#5eda10) with vivid green accents (#10da28). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#5eda10) on a green-tinted background (#070b04).

Color palette

TokenLightDark
Background
#ffffffwhite
#070b04black
Foreground
#040901black
#ffffffwhite
Card
#ffffffwhite
#070b04black
Card foreground
#040901black
#ffffffwhite
Popover
#ffffffwhite
#070b04black
Popover foreground
#040901black
#ffffffwhite
Primary
#5eda10lawngreen
#5eda10lawngreen
Primary foreground
#0c1c02black
#0c1c02black
Secondary
#c3da10greenyellow
#c3da10greenyellow
Secondary foreground
#191c02black
#191c02black
Muted
#e3e4d8gainsboro
#26271bblack
Muted foreground
#666855dimgray
#a8aa97darkgray
Accent
#10da28limegreen
#10da28limegreen
Accent foreground
#021c05black
#021c05black
Destructive
#c82f14firebrick
#eb4e33tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5eda10lawngreen
#5eda10lawngreen

Contrast

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

Light mode
Text on background20.10:1AAA
Text on card20.10:1AAA
Primary button9.74:1AAA
Secondary button11.06:1AAA
Muted text4.44:1AA Large
Accent9.48:1AAA
Destructive5.44:1AA
Dark mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button9.74:1AAA
Secondary button11.06:1AAA
Muted text6.35:1AA
Accent9.48:1AAA
Destructive3.70:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.128 0.026 131.143);
  --muted: oklch(0.915 0.017 112.125);
  --muted-foreground: oklch(0.509 0.029 112.834);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.128 0.026 131.143);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.128 0.026 131.143);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.786 0.239 137.942);
  --primary-foreground: oklch(0.206 0.054 134.274);
  --secondary: oklch(0.842 0.192 117.382);
  --secondary-foreground: oklch(0.218 0.045 115.485);
  --accent: oklch(0.772 0.252 143.379);
  --accent-foreground: oklch(0.201 0.056 145.885);
  --destructive: oklch(0.545 0.193 32.165);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.786 0.239 137.942);
  --chart-1: oklch(0.786 0.239 137.942);
  --chart-2: oklch(0.842 0.192 117.382);
  --chart-3: oklch(0.772 0.252 143.379);
  --chart-4: oklch(0.883 0.202 117.405);
  --chart-5: oklch(0.795 0.244 138.134);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.02 131.782);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.269 0.022 113.319);
  --muted-foreground: oklch(0.731 0.027 112.458);
  --popover: oklch(0.142 0.02 131.782);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.142 0.02 131.782);
  --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.786 0.239 137.942);
  --primary-foreground: oklch(0.206 0.054 134.274);
  --secondary: oklch(0.842 0.192 117.382);
  --secondary-foreground: oklch(0.218 0.045 115.485);
  --accent: oklch(0.772 0.252 143.379);
  --accent-foreground: oklch(0.201 0.056 145.885);
  --destructive: oklch(0.638 0.197 32.362);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.786 0.239 137.942);
  --chart-1: oklch(0.786 0.239 137.942);
  --chart-2: oklch(0.842 0.192 117.382);
  --chart-3: oklch(0.772 0.252 143.379);
  --chart-4: oklch(0.883 0.202 117.405);
  --chart-5: oklch(0.795 0.244 138.134);
}