Remarkable for shadcn/ui

Remarkable is a shadcn/ui theme built around a neutral gray primary color (#647273) with muted teal accents (#a7c2c3). The light mode uses a neutral background (#f7fdfd). Dark mode keeps the neutral gray primary (#647273) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fdfdmintcream
#000000black
Foreground
#031617black
#fcfdfdwhite
Card
#f3fcfcmintcream
#030303black
Card foreground
#021112black
#ffffffwhite
Popover
#f3fcfcmintcream
#030303black
Popover foreground
#021112black
#ffffffwhite
Primary
#647273dimgray
#647273dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#c7d1d1lightgrey
#1e1f1fblack
Secondary foreground
#2e3838darkslategray
#b6b9b9silver
Muted
#f1f3f3whitesmoke
#0c0e0eblack
Muted foreground
#4b5c5ddarkslategray
#a2b3b4darkgray
Accent
#a7c2c3silver
#273030darkslategray
Accent foreground
#172121black
#becacbsilver
Destructive
#ad180bfirebrick
#f13422orangered
Destructive foreground
#feedeclinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#647273dimgray
#647273dimgray

Contrast

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

Light mode
Text on background18.02:1AAA
Text on card18.40:1AAA
Primary button5.02:1AA
Secondary button7.72:1AAA
Muted text6.31:1AA
Accent8.71:1AAA
Destructive6.37:1AA
Dark mode
Text on background20.60:1AAA
Text on card20.67:1AAA
Primary button5.02:1AA
Secondary button8.35:1AAA
Muted text8.91:1AAA
Accent8.09:1AAA
Destructive4.00: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.989 0.006 200.81);
  --foreground: oklch(0.182 0.026 199.508);
  --muted: oklch(0.963 0.002 200.866);
  --muted-foreground: oklch(0.462 0.022 200.376);
  --popover: oklch(0.983 0.01 200.77);
  --popover-foreground: oklch(0.165 0.023 199.201);
  --card: oklch(0.983 0.01 200.77);
  --card-foreground: oklch(0.165 0.023 199.201);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.54 0.017 200.526);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.852 0.011 200.74);
  --secondary-foreground: oklch(0.33 0.013 200.446);
  --accent: oklch(0.794 0.029 200.476);
  --accent-foreground: oklch(0.238 0.014 200.253);
  --destructive: oklch(0.479 0.183 30.092);
  --destructive-foreground: oklch(0.96 0.018 23.771);
  --ring: oklch(0.54 0.017 200.526);
  --chart-1: oklch(0.54 0.017 200.526);
  --chart-2: oklch(0.852 0.011 200.74);
  --chart-3: oklch(0.794 0.029 200.476);
  --chart-4: oklch(0.875 0.009 200.765);
  --chart-5: oklch(0.545 0.024 200.401);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 200.877);
  --muted: oklch(0.16 0.003 200.68);
  --muted-foreground: oklch(0.754 0.02 200.587);
  --popover: oklch(0.092 0 180);
  --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.54 0.017 200.526);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.239 0.002 200.8);
  --secondary-foreground: oklch(0.783 0.003 200.842);
  --accent: oklch(0.299 0.012 200.425);
  --accent-foreground: oklch(0.83 0.013 200.696);
  --destructive: oklch(0.623 0.226 29.933);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.54 0.017 200.526);
  --chart-1: oklch(0.54 0.017 200.526);
  --chart-2: oklch(0.239 0.002 200.8);
  --chart-3: oklch(0.299 0.012 200.425);
  --chart-4: oklch(0.271 0.002 200.794);
  --chart-5: oklch(0.545 0.024 200.401);
}