Noteworthy for shadcn/ui

Noteworthy is a shadcn/ui theme built around a near-white primary color (#fdf9f6) with near-white accents (#fdfdf6). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the near-white primary (#fdf9f6) on an orange-tinted background (#0b0704).

Color palette

TokenLightDark
Background
#fcfaf8snow
#0b0704black
Foreground
#130c06black
#ffffffwhite
Card
#fcfaf8snow
#0b0704black
Card foreground
#130c06black
#ffffffwhite
Popover
#fcfaf8snow
#0b0704black
Popover foreground
#130c06black
#ffffffwhite
Primary
#fdf9f6snow
#fdf9f6snow
Primary foreground
#4d290fmaroon
#4d290fmaroon
Secondary
#fdf6f7snow
#fdf6f7snow
Secondary foreground
#a31f2abrown
#a31f2abrown
Muted
#f5eff0whitesmoke
#100a0ablack
Muted foreground
#604d4fdimgray
#b29fa0darkgray
Accent
#fdfdf6snow
#fdfdf6snow
Accent foreground
#4d480fdarkolivegreen
#4d480fdarkolivegreen
Destructive
#891106darkred
#f64231tomato
Destructive foreground
#fdc9c4pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fdf9f6snow
#fdf9f6snow

Contrast

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

Light mode
Text on background18.56:1AAA
Text on card18.56:1AAA
Primary button12.26:1AAA
Secondary button7.09:1AAA
Muted text6.93:1AA
Accent9.13:1AAA
Destructive6.67:1AA
Dark mode
Text on background20.05:1AAA
Text on card20.05:1AAA
Primary button12.26:1AAA
Secondary button7.09:1AAA
Muted text7.82:1AAA
Accent9.13:1AAA
Destructive3.64:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.003 58.323);
  --foreground: oklch(0.161 0.018 59.143);
  --muted: oklch(0.958 0.006 11.388);
  --muted-foreground: oklch(0.441 0.026 12.541);
  --popover: oklch(0.985 0.003 58.323);
  --popover-foreground: oklch(0.161 0.018 59.143);
  --card: oklch(0.985 0.003 58.323);
  --card-foreground: oklch(0.161 0.018 59.143);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.985 0.006 58.28);
  --primary-foreground: oklch(0.322 0.066 53.251);
  --secondary: oklch(0.98 0.007 11.416);
  --secondary-foreground: oklch(0.467 0.166 22.808);
  --accent: oklch(0.992 0.008 102.35);
  --accent-foreground: oklch(0.395 0.075 104.023);
  --destructive: oklch(0.404 0.155 30.205);
  --destructive-foreground: oklch(0.88 0.059 24.368);
  --ring: oklch(0.985 0.006 58.28);
  --chart-1: oklch(0.985 0.006 58.28);
  --chart-2: oklch(0.98 0.007 11.416);
  --chart-3: oklch(0.992 0.008 102.35);
  --chart-4: oklch(1.01 0.004 191.17);
  --chart-5: oklch(0.985 0.006 58.277);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.133 0.012 64.779);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.152 0.01 12.717);
  --muted-foreground: oklch(0.719 0.023 11.936);
  --popover: oklch(0.133 0.012 64.779);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.133 0.012 64.779);
  --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.985 0.006 58.28);
  --primary-foreground: oklch(0.322 0.066 53.251);
  --secondary: oklch(0.98 0.007 11.416);
  --secondary-foreground: oklch(0.467 0.166 22.808);
  --accent: oklch(0.992 0.008 102.35);
  --accent-foreground: oklch(0.395 0.075 104.023);
  --destructive: oklch(0.645 0.219 29.565);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.985 0.006 58.28);
  --chart-1: oklch(0.985 0.006 58.28);
  --chart-2: oklch(0.98 0.007 11.416);
  --chart-3: oklch(0.992 0.008 102.35);
  --chart-4: oklch(1.01 0.004 191.17);
  --chart-5: oklch(0.985 0.006 58.277);
}