Sweet Sand Island for shadcn/ui

Sweet Sand Island is a shadcn/ui theme built around a light orange primary color (#f4d2c3) with near-white accents (#ebeaea). The light mode uses a neutral background (#ffffff). Dark mode keeps the light orange primary (#f4d2c3) on an orange-tinted background (#0b0604).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0604black
Foreground
#000000black
#fcf9f8snow
Card
#fcfcfcsnow
#0f0805black
Card foreground
#000000black
#fdfcfbsnow
Popover
#fcfcfcsnow
#0f0805black
Popover foreground
#000000black
#fdfcfbsnow
Primary
#f4d2c3peachpuff
#f4d2c3peachpuff
Primary foreground
#6f3015saddlebrown
#6f3015saddlebrown
Secondary
#ebeaealinen
#322c2adarkslategray
Secondary foreground
#54514fdarkslategray
#cbc5c2silver
Muted
#ede2deantiquewhite
#211612black
Muted foreground
#4e4c4bdarkslategray
#b4b2b1darkgray
Accent
#ebeaealinen
#322c2adarkslategray
Accent foreground
#54514fdarkslategray
#cbc5c2silver
Destructive
#612a0asaddlebrown
#da5e16chocolate
Destructive foreground
#f6c4a7navajowhite
#ffffffwhite
Border
#e9e4e2gainsboro
#29221fblack
Input
#e9e4e2gainsboro
#29221fblack
Ring
#f4d2c3peachpuff
#f4d2c3peachpuff

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button7.01:1AAA
Secondary button6.57:1AA
Muted text6.74:1AA
Accent6.57:1AA
Destructive7.24:1AAA
Dark mode
Text on background19.21:1AAA
Text on card19.35:1AAA
Primary button7.01:1AAA
Secondary button8.02:1AAA
Muted text8.34:1AAA
Accent8.02:1AAA
Destructive3.76:1AA Large

CSS variables

Paste this into your globals.css to use Sweet Sand Island in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.921 0.013 44.838);
  --muted-foreground: oklch(0.418 0.003 44.903);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.922 0.006 44.913);
  --input: oklch(0.922 0.006 44.913);
  --primary: oklch(0.887 0.043 44.556);
  --primary-foreground: oklch(0.392 0.098 42.064);
  --secondary: oklch(0.939 0.001 44.971);
  --secondary-foreground: oklch(0.436 0.005 44.863);
  --accent: oklch(0.939 0.001 44.971);
  --accent-foreground: oklch(0.436 0.005 44.863);
  --destructive: oklch(0.357 0.091 46.203);
  --destructive-foreground: oklch(0.857 0.07 51.542);
  --ring: oklch(0.887 0.043 44.556);
  --chart-1: oklch(0.887 0.043 44.556);
  --chart-2: oklch(0.939 0.001 44.971);
  --chart-3: oklch(0.939 0.001 44.971);
  --chart-4: oklch(0.962 0.001 44.976);
  --chart-5: oklch(0.887 0.045 44.54);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.13 0.013 51.391);
  --foreground: oklch(0.984 0.003 44.947);
  --muted: oklch(0.214 0.02 44.267);
  --muted-foreground: oklch(0.765 0.003 44.945);
  --popover: oklch(0.144 0.015 49.283);
  --popover-foreground: oklch(0.992 0.002 44.965);
  --card: oklch(0.144 0.015 49.283);
  --card-foreground: oklch(0.992 0.002 44.965);
  --border: oklch(0.258 0.012 44.568);
  --input: oklch(0.258 0.012 44.568);
  --primary: oklch(0.887 0.043 44.556);
  --primary-foreground: oklch(0.392 0.098 42.064);
  --secondary: oklch(0.3 0.008 44.714);
  --secondary-foreground: oklch(0.828 0.008 44.884);
  --accent: oklch(0.3 0.008 44.714);
  --accent-foreground: oklch(0.828 0.008 44.884);
  --destructive: oklch(0.629 0.173 44.525);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.887 0.043 44.556);
  --chart-1: oklch(0.887 0.043 44.556);
  --chart-2: oklch(0.3 0.008 44.714);
  --chart-3: oklch(0.3 0.008 44.714);
  --chart-4: oklch(0.33 0.01 44.705);
  --chart-5: oklch(0.887 0.045 44.54);
}