Thrill for shadcn/ui

Thrill is a shadcn/ui theme built around an orange primary color (#ba7136) with violet accents (#7136ba). The light mode uses a neutral background (#fcfaf7). Dark mode keeps the orange primary (#ba7136) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcfaf7snow
#000000black
Foreground
#0c0703black
#fdfcfbsnow
Card
#fcfaf7snow
#000000black
Card foreground
#0c0703black
#fdfcfbsnow
Popover
#fcfaf7snow
#000000black
Popover foreground
#0c0703black
#fdfcfbsnow
Primary
#ba7136peru
#ba7136peru
Primary foreground
#000000black
#000000black
Secondary
#36ba71mediumseagreen
#36ba71mediumseagreen
Secondary foreground
#081c11black
#081c11black
Muted
#d1e6dagainsboro
#192e23darkslategray
Muted foreground
#434645darkslategray
#b9bcbasilver
Accent
#7136barebeccapurple
#7136barebeccapurple
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#9a1a0efirebrick
#ed4e40tomato
Destructive foreground
#fce1demistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ba7136peru
#ba7136peru

Contrast

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

Light mode
Text on background19.22:1AAA
Text on card19.22:1AAA
Primary button5.50:1AA
Secondary button7.09:1AAA
Muted text7.28:1AAA
Accent7.14:1AAA
Destructive6.71:1AA
Dark mode
Text on background20.49:1AAA
Text on card20.49:1AAA
Primary button5.50:1AA
Secondary button7.09:1AAA
Muted text7.49:1AAA
Accent7.14:1AAA
Destructive3.63:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 62.138);
  --foreground: oklch(0.135 0.016 70.411);
  --muted: oklch(0.906 0.028 161.842);
  --muted-foreground: oklch(0.392 0.004 162.338);
  --popover: oklch(0.986 0.004 62.138);
  --popover-foreground: oklch(0.135 0.016 70.411);
  --card: oklch(0.986 0.004 62.138);
  --card-foreground: oklch(0.135 0.016 70.411);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.617 0.118 57.24);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.7 0.155 154.475);
  --secondary-foreground: oklch(0.205 0.034 157.53);
  --accent: oklch(0.482 0.195 299.513);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.444 0.164 30.025);
  --destructive-foreground: oklch(0.931 0.03 23.925);
  --ring: oklch(0.617 0.118 57.24);
  --chart-1: oklch(0.617 0.118 57.24);
  --chart-2: oklch(0.7 0.155 154.475);
  --chart-3: oklch(0.482 0.195 299.513);
  --chart-4: oklch(0.733 0.163 154.428);
  --chart-5: oklch(0.621 0.123 56.758);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 62.172);
  --muted: oklch(0.281 0.035 158.965);
  --muted-foreground: oklch(0.791 0.004 162.502);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.002 62.172);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.993 0.002 62.172);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.617 0.118 57.24);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.7 0.155 154.475);
  --secondary-foreground: oklch(0.205 0.034 157.53);
  --accent: oklch(0.482 0.195 299.513);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.644 0.198 28.904);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.617 0.118 57.24);
  --chart-1: oklch(0.617 0.118 57.24);
  --chart-2: oklch(0.7 0.155 154.475);
  --chart-3: oklch(0.482 0.195 299.513);
  --chart-4: oklch(0.733 0.163 154.428);
  --chart-5: oklch(0.621 0.123 56.758);
}