Noted for shadcn/ui

Noted is a shadcn/ui theme built around a near-black primary color (#030203) with near-black accents (#020302). The light mode uses a neutral background (#fcf7fc). Dark mode keeps the near-black primary (#030203) on a purple-tinted background (#0b040b).

Color palette

TokenLightDark
Background
#fcf7fcsnow
#0b040bblack
Foreground
#080208black
#f8f7f8whitesmoke
Card
#fbf4fbghostwhite
#0f050fblack
Card foreground
#040104black
#faf9fasnow
Popover
#fcf7fcsnow
#0b040bblack
Popover foreground
#080208black
#f8f7f8whitesmoke
Primary
#030203black
#030203black
Primary foreground
#a690a7darkgray
#a690a7darkgray
Secondary
#020302black
#020302black
Secondary foreground
#91a790darkseagreen
#91a790darkseagreen
Muted
#e8ede8linen
#121712black
Muted foreground
#496148darkolivegreen
#9fb79edarkgray
Accent
#020302black
#020302black
Accent foreground
#91a790darkseagreen
#91a790darkseagreen
Destructive
#a71701darkred
#f92201red
Destructive foreground
#ffe0dbmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#030203black
#030203black

Contrast

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

Light mode
Text on background19.47:1AAA
Text on card19.16:1AAA
Primary button7.06:1AAA
Secondary button8.00:1AAA
Muted text5.74:1AA
Accent8.00:1AAA
Destructive6.10:1AA
Dark mode
Text on background18.96:1AAA
Text on card19.05:1AAA
Primary button7.06:1AAA
Secondary button8.00:1AAA
Muted text8.42:1AAA
Accent8.00:1AAA
Destructive4.00:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.008 324.179);
  --foreground: oklch(0.107 0.03 326.091);
  --muted: oklch(0.941 0.008 144.079);
  --muted-foreground: oklch(0.465 0.049 143.483);
  --popover: oklch(0.982 0.008 324.179);
  --popover-foreground: oklch(0.107 0.03 326.091);
  --card: oklch(0.974 0.012 324.204);
  --card-foreground: oklch(0.085 0.024 326.091);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.091 0.004 324.485);
  --primary-foreground: oklch(0.68 0.043 324.489);
  --secondary: oklch(0.093 0.004 143.773);
  --secondary-foreground: oklch(0.706 0.043 143.77);
  --accent: oklch(0.093 0.004 143.773);
  --accent-foreground: oklch(0.706 0.043 143.77);
  --destructive: oklch(0.467 0.18 31.359);
  --destructive-foreground: oklch(0.931 0.035 28.166);
  --ring: oklch(0.091 0.004 324.485);
  --chart-1: oklch(0.091 0.004 324.485);
  --chart-2: oklch(0.093 0.004 143.773);
  --chart-3: oklch(0.093 0.004 143.773);
  --chart-4: oklch(0.148 0.007 143.799);
  --chart-5: oklch(0.09 0.005 324.574);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.025 325.5);
  --foreground: oklch(0.976 0.003 324.145);
  --muted: oklch(0.197 0.012 143.766);
  --muted-foreground: oklch(0.756 0.044 143.78);
  --popover: oklch(0.125 0.025 325.5);
  --popover-foreground: oklch(0.976 0.003 324.145);
  --card: oklch(0.139 0.029 325.356);
  --card-foreground: oklch(0.984 0.002 324.14);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.091 0.004 324.485);
  --primary-foreground: oklch(0.68 0.043 324.489);
  --secondary: oklch(0.093 0.004 143.773);
  --secondary-foreground: oklch(0.706 0.043 143.77);
  --accent: oklch(0.093 0.004 143.773);
  --accent-foreground: oklch(0.706 0.043 143.77);
  --destructive: oklch(0.626 0.244 30.895);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.091 0.004 324.485);
  --chart-1: oklch(0.091 0.004 324.485);
  --chart-2: oklch(0.093 0.004 143.773);
  --chart-3: oklch(0.093 0.004 143.773);
  --chart-4: oklch(0.148 0.007 143.799);
  --chart-5: oklch(0.09 0.005 324.574);
}