Noteworthy for shadcn/ui

Noteworthy is a shadcn/ui theme built around a green primary color (#a4cf96) with red accents (#cf96a4). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the green primary (#a4cf96) on a neutral background (#040703).

Color palette

TokenLightDark
Background
#f9fcf8mintcream
#040703black
Foreground
#020401black
#ffffffwhite
Card
#f9fcf8mintcream
#040703black
Card foreground
#020401black
#ffffffwhite
Popover
#f9fcf8mintcream
#040703black
Popover foreground
#020401black
#ffffffwhite
Primary
#a4cf96darkseagreen
#a4cf96darkseagreen
Primary foreground
#152310black
#152310black
Secondary
#96a4cfdarkgray
#96a4cfdarkgray
Secondary foreground
#101523black
#101523black
Muted
#edeff2whitesmoke
#0d0e12black
Muted foreground
#565c6cdimgray
#9399a9darkgray
Accent
#cf96a4rosybrown
#cf96a4rosybrown
Accent foreground
#231015black
#231015black
Destructive
#b63711firebrick
#ec5d32tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a4cf96darkseagreen
#a4cf96darkseagreen

Contrast

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

Light mode
Text on background19.86:1AAA
Text on card19.86:1AAA
Primary button9.32:1AAA
Secondary button7.39:1AAA
Muted text5.78:1AA
Accent7.40:1AAA
Destructive5.91:1AA
Dark mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button9.32:1AAA
Secondary button7.39:1AAA
Muted text6.76:1AA
Accent7.40:1AAA
Destructive6.17:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.005 137.772);
  --foreground: oklch(0.1 0.02 135.811);
  --muted: oklch(0.951 0.005 271.362);
  --muted-foreground: oklch(0.474 0.027 270.801);
  --popover: oklch(0.987 0.005 137.772);
  --popover-foreground: oklch(0.1 0.02 135.811);
  --card: oklch(0.987 0.005 137.772);
  --card-foreground: oklch(0.1 0.02 135.811);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.809 0.09 137.992);
  --primary-foreground: oklch(0.237 0.04 138.191);
  --secondary: oklch(0.724 0.064 270.381);
  --secondary-foreground: oklch(0.198 0.03 269.482);
  --accent: oklch(0.732 0.07 2.477);
  --accent-foreground: oklch(0.203 0.033 4.276);
  --destructive: oklch(0.522 0.169 35.855);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.809 0.09 137.992);
  --chart-1: oklch(0.809 0.09 137.992);
  --chart-2: oklch(0.724 0.064 270.381);
  --chart-3: oklch(0.732 0.07 2.477);
  --chart-4: oklch(0.752 0.057 270.551);
  --chart-5: oklch(0.813 0.097 138.014);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.015 136.571);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.165 0.007 270.932);
  --muted-foreground: oklch(0.683 0.024 271.046);
  --popover: oklch(0.122 0.015 136.571);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.122 0.015 136.571);
  --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.809 0.09 137.992);
  --primary-foreground: oklch(0.237 0.04 138.191);
  --secondary: oklch(0.724 0.064 270.381);
  --secondary-foreground: oklch(0.198 0.03 269.482);
  --accent: oklch(0.732 0.07 2.477);
  --accent-foreground: oklch(0.203 0.033 4.276);
  --destructive: oklch(0.658 0.186 37.036);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.809 0.09 137.992);
  --chart-1: oklch(0.809 0.09 137.992);
  --chart-2: oklch(0.724 0.064 270.381);
  --chart-3: oklch(0.732 0.07 2.477);
  --chart-4: oklch(0.752 0.057 270.551);
  --chart-5: oklch(0.813 0.097 138.014);
}