Noteworthy for shadcn/ui

Noteworthy is a shadcn/ui theme built around a muted light yellow primary color (#f6f5f4) with muted light purple accents (#f5f4f6). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light yellow primary (#f6f5f4) on a neutral background (#080603).

Color palette

TokenLightDark
Background
#ffffffwhite
#080603black
Foreground
#161203black
#fdfdfcwhite
Card
#ffffffwhite
#080603black
Card foreground
#161203black
#fdfdfcwhite
Popover
#ffffffwhite
#080603black
Popover foreground
#161203black
#fdfdfcwhite
Primary
#f6f5f4whitesmoke
#f6f5f4whitesmoke
Primary foreground
#2d2b25darkslategray
#2d2b25darkslategray
Secondary
#f4f6f5whitesmoke
#f4f6f5whitesmoke
Secondary foreground
#252d2bdarkslategray
#252d2bdarkslategray
Muted
#e9eceblavender
#131615black
Muted foreground
#566763dimgray
#98a9a5darkgray
Accent
#f5f4f6whitesmoke
#f5f4f6whitesmoke
Accent foreground
#605365dimgray
#605365dimgray
Destructive
#973907saddlebrown
#db530achocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f6f5f4whitesmoke
#f6f5f4whitesmoke

Contrast

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

Light mode
Text on background18.71:1AAA
Text on card18.71:1AAA
Primary button13.01:1AAA
Secondary button12.97:1AAA
Muted text5.02:1AA
Accent6.54:1AA
Destructive7.20:1AAA
Dark mode
Text on background19.86:1AAA
Text on card19.86:1AAA
Primary button13.01:1AAA
Secondary button12.97:1AAA
Muted text7.43:1AAA
Accent6.54:1AA
Destructive3.98:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.182 0.029 93.197);
  --muted: oklch(0.941 0.003 179.783);
  --muted-foreground: oklch(0.498 0.022 178.568);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.182 0.029 93.197);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.182 0.029 93.197);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.971 0.002 91.428);
  --primary-foreground: oklch(0.288 0.011 91.697);
  --secondary: oklch(0.971 0.002 179.799);
  --secondary-foreground: oklch(0.288 0.012 178.632);
  --accent: oklch(0.968 0.003 317.758);
  --accent-foreground: oklch(0.461 0.034 317.642);
  --destructive: oklch(0.471 0.137 42.472);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.971 0.002 91.428);
  --chart-1: oklch(0.971 0.002 91.428);
  --chart-2: oklch(0.971 0.002 179.799);
  --chart-3: oklch(0.968 0.003 317.758);
  --chart-4: oklch(0.993 0.001 179.85);
  --chart-5: oklch(0.971 0.003 91.434);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.013 95.777);
  --foreground: oklch(0.993 0.001 91.422);
  --muted: oklch(0.196 0.004 179.271);
  --muted-foreground: oklch(0.721 0.02 179.055);
  --popover: oklch(0.124 0.013 95.777);
  --popover-foreground: oklch(0.993 0.001 91.422);
  --card: oklch(0.124 0.013 95.777);
  --card-foreground: oklch(0.993 0.001 91.422);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.971 0.002 91.428);
  --primary-foreground: oklch(0.288 0.011 91.697);
  --secondary: oklch(0.971 0.002 179.799);
  --secondary-foreground: oklch(0.288 0.012 178.632);
  --accent: oklch(0.968 0.003 317.758);
  --accent-foreground: oklch(0.461 0.034 317.642);
  --destructive: oklch(0.617 0.184 41.64);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.971 0.002 91.428);
  --chart-1: oklch(0.971 0.002 91.428);
  --chart-2: oklch(0.971 0.002 179.799);
  --chart-3: oklch(0.968 0.003 317.758);
  --chart-4: oklch(0.993 0.001 179.85);
  --chart-5: oklch(0.971 0.003 91.434);
}