Fixed for shadcn/ui

Fixed is a shadcn/ui theme built around a deep orange primary color (#5f3e1c) with deep yellow accents (#5e5f1c). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the deep orange primary (#5f3e1c) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfaf8snow
#000000black
Foreground
#000000black
#ffffffwhite
Card
#faf7f4whitesmoke
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#faf7f4whitesmoke
#030303black
Popover foreground
#000000black
#ffffffwhite
Primary
#5f3e1csaddlebrown
#5f3e1csaddlebrown
Primary foreground
#edd7c0wheat
#edd7c0wheat
Secondary
#5f1d1cmaroon
#5f1d1cmaroon
Secondary foreground
#edc1c0lightpink
#edc1c0lightpink
Muted
#e7d5d4gainsboro
#2b1818black
Muted foreground
#595454dimgray
#aba6a6darkgray
Accent
#5e5f1cdarkolivegreen
#5e5f1cdarkolivegreen
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#6d1208maroon
#ee3520orangered
Destructive foreground
#f9b6aelightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5f3e1csaddlebrown
#5f3e1csaddlebrown

Contrast

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

Light mode
Text on background20.15:1AAA
Text on card19.74:1AAA
Primary button6.86:1AA
Secondary button7.76:1AAA
Muted text5.26:1AA
Accent6.72:1AA
Destructive7.07:1AAA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button6.86:1AA
Secondary button7.76:1AAA
Muted text7.02:1AAA
Accent6.72:1AA
Destructive4.06:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.003 69.617);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.887 0.021 18.732);
  --muted-foreground: oklch(0.451 0.007 18.591);
  --popover: oklch(0.979 0.005 69.6);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.979 0.005 69.6);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.395 0.067 65.411);
  --primary-foreground: oklch(0.891 0.039 69.155);
  --secondary: oklch(0.335 0.097 24.862);
  --secondary-foreground: oklch(0.848 0.051 19.34);
  --accent: oklch(0.47 0.088 110.281);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.349 0.126 30.52);
  --destructive-foreground: oklch(0.836 0.079 26.043);
  --ring: oklch(0.395 0.067 65.411);
  --chart-1: oklch(0.395 0.067 65.411);
  --chart-2: oklch(0.335 0.097 24.862);
  --chart-3: oklch(0.47 0.088 110.281);
  --chart-4: oklch(0.362 0.107 25.028);
  --chart-5: oklch(0.397 0.07 64.986);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.234 0.031 20.719);
  --muted-foreground: oklch(0.729 0.006 18.486);
  --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.395 0.067 65.411);
  --primary-foreground: oklch(0.891 0.039 69.155);
  --secondary: oklch(0.335 0.097 24.862);
  --secondary-foreground: oklch(0.848 0.051 19.34);
  --accent: oklch(0.47 0.088 110.281);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.619 0.223 30.484);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.395 0.067 65.411);
  --chart-1: oklch(0.395 0.067 65.411);
  --chart-2: oklch(0.335 0.097 24.862);
  --chart-3: oklch(0.47 0.088 110.281);
  --chart-4: oklch(0.362 0.107 25.028);
  --chart-5: oklch(0.397 0.07 64.986);
}