Other for shadcn/ui

Other is a shadcn/ui theme built around a light orange primary color (#e9dcc9) with muted light orange accents (#edebe8). The light mode uses a neutral background (#fdfbf6). Dark mode keeps the light orange primary (#e9dcc9) on an orange-tinted background (#0b0804).

Color palette

TokenLightDark
Background
#fdfbf6snow
#0b0804black
Foreground
#040301black
#f9f8f6whitesmoke
Card
#fdfbf6snow
#0b0804black
Card foreground
#040301black
#f9f8f6whitesmoke
Popover
#fdfbf6snow
#0b0804black
Popover foreground
#040301black
#f9f8f6whitesmoke
Primary
#e9dcc9gainsboro
#e9dcc9gainsboro
Primary foreground
#5b4625darkolivegreen
#5b4625darkolivegreen
Secondary
#edebe8linen
#332d24darkslategray
Secondary foreground
#5b5448darkolivegreen
#cfc7basilver
Muted
#ebe9e5linen
#1a1814black
Muted foreground
#4d473ddarkslategray
#c2bcb2silver
Accent
#edebe8linen
#332d24darkslategray
Accent foreground
#5b5448darkolivegreen
#cfc7basilver
Destructive
#6b1805maroon
#f4461forangered
Destructive foreground
#fbb7a7lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e9dcc9gainsboro
#e9dcc9gainsboro

Contrast

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

Light mode
Text on background19.92:1AAA
Text on card19.92:1AAA
Primary button6.64:1AA
Secondary button6.29:1AA
Muted text7.56:1AAA
Accent6.29:1AA
Destructive7.07:1AAA
Dark mode
Text on background18.79:1AAA
Text on card18.79:1AAA
Primary button6.64:1AA
Secondary button8.11:1AAA
Muted text9.42:1AAA
Accent8.11:1AAA
Destructive3.64:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.007 79.922);
  --foreground: oklch(0.097 0.012 87.03);
  --muted: oklch(0.934 0.005 79.924);
  --muted-foreground: oklch(0.4 0.019 79.753);
  --popover: oklch(0.988 0.007 79.922);
  --popover-foreground: oklch(0.097 0.012 87.03);
  --card: oklch(0.988 0.007 79.922);
  --card-foreground: oklch(0.097 0.012 87.03);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.901 0.03 79.833);
  --primary-foreground: oklch(0.408 0.056 78.058);
  --secondary: oklch(0.941 0.005 79.926);
  --secondary-foreground: oklch(0.449 0.021 79.745);
  --accent: oklch(0.941 0.005 79.926);
  --accent-foreground: oklch(0.449 0.021 79.745);
  --destructive: oklch(0.35 0.12 33.733);
  --destructive-foreground: oklch(0.838 0.083 33.024);
  --ring: oklch(0.901 0.03 79.833);
  --chart-1: oklch(0.901 0.03 79.833);
  --chart-2: oklch(0.941 0.005 79.926);
  --chart-3: oklch(0.941 0.005 79.926);
  --chart-4: oklch(0.963 0.003 79.929);
  --chart-5: oklch(0.902 0.032 79.821);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.012 84.965);
  --foreground: oklch(0.979 0.003 79.929);
  --muted: oklch(0.208 0.007 79.822);
  --muted-foreground: oklch(0.798 0.016 79.887);
  --popover: oklch(0.138 0.012 84.965);
  --popover-foreground: oklch(0.979 0.003 79.929);
  --card: oklch(0.138 0.012 84.965);
  --card-foreground: oklch(0.979 0.003 79.929);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.901 0.03 79.833);
  --primary-foreground: oklch(0.408 0.056 78.058);
  --secondary: oklch(0.301 0.019 79.624);
  --secondary-foreground: oklch(0.832 0.02 79.872);
  --accent: oklch(0.301 0.019 79.624);
  --accent-foreground: oklch(0.832 0.02 79.872);
  --destructive: oklch(0.644 0.216 33.643);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.901 0.03 79.833);
  --chart-1: oklch(0.901 0.03 79.833);
  --chart-2: oklch(0.301 0.019 79.624);
  --chart-3: oklch(0.301 0.019 79.624);
  --chart-4: oklch(0.333 0.021 79.603);
  --chart-5: oklch(0.902 0.032 79.821);
}