Remarkable for shadcn/ui

Remarkable is a shadcn/ui theme built around a vivid light indigo primary color (#9198fd) with vivid light violet accents (#c091fd). The light mode uses a neutral background (#f8f8fc). Dark mode keeps the vivid light indigo primary (#9198fd) on an indigo-tinted background (#07080d).

Color palette

TokenLightDark
Background
#f8f8fcghostwhite
#07080dblack
Foreground
#020312black
#ffffffwhite
Card
#f8f8fcghostwhite
#07080dblack
Card foreground
#020312black
#ffffffwhite
Popover
#f8f8fcghostwhite
#07080dblack
Popover foreground
#020312black
#ffffffwhite
Primary
#9198fdcornflowerblue
#9198fdcornflowerblue
Primary foreground
#02085amidnightblue
#02085amidnightblue
Secondary
#91cefdlightskyblue
#91cefdlightskyblue
Secondary foreground
#02345amidnightblue
#02345amidnightblue
Muted
#d0dae2gainsboro
#1d272fdarkslategray
Muted foreground
#4f585fdimgray
#a0a9b0darkgray
Accent
#c091fdplum
#c091fdplum
Accent foreground
#28025amidnightblue
#28025amidnightblue
Destructive
#c63410firebrick
#ec4218orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#9198fdcornflowerblue
#9198fdcornflowerblue

Contrast

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

Light mode
Text on background19.36:1AAA
Text on card19.36:1AAA
Primary button6.85:1AA
Secondary button7.58:1AAA
Muted text5.11:1AA
Accent6.98:1AA
Destructive5.36:1AA
Dark mode
Text on background20.03:1AAA
Text on card20.03:1AAA
Primary button6.85:1AA
Secondary button7.58:1AAA
Muted text6.32:1AA
Accent6.98:1AA
Destructive3.90:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.005 283.019);
  --foreground: oklch(0.112 0.038 273.098);
  --muted: oklch(0.883 0.016 240.53);
  --muted-foreground: oklch(0.454 0.016 240.772);
  --popover: oklch(0.98 0.005 283.019);
  --popover-foreground: oklch(0.112 0.038 273.098);
  --card: oklch(0.98 0.005 283.019);
  --card-foreground: oklch(0.112 0.038 273.098);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.717 0.145 278.955);
  --primary-foreground: oklch(0.223 0.138 265.238);
  --secondary: oklch(0.827 0.091 242.111);
  --secondary-foreground: oklch(0.317 0.084 248.201);
  --accent: oklch(0.743 0.157 302.751);
  --accent-foreground: oklch(0.249 0.135 292.904);
  --destructive: oklch(0.547 0.188 34.019);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.717 0.145 278.955);
  --chart-1: oklch(0.717 0.145 278.955);
  --chart-2: oklch(0.827 0.091 242.111);
  --chart-3: oklch(0.743 0.157 302.751);
  --chart-4: oklch(0.85 0.079 241.747);
  --chart-5: oklch(0.714 0.15 278.78);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.134 0.013 280.793);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.268 0.021 241.465);
  --muted-foreground: oklch(0.731 0.014 240.549);
  --popover: oklch(0.134 0.013 280.793);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.134 0.013 280.793);
  --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.717 0.145 278.955);
  --primary-foreground: oklch(0.223 0.138 265.238);
  --secondary: oklch(0.827 0.091 242.111);
  --secondary-foreground: oklch(0.317 0.084 248.201);
  --accent: oklch(0.743 0.157 302.751);
  --accent-foreground: oklch(0.249 0.135 292.904);
  --destructive: oklch(0.627 0.212 34.145);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.717 0.145 278.955);
  --chart-1: oklch(0.717 0.145 278.955);
  --chart-2: oklch(0.827 0.091 242.111);
  --chart-3: oklch(0.743 0.157 302.751);
  --chart-4: oklch(0.85 0.079 241.747);
  --chart-5: oklch(0.714 0.15 278.78);
}