Notation for shadcn/ui

Notation is a shadcn/ui theme built around a vivid light pink primary color (#fef1f5) with vivid light red accents (#fef3f1). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light pink primary (#fef1f5) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#090104black
#ffffffwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#050102black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#090104black
#ffffffwhite
Primary
#fef1f5lavenderblush
#fef1f5lavenderblush
Primary foreground
#ab1247brown
#ab1247brown
Secondary
#fef1fclavenderblush
#fef1fclavenderblush
Secondary foreground
#4e0844indigo
#4e0844indigo
Muted
#e6cbe2gainsboro
#341930darkslategray
Muted foreground
#5d4b5bdimgray
#b4a2b1darkgray
Accent
#fef3f1seashell
#fef3f1seashell
Accent foreground
#ab2912firebrick
#ab2912firebrick
Destructive
#810a08maroon
#dd120ered
Destructive foreground
#fbc2c1pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fef1f5lavenderblush
#fef1f5lavenderblush

Contrast

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

Light mode
Text on background20.63:1AAA
Text on card20.31:1AAA
Primary button6.57:1AA
Secondary button13.31:1AAA
Muted text5.35:1AA
Accent6.30:1AA
Destructive6.83:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button6.57:1AA
Secondary button13.31:1AAA
Muted text6.60:1AA
Accent6.30:1AA
Destructive5.06:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.101 0.028 353.006);
  --muted: oklch(0.872 0.042 330.86);
  --muted-foreground: oklch(0.437 0.035 331.236);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.101 0.028 353.006);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.08 0.022 353.006);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.97 0.014 354);
  --primary-foreground: oklch(0.48 0.183 9.125);
  --secondary: oklch(0.971 0.019 330.499);
  --secondary-foreground: oklch(0.298 0.121 335.474);
  --accent: oklch(0.972 0.012 29.511);
  --accent-foreground: oklch(0.488 0.17 32.243);
  --destructive: oklch(0.385 0.15 28.644);
  --destructive-foreground: oklch(0.864 0.066 19.64);
  --ring: oklch(0.97 0.014 354);
  --chart-1: oklch(0.97 0.014 354);
  --chart-2: oklch(0.971 0.019 330.499);
  --chart-3: oklch(0.972 0.012 29.511);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.969 0.015 354.016);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.26 0.056 332.797);
  --muted-foreground: oklch(0.732 0.031 330.777);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.97 0.014 354);
  --primary-foreground: oklch(0.48 0.183 9.125);
  --secondary: oklch(0.971 0.019 330.499);
  --secondary-foreground: oklch(0.298 0.121 335.474);
  --accent: oklch(0.972 0.012 29.511);
  --accent-foreground: oklch(0.488 0.17 32.243);
  --destructive: oklch(0.567 0.226 28.945);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.97 0.014 354);
  --chart-1: oklch(0.97 0.014 354);
  --chart-2: oklch(0.971 0.019 330.499);
  --chart-3: oklch(0.972 0.012 29.511);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.969 0.015 354.016);
}