Traditional Bali Sand for shadcn/ui

Traditional Bali Sand is a shadcn/ui theme built around a light orange primary color (#f6e8d5) with light violet accents (#e8d5f6). The light mode uses a neutral background (#fefdfb). Dark mode keeps the light orange primary (#f6e8d5) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefdfbsnow
#000000black
Foreground
#040301black
#fbfaf9snow
Card
#fefdfbsnow
#000000black
Card foreground
#040301black
#fbfaf9snow
Popover
#fefdfbsnow
#000000black
Popover foreground
#040301black
#fbfaf9snow
Primary
#f6e8d5antiquewhite
#f6e8d5antiquewhite
Primary foreground
#2a1c09black
#2a1c09black
Secondary
#d5f6e8lightcyan
#d5f6e8lightcyan
Secondary foreground
#092a1cblack
#092a1cblack
Muted
#d5ece2gainsboro
#132a20black
Muted foreground
#526f63dimgray
#90ada0darkseagreen
Accent
#e8d5f6lavender
#e8d5f6lavender
Accent foreground
#531c7dindigo
#531c7dindigo
Destructive
#b8410afirebrick
#df4f0cchocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e6e6e5gainsboro
#242423black
Input
#e6e6e5gainsboro
#242423black
Ring
#f6e8d5antiquewhite
#f6e8d5antiquewhite

Contrast

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

Light mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button13.69:1AAA
Secondary button13.33:1AAA
Muted text4.43:1AA Large
Accent8.36:1AAA
Destructive5.52:1AA
Dark mode
Text on background20.14:1AAA
Text on card20.14:1AAA
Primary button13.69:1AAA
Secondary button13.33:1AAA
Muted text6.26:1AA
Accent8.36:1AAA
Destructive4.00:1AA Large

CSS variables

Paste this into your globals.css to use Traditional Bali Sand in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 74.935);
  --foreground: oklch(0.096 0.01 82.101);
  --muted: oklch(0.923 0.028 167.859);
  --muted-foreground: oklch(0.516 0.039 166.386);
  --popover: oklch(0.994 0.003 74.935);
  --popover-foreground: oklch(0.096 0.01 82.101);
  --card: oklch(0.994 0.003 74.935);
  --card-foreground: oklch(0.096 0.01 82.101);
  --border: oklch(0.924 0.001 74.948);
  --input: oklch(0.924 0.001 74.948);
  --primary: oklch(0.936 0.029 74.738);
  --primary-foreground: oklch(0.238 0.037 71.735);
  --secondary: oklch(0.945 0.038 167.551);
  --secondary-foreground: oklch(0.255 0.046 161.538);
  --accent: oklch(0.899 0.047 310.627);
  --accent-foreground: oklch(0.366 0.154 305.768);
  --destructive: oklch(0.537 0.164 39.849);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.936 0.029 74.738);
  --chart-1: oklch(0.936 0.029 74.738);
  --chart-2: oklch(0.945 0.038 167.551);
  --chart-3: oklch(0.899 0.047 310.627);
  --chart-4: oklch(0.961 0.027 167.93);
  --chart-5: oklch(0.937 0.03 74.726);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.985 0.001 74.945);
  --muted: oklch(0.263 0.035 164.079);
  --muted-foreground: oklch(0.721 0.037 167.22);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.985 0.001 74.945);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.985 0.001 74.945);
  --border: oklch(0.26 0.002 74.913);
  --input: oklch(0.26 0.002 74.913);
  --primary: oklch(0.936 0.029 74.738);
  --primary-foreground: oklch(0.238 0.037 71.735);
  --secondary: oklch(0.945 0.038 167.551);
  --secondary-foreground: oklch(0.255 0.046 161.538);
  --accent: oklch(0.899 0.047 310.627);
  --accent-foreground: oklch(0.366 0.154 305.768);
  --destructive: oklch(0.617 0.191 39.519);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.936 0.029 74.738);
  --chart-1: oklch(0.936 0.029 74.738);
  --chart-2: oklch(0.945 0.038 167.551);
  --chart-3: oklch(0.899 0.047 310.627);
  --chart-4: oklch(0.961 0.027 167.93);
  --chart-5: oklch(0.937 0.03 74.726);
}