Remarkable for shadcn/ui

Remarkable is a shadcn/ui theme built around a near-white primary color (#f7fef6) with near-white accents (#fef6f7). The light mode uses a neutral background (#f8fdf7). Dark mode keeps the near-white primary (#f7fef6) on a neutral background (#020302).

Color palette

TokenLightDark
Background
#f8fdf7mintcream
#020302black
Foreground
#050c03black
#ffffffwhite
Card
#f8fdf7mintcream
#020302black
Card foreground
#050c03black
#ffffffwhite
Popover
#f8fdf7mintcream
#020302black
Popover foreground
#050c03black
#ffffffwhite
Primary
#f7fef6mintcream
#f7fef6mintcream
Primary foreground
#125408darkgreen
#125408darkgreen
Secondary
#f6f7feghostwhite
#f6f7feghostwhite
Secondary foreground
#1026b1mediumblue
#1026b1mediumblue
Muted
#eeeef1whitesmoke
#0e0e11black
Muted foreground
#444446darkslategray
#b9babbsilver
Accent
#fef6f7snow
#fef6f7snow
Accent foreground
#b11026firebrick
#b11026firebrick
Destructive
#732b07saddlebrown
#f1641echocolate
Destructive foreground
#facab2peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f7fef6mintcream
#f7fef6mintcream

Contrast

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

Light mode
Text on background19.16:1AAA
Text on card19.16:1AAA
Primary button8.90:1AAA
Secondary button10.14:1AAA
Muted text8.41:1AAA
Accent6.63:1AA
Destructive6.79:1AA
Dark mode
Text on background20.62:1AAA
Text on card20.62:1AAA
Primary button8.90:1AAA
Secondary button10.14:1AAA
Muted text9.91:1AAA
Accent6.63:1AA
Destructive6.56:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.008 141.569);
  --foreground: oklch(0.141 0.026 139.903);
  --muted: oklch(0.951 0.004 279.279);
  --muted-foreground: oklch(0.388 0.002 279.263);
  --popover: oklch(0.988 0.008 141.569);
  --popover-foreground: oklch(0.141 0.026 139.903);
  --card: oklch(0.988 0.008 141.569);
  --card-foreground: oklch(0.141 0.026 139.903);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.99 0.014 141.554);
  --primary-foreground: oklch(0.39 0.123 141.412);
  --secondary: oklch(0.977 0.01 279.188);
  --secondary-foreground: oklch(0.38 0.214 266.073);
  --accent: oklch(0.979 0.009 7.978);
  --accent-foreground: oklch(0.486 0.188 23.176);
  --destructive: oklch(0.39 0.11 42.37);
  --destructive-foreground: oklch(0.875 0.064 47.975);
  --ring: oklch(0.99 0.014 141.554);
  --chart-1: oklch(0.99 0.014 141.554);
  --chart-2: oklch(0.977 0.01 279.188);
  --chart-3: oklch(0.979 0.009 7.978);
  --chart-4: oklch(1.012 0.005 99.412);
  --chart-5: oklch(0.99 0.014 141.553);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.011 140.509);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.165 0.006 278.754);
  --muted-foreground: oklch(0.788 0.002 279.309);
  --popover: oklch(0.096 0.011 140.509);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.096 0.011 140.509);
  --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.99 0.014 141.554);
  --primary-foreground: oklch(0.39 0.123 141.412);
  --secondary: oklch(0.977 0.01 279.188);
  --secondary-foreground: oklch(0.38 0.214 266.073);
  --accent: oklch(0.979 0.009 7.978);
  --accent-foreground: oklch(0.486 0.188 23.176);
  --destructive: oklch(0.672 0.189 42.472);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.99 0.014 141.554);
  --chart-1: oklch(0.99 0.014 141.554);
  --chart-2: oklch(0.977 0.01 279.188);
  --chart-3: oklch(0.979 0.009 7.978);
  --chart-4: oklch(1.012 0.005 99.412);
  --chart-5: oklch(0.99 0.014 141.553);
}