Glistening for shadcn/ui

Glistening is a shadcn/ui theme built around a deep orange primary color (#29160f) with deep cyan accents (#0f2229). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the deep orange primary (#29160f) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdf9f7snow
#000000black
Foreground
#100704black
#faf6f5whitesmoke
Card
#fcf5f3seashell
#030303black
Card foreground
#0c0603black
#fcf9f8snow
Popover
#fdf9f7snow
#000000black
Popover foreground
#100704black
#faf6f5whitesmoke
Primary
#29160fblack
#29160fblack
Primary foreground
#d6a694tan
#d6a694tan
Secondary
#0f2229black
#0f2229black
Secondary foreground
#94c5d6skyblue
#94c5d6skyblue
Muted
#d5e6ecgainsboro
#13242ablack
Muted foreground
#4a5559darkslategray
#a6b1b5darkgray
Accent
#0f2229black
#0f2229black
Accent foreground
#94c5d6skyblue
#94c5d6skyblue
Destructive
#893206saddlebrown
#f6702ctomato
Destructive foreground
#fdd7c4peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#29160fblack
#29160fblack

Contrast

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

Light mode
Text on background18.97:1AAA
Text on card18.71:1AAA
Primary button8.01:1AAA
Secondary button8.75:1AAA
Muted text5.96:1AA
Accent8.75:1AAA
Destructive6.23:1AA
Dark mode
Text on background19.56:1AAA
Text on card19.73:1AAA
Primary button8.01:1AAA
Secondary button8.75:1AAA
Muted text7.29:1AAA
Accent8.75:1AAA
Destructive7.26:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.005 41.263);
  --foreground: oklch(0.143 0.019 47.045);
  --muted: oklch(0.913 0.02 221.511);
  --muted-foreground: oklch(0.442 0.015 221.664);
  --popover: oklch(0.984 0.005 41.263);
  --popover-foreground: oklch(0.143 0.019 47.045);
  --card: oklch(0.975 0.008 41.243);
  --card-foreground: oklch(0.129 0.016 49.05);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.224 0.033 40.714);
  --primary-foreground: oklch(0.764 0.063 40.895);
  --secondary: oklch(0.239 0.028 223.572);
  --secondary-foreground: oklch(0.794 0.057 222.302);
  --accent: oklch(0.239 0.028 223.572);
  --accent-foreground: oklch(0.794 0.057 222.302);
  --destructive: oklch(0.437 0.129 41.416);
  --destructive-foreground: oklch(0.906 0.049 48.155);
  --ring: oklch(0.224 0.033 40.714);
  --chart-1: oklch(0.224 0.033 40.714);
  --chart-2: oklch(0.239 0.028 223.572);
  --chart-3: oklch(0.239 0.028 223.572);
  --chart-4: oklch(0.275 0.033 223.846);
  --chart-5: oklch(0.224 0.035 40.677);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.976 0.005 41.265);
  --muted: oklch(0.248 0.025 223.066);
  --muted-foreground: oklch(0.753 0.013 221.471);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.976 0.005 41.265);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.984 0.003 41.278);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.224 0.033 40.714);
  --primary-foreground: oklch(0.764 0.063 40.895);
  --secondary: oklch(0.239 0.028 223.572);
  --secondary-foreground: oklch(0.794 0.057 222.302);
  --accent: oklch(0.239 0.028 223.572);
  --accent-foreground: oklch(0.794 0.057 222.302);
  --destructive: oklch(0.697 0.182 43.736);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.224 0.033 40.714);
  --chart-1: oklch(0.224 0.033 40.714);
  --chart-2: oklch(0.239 0.028 223.572);
  --chart-3: oklch(0.239 0.028 223.572);
  --chart-4: oklch(0.275 0.033 223.846);
  --chart-5: oklch(0.224 0.035 40.677);
}