Icy for shadcn/ui

Icy is a shadcn/ui theme built around a vivid orange primary color (#de971b) with muted light orange accents (#d0c7b9). The light mode uses a neutral background (#fdfbf7). Dark mode keeps the vivid orange primary (#de971b) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfbf7snow
#000000black
Foreground
#170f03black
#f9f8f5whitesmoke
Card
#fbf8f3floralwhite
#030303black
Card foreground
#120c02black
#fbfaf9snow
Popover
#fbf8f3floralwhite
#030303black
Popover foreground
#120c02black
#fbfaf9snow
Primary
#de971bgoldenrod
#de971bgoldenrod
Primary foreground
#291c05black
#291c05black
Secondary
#dedad3gainsboro
#35322cdarkslategray
Secondary foreground
#494236darkslategray
#cfcbc4lightgrey
Muted
#edebe8linen
#171512black
Muted foreground
#4c4943darkslategray
#bcb9b3silver
Accent
#d0c7b9silver
#494236darkslategray
Accent foreground
#342e23darkslategray
#dedad3gainsboro
Destructive
#d13d15firebrick
#da4016chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#de971bgoldenrod
#de971bgoldenrod

Contrast

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

Light mode
Text on background18.31:1AAA
Text on card18.43:1AAA
Primary button6.77:1AA
Secondary button7.14:1AAA
Muted text7.56:1AAA
Accent8.06:1AAA
Destructive4.77:1AA
Dark mode
Text on background19.77:1AAA
Text on card19.83:1AAA
Primary button6.77:1AA
Secondary button7.91:1AAA
Muted text9.29:1AAA
Accent7.09:1AAA
Destructive4.43:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.005 81.513);
  --foreground: oklch(0.176 0.029 83.291);
  --muted: oklch(0.942 0.005 81.513);
  --muted-foreground: oklch(0.405 0.01 81.487);
  --popover: oklch(0.981 0.008 81.512);
  --popover-foreground: oklch(0.16 0.026 85.614);
  --card: oklch(0.981 0.008 81.512);
  --card-foreground: oklch(0.16 0.026 85.614);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.73 0.149 73.691);
  --primary-foreground: oklch(0.236 0.041 78.739);
  --secondary: oklch(0.891 0.011 81.508);
  --secondary-foreground: oklch(0.384 0.022 81.334);
  --accent: oklch(0.834 0.022 81.48);
  --accent-foreground: oklch(0.303 0.021 81.234);
  --destructive: oklch(0.575 0.19 34.983);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.73 0.149 73.691);
  --chart-1: oklch(0.73 0.149 73.691);
  --chart-2: oklch(0.891 0.011 81.508);
  --chart-3: oklch(0.834 0.022 81.48);
  --chart-4: oklch(0.913 0.009 81.51);
  --chart-5: oklch(0.736 0.152 73.065);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.979 0.004 81.513);
  --muted: oklch(0.198 0.008 81.435);
  --muted-foreground: oklch(0.786 0.008 81.509);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.986 0.003 81.514);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.986 0.003 81.514);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.73 0.149 73.691);
  --primary-foreground: oklch(0.236 0.041 78.739);
  --secondary: oklch(0.318 0.012 81.446);
  --secondary-foreground: oklch(0.843 0.01 81.508);
  --accent: oklch(0.384 0.022 81.334);
  --accent-foreground: oklch(0.891 0.011 81.508);
  --destructive: oklch(0.594 0.197 34.949);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.73 0.149 73.691);
  --chart-1: oklch(0.73 0.149 73.691);
  --chart-2: oklch(0.318 0.012 81.446);
  --chart-3: oklch(0.384 0.022 81.334);
  --chart-4: oklch(0.349 0.013 81.441);
  --chart-5: oklch(0.736 0.152 73.065);
}