Noteworthy for shadcn/ui

Noteworthy is a shadcn/ui theme built around a vivid light indigo primary color (#d1cafc) with vivid light green accents (#f5fcca). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light indigo primary (#d1cafc) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#070515black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#070515black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#070515black
#ffffffwhite
Primary
#d1cafclavender
#d1cafclavender
Primary foreground
#1b078ddarkblue
#1b078ddarkblue
Secondary
#f5fccalightgoldenrodyellow
#f5fccalightgoldenrodyellow
Secondary foreground
#252c02black
#252c02black
Muted
#f4f5efwhitesmoke
#0f100ablack
Muted foreground
#636652dimgray
#aaad99darkgray
Accent
#f5fccalightgoldenrodyellow
#f5fccalightgoldenrodyellow
Accent foreground
#252c02black
#252c02black
Destructive
#8a0500darkred
#e60800red
Destructive foreground
#ffbfbdlightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d1cafclavender
#d1cafclavender

Contrast

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

Light mode
Text on background20.16:1AAA
Text on card20.16:1AAA
Primary button9.26:1AAA
Secondary button13.65:1AAA
Muted text5.40:1AA
Accent13.65:1AAA
Destructive6.41:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button9.26:1AAA
Secondary button13.65:1AAA
Muted text8.34:1AAA
Accent13.65:1AAA
Destructive4.79:1AA

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.13 0.036 289.052);
  --muted: oklch(0.968 0.008 113.456);
  --muted-foreground: oklch(0.501 0.031 114.46);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.13 0.036 289.052);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.13 0.036 289.052);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.861 0.07 291.738);
  --primary-foreground: oklch(0.307 0.19 272.11);
  --secondary: oklch(0.973 0.066 114.561);
  --secondary-foreground: oklch(0.276 0.061 117.977);
  --accent: oklch(0.973 0.066 114.561);
  --accent-foreground: oklch(0.276 0.061 117.977);
  --destructive: oklch(0.399 0.161 29.787);
  --destructive-foreground: oklch(0.862 0.074 20.97);
  --ring: oklch(0.861 0.07 291.738);
  --chart-1: oklch(0.861 0.07 291.738);
  --chart-2: oklch(0.973 0.066 114.561);
  --chart-3: oklch(0.973 0.066 114.561);
  --chart-4: oklch(0.98 0.048 114.218);
  --chart-5: oklch(0.859 0.072 291.679);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.168 0.012 114.614);
  --muted-foreground: oklch(0.74 0.028 114.021);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.861 0.07 291.738);
  --primary-foreground: oklch(0.307 0.19 272.11);
  --secondary: oklch(0.973 0.066 114.561);
  --secondary-foreground: oklch(0.276 0.061 117.977);
  --accent: oklch(0.973 0.066 114.561);
  --accent-foreground: oklch(0.276 0.061 117.977);
  --destructive: oklch(0.581 0.236 29.53);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.861 0.07 291.738);
  --chart-1: oklch(0.861 0.07 291.738);
  --chart-2: oklch(0.973 0.066 114.561);
  --chart-3: oklch(0.973 0.066 114.561);
  --chart-4: oklch(0.98 0.048 114.218);
  --chart-5: oklch(0.859 0.072 291.679);
}