Timely for shadcn/ui

Timely is a shadcn/ui theme built around a vivid deep green primary color (#073107) with vivid deep green accents (#07311b). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#073107) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#000000black
#fcfdfcwhite
Card
#ffffffwhite
#000000black
Card foreground
#000000black
#fcfdfcwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#000000black
#fcfdfcwhite
Primary
#073107black
#073107black
Primary foreground
#26e123limegreen
#26e123limegreen
Secondary
#1d3107black
#1d3107black
Secondary foreground
#85e123yellowgreen
#85e123yellowgreen
Muted
#edefecwhitesmoke
#121310black
Muted foreground
#4d5841darkolivegreen
#b3bea7darkgray
Accent
#07311bblack
#07311bblack
Accent foreground
#23e17fspringgreen
#23e17fspringgreen
Destructive
#c12b06firebrick
#f9572ftomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#073107black
#073107black

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button8.14:1AAA
Secondary button8.52:1AAA
Muted text6.49:1AA
Accent8.26:1AAA
Destructive5.80:1AA
Dark mode
Text on background20.59:1AAA
Text on card20.59:1AAA
Primary button8.14:1AAA
Secondary button8.52:1AAA
Muted text9.60:1AAA
Accent8.26:1AAA
Destructive6.43:1AA

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 0 0);
  --muted: oklch(0.949 0.004 127.839);
  --muted-foreground: oklch(0.444 0.039 128.87);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --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.276 0.083 142.696);
  --primary-foreground: oklch(0.792 0.258 142.537);
  --secondary: oklch(0.287 0.071 131.992);
  --secondary-foreground: oklch(0.82 0.224 133.419);
  --accent: oklch(0.279 0.061 155.81);
  --accent-foreground: oklch(0.801 0.197 153.448);
  --destructive: oklch(0.53 0.19 33.36);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.276 0.083 142.696);
  --chart-1: oklch(0.276 0.083 142.696);
  --chart-2: oklch(0.287 0.071 131.992);
  --chart-3: oklch(0.279 0.061 155.81);
  --chart-4: oklch(0.334 0.085 132.408);
  --chart-5: oklch(0.278 0.085 142.637);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.003 145.082);
  --muted: oklch(0.185 0.006 128.18);
  --muted-foreground: oklch(0.786 0.034 128.306);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.003 145.082);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.993 0.003 145.082);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.276 0.083 142.696);
  --primary-foreground: oklch(0.792 0.258 142.537);
  --secondary: oklch(0.287 0.071 131.992);
  --secondary-foreground: oklch(0.82 0.224 133.419);
  --accent: oklch(0.279 0.061 155.81);
  --accent-foreground: oklch(0.801 0.197 153.448);
  --destructive: oklch(0.67 0.204 34.909);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.276 0.083 142.696);
  --chart-1: oklch(0.276 0.083 142.696);
  --chart-2: oklch(0.287 0.071 131.992);
  --chart-3: oklch(0.279 0.061 155.81);
  --chart-4: oklch(0.334 0.085 132.408);
  --chart-5: oklch(0.278 0.085 142.637);
}