Noted for shadcn/ui

Noted is a shadcn/ui theme built around a vivid deep indigo primary color (#020213) with vivid deep green accents (#021302). The light mode uses a neutral background (#f7f6fd). Dark mode keeps the vivid deep indigo primary (#020213) on a neutral background (#030307).

Color palette

TokenLightDark
Background
#f7f6fdghostwhite
#030307black
Foreground
#010104black
#fcfcfdwhite
Card
#f2f2fdaliceblue
#05050ablack
Card foreground
#000000black
#ffffffwhite
Popover
#f7f6fdghostwhite
#030307black
Popover foreground
#010104black
#fcfcfdwhite
Primary
#020213black
#020213black
Primary foreground
#b6b4f8lightsteelblue
#b6b4f8lightsteelblue
Secondary
#130202black
#130202black
Secondary foreground
#f05b56tomato
#f05b56tomato
Muted
#e4ddddgainsboro
#221b1bblack
Muted foreground
#6b6161dimgray
#9e9494rosybrown
Accent
#021302black
#021302black
Accent foreground
#12ce18limegreen
#12ce18limegreen
Destructive
#6f0d06maroon
#e41a0cred
Destructive foreground
#fbb2adlightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#020213black
#020213black

Contrast

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

Light mode
Text on background19.45:1AAA
Text on card18.92:1AAA
Primary button10.66:1AAA
Secondary button6.10:1AA
Muted text4.47:1AA Large
Accent9.01:1AAA
Destructive6.93:1AA
Dark mode
Text on background20.05:1AAA
Text on card20.34:1AAA
Primary button10.66:1AAA
Secondary button6.10:1AA
Muted text5.71:1AA
Accent9.01:1AAA
Destructive4.72:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.977 0.009 287.765);
  --foreground: oklch(0.077 0.015 284.311);
  --muted: oklch(0.903 0.007 19.716);
  --muted-foreground: oklch(0.503 0.013 19.969);
  --popover: oklch(0.977 0.009 287.765);
  --popover-foreground: oklch(0.077 0.015 284.311);
  --card: oklch(0.965 0.014 287.672);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.103 0.046 277.579);
  --primary-foreground: oklch(0.796 0.097 285.51);
  --secondary: oklch(0.128 0.037 27.86);
  --secondary-foreground: oklch(0.666 0.185 25.403);
  --accent: oklch(0.163 0.046 144.02);
  --accent-foreground: oklch(0.74 0.246 142.753);
  --destructive: oklch(0.349 0.132 29.792);
  --destructive-foreground: oklch(0.83 0.086 23.658);
  --ring: oklch(0.103 0.046 277.579);
  --chart-1: oklch(0.103 0.046 277.579);
  --chart-2: oklch(0.128 0.037 27.86);
  --chart-3: oklch(0.163 0.046 144.02);
  --chart-4: oklch(0.166 0.053 27.893);
  --chart-5: oklch(0.101 0.048 276.552);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.103 0.013 285.714);
  --foreground: oklch(0.991 0.002 287.903);
  --muted: oklch(0.232 0.01 20.264);
  --muted-foreground: oklch(0.676 0.012 19.852);
  --popover: oklch(0.103 0.013 285.714);
  --popover-foreground: oklch(0.991 0.002 287.903);
  --card: oklch(0.118 0.015 285.712);
  --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.103 0.046 277.579);
  --primary-foreground: oklch(0.796 0.097 285.51);
  --secondary: oklch(0.128 0.037 27.86);
  --secondary-foreground: oklch(0.666 0.185 25.403);
  --accent: oklch(0.163 0.046 144.02);
  --accent-foreground: oklch(0.74 0.246 142.753);
  --destructive: oklch(0.584 0.229 29.757);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.103 0.046 277.579);
  --chart-1: oklch(0.103 0.046 277.579);
  --chart-2: oklch(0.128 0.037 27.86);
  --chart-3: oklch(0.163 0.046 144.02);
  --chart-4: oklch(0.166 0.053 27.893);
  --chart-5: oklch(0.101 0.048 276.552);
}