Insignificant for shadcn/ui

Insignificant is a shadcn/ui theme built around a vivid deep green primary color (#156803) with vivid deep red accents (#680315). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the vivid deep green primary (#156803) on a green-tinted background (#060b05).

Color palette

TokenLightDark
Background
#f8fdf7mintcream
#060b05black
Foreground
#000000black
#f9fbf9mintcream
Card
#f8fdf7mintcream
#060b05black
Card foreground
#000000black
#f9fbf9mintcream
Popover
#f8fdf7mintcream
#060b05black
Popover foreground
#000000black
#f9fbf9mintcream
Primary
#156803darkgreen
#156803darkgreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#031568midnightblue
#031568midnightblue
Secondary foreground
#a1b1fdlightskyblue
#a1b1fdlightskyblue
Muted
#e0e3f0lavender
#0f121fblack
Muted foreground
#58595adimgray
#a5a5a7darkgray
Accent
#680315maroon
#680315maroon
Accent foreground
#fda1b1lightpink
#fda1b1lightpink
Destructive
#ca4b02chocolate
#ed5902orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#156803darkgreen
#156803darkgreen

Contrast

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

Light mode
Text on background20.36:1AAA
Text on card20.36:1AAA
Primary button6.92:1AA
Secondary button7.77:1AAA
Muted text5.48:1AA
Accent6.74:1AA
Destructive4.63:1AA
Dark mode
Text on background19.12:1AAA
Text on card19.12:1AAA
Primary button6.92:1AA
Secondary button7.77:1AAA
Muted text7.58:1AAA
Accent6.74:1AA
Destructive3.48:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.009 139.983);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.917 0.018 275.902);
  --muted-foreground: oklch(0.463 0.002 276.099);
  --popover: oklch(0.988 0.009 139.983);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.988 0.009 139.983);
  --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.453 0.147 141.067);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.263 0.144 264.716);
  --secondary-foreground: oklch(0.777 0.109 273.902);
  --accent: oklch(0.33 0.13 20.88);
  --accent-foreground: oklch(0.804 0.111 7.935);
  --destructive: oklch(0.579 0.174 41.894);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.453 0.147 141.067);
  --chart-1: oklch(0.453 0.147 141.067);
  --chart-2: oklch(0.263 0.144 264.716);
  --chart-3: oklch(0.33 0.13 20.88);
  --chart-4: oklch(0.286 0.159 264.694);
  --chart-5: oklch(0.457 0.15 141.101);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.018 138.76);
  --foreground: oklch(0.986 0.003 139.989);
  --muted: oklch(0.186 0.027 273.781);
  --muted-foreground: oklch(0.723 0.002 276.127);
  --popover: oklch(0.139 0.018 138.76);
  --popover-foreground: oklch(0.986 0.003 139.989);
  --card: oklch(0.139 0.018 138.76);
  --card-foreground: oklch(0.986 0.003 139.989);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.453 0.147 141.067);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.263 0.144 264.716);
  --secondary-foreground: oklch(0.777 0.109 273.902);
  --accent: oklch(0.33 0.13 20.88);
  --accent-foreground: oklch(0.804 0.111 7.935);
  --destructive: oklch(0.652 0.198 41.483);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.453 0.147 141.067);
  --chart-1: oklch(0.453 0.147 141.067);
  --chart-2: oklch(0.263 0.144 264.716);
  --chart-3: oklch(0.33 0.13 20.88);
  --chart-4: oklch(0.286 0.159 264.694);
  --chart-5: oklch(0.457 0.15 141.101);
}