Outset for shadcn/ui

Outset is a shadcn/ui theme built around a light cyan primary color (#d4ebed) with light blue accents (#d4deed). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the light cyan primary (#d4ebed) on a cyan-tinted background (#050a0a).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#050a0ablack
Foreground
#010404black
#ffffffwhite
Card
#f8fbfcghostwhite
#050a0ablack
Card foreground
#010404black
#ffffffwhite
Popover
#f8fbfcghostwhite
#050a0ablack
Popover foreground
#010404black
#ffffffwhite
Primary
#d4ebedlavender
#d4ebedlavender
Primary foreground
#0c1b1dblack
#0c1b1dblack
Secondary
#d4ede2gainsboro
#d4ede2gainsboro
Secondary foreground
#0c1d16black
#0c1d16black
Muted
#e8f3eehoneydew
#0c1713black
Muted foreground
#4d5b55darkslategray
#a4b2acdarkgray
Accent
#d4deedgainsboro
#d4deedgainsboro
Accent foreground
#2a4365darkslategray
#2a4365darkslategray
Destructive
#c00502firebrick
#ed0602red
Destructive foreground
#fff5f5lavenderblush
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d4ebedlavender
#d4ebedlavender

Contrast

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

Light mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button14.18:1AAA
Secondary button14.13:1AAA
Muted text6.25:1AA
Accent7.41:1AAA
Destructive6.02:1AA
Dark mode
Text on background19.92:1AAA
Text on card19.92:1AAA
Primary button14.18:1AAA
Secondary button14.13:1AAA
Muted text8.29:1AAA
Accent7.41:1AAA
Destructive4.52:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.003 203.55);
  --foreground: oklch(0.1 0.013 200.542);
  --muted: oklch(0.953 0.013 169.287);
  --muted-foreground: oklch(0.457 0.019 168.438);
  --popover: oklch(0.987 0.003 203.55);
  --popover-foreground: oklch(0.1 0.013 200.542);
  --card: oklch(0.987 0.003 203.55);
  --card-foreground: oklch(0.1 0.013 200.542);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.923 0.024 203.358);
  --primary-foreground: oklch(0.211 0.021 203.149);
  --secondary: oklch(0.925 0.03 168.724);
  --secondary-foreground: oklch(0.212 0.027 165.324);
  --accent: oklch(0.898 0.023 256.739);
  --accent-foreground: oklch(0.378 0.066 256.951);
  --destructive: oklch(0.508 0.207 29.326);
  --destructive-foreground: oklch(0.978 0.011 18.528);
  --ring: oklch(0.923 0.024 203.358);
  --chart-1: oklch(0.923 0.024 203.358);
  --chart-2: oklch(0.925 0.03 168.724);
  --chart-3: oklch(0.898 0.023 256.739);
  --chart-4: oklch(0.943 0.022 168.983);
  --chart-5: oklch(0.925 0.026 203.345);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.01 201.89);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.193 0.018 166.658);
  --muted-foreground: oklch(0.75 0.017 169.016);
  --popover: oklch(0.138 0.01 201.89);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.138 0.01 201.89);
  --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.923 0.024 203.358);
  --primary-foreground: oklch(0.211 0.021 203.149);
  --secondary: oklch(0.925 0.03 168.724);
  --secondary-foreground: oklch(0.212 0.027 165.324);
  --accent: oklch(0.898 0.023 256.739);
  --accent-foreground: oklch(0.378 0.066 256.951);
  --destructive: oklch(0.596 0.243 29.304);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.923 0.024 203.358);
  --chart-1: oklch(0.923 0.024 203.358);
  --chart-2: oklch(0.925 0.03 168.724);
  --chart-3: oklch(0.898 0.023 256.739);
  --chart-4: oklch(0.943 0.022 168.983);
  --chart-5: oklch(0.925 0.026 203.345);
}