Outlandish for shadcn/ui

Outlandish is a shadcn/ui theme built around a muted teal primary color (#8db4b1) with muted light teal accents (#c9d4d3). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the muted teal primary (#8db4b1) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#fcfdfdwhite
#030707black
Foreground
#061413black
#fcfdfdwhite
Card
#fcfdfdwhite
#030707black
Card foreground
#061413black
#fcfdfdwhite
Popover
#fcfdfdwhite
#030707black
Popover foreground
#061413black
#fcfdfdwhite
Primary
#8db4b1darkgray
#8db4b1darkgray
Primary foreground
#060909black
#060909black
Secondary
#e5e6e6gainsboro
#202c2bdarkslategray
Secondary foreground
#4c4d4ddarkslategray
#b5c9c8silver
Muted
#ebefefwhitesmoke
#101413black
Muted foreground
#474848darkslategray
#b7b8b8silver
Accent
#c9d4d3lightgrey
#304f4ddarkslategray
Accent foreground
#303b3adarkslategray
#d0e2e0gainsboro
Destructive
#cc3000firebrick
#f03800orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8db4b1darkgray
#8db4b1darkgray

Contrast

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

Light mode
Text on background18.46:1AAA
Text on card18.46:1AAA
Primary button8.88:1AAA
Secondary button6.77:1AA
Muted text7.92:1AAA
Accent7.63:1AAA
Destructive5.27:1AA
Dark mode
Text on background19.85:1AAA
Text on card19.85:1AAA
Primary button8.88:1AAA
Secondary button8.30:1AAA
Muted text9.35:1AAA
Accent6.64:1AA
Destructive3.99:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 191.209);
  --foreground: oklch(0.177 0.021 188.72);
  --muted: oklch(0.949 0.004 191.161);
  --muted-foreground: oklch(0.401 0.002 191.146);
  --popover: oklch(0.994 0.002 191.209);
  --popover-foreground: oklch(0.177 0.021 188.72);
  --card: oklch(0.994 0.002 191.209);
  --card-foreground: oklch(0.177 0.021 188.72);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.742 0.043 189.957);
  --primary-foreground: oklch(0.137 0.006 190.861);
  --secondary: oklch(0.924 0.001 191.237);
  --secondary-foreground: oklch(0.42 0.002 191.145);
  --accent: oklch(0.861 0.012 190.954);
  --accent-foreground: oklch(0.343 0.016 190.236);
  --destructive: oklch(0.553 0.198 34.199);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.742 0.043 189.957);
  --chart-1: oklch(0.742 0.043 189.957);
  --chart-2: oklch(0.924 0.001 191.237);
  --chart-3: oklch(0.861 0.012 190.954);
  --chart-4: oklch(0.947 0 191.241);
  --chart-5: oklch(0.747 0.048 189.791);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.01 190.587);
  --foreground: oklch(0.993 0.001 191.224);
  --muted: oklch(0.186 0.006 190.582);
  --muted-foreground: oklch(0.782 0.002 191.205);
  --popover: oklch(0.122 0.01 190.587);
  --popover-foreground: oklch(0.993 0.001 191.224);
  --card: oklch(0.122 0.01 190.587);
  --card-foreground: oklch(0.993 0.001 191.224);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.742 0.043 189.957);
  --primary-foreground: oklch(0.137 0.006 190.861);
  --secondary: oklch(0.283 0.017 189.92);
  --secondary-foreground: oklch(0.821 0.022 190.654);
  --accent: oklch(0.403 0.037 189.143);
  --accent-foreground: oklch(0.898 0.02 190.769);
  --destructive: oklch(0.623 0.225 33.904);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.742 0.043 189.957);
  --chart-1: oklch(0.742 0.043 189.957);
  --chart-2: oklch(0.283 0.017 189.92);
  --chart-3: oklch(0.403 0.037 189.143);
  --chart-4: oklch(0.316 0.02 189.863);
  --chart-5: oklch(0.747 0.048 189.791);
}