Tourism for shadcn/ui

Tourism is a shadcn/ui theme built around a vivid deep cyan primary color (#084149) with vivid deep green accents (#414908). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep cyan primary (#084149) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#ffffffwhite
#010404black
Foreground
#020708black
#fcfdfdwhite
Card
#fcfcfcsnow
#020708black
Card foreground
#010404black
#ffffffwhite
Popover
#fcfcfcsnow
#020708black
Popover foreground
#010404black
#ffffffwhite
Primary
#084149darkslategray
#084149darkslategray
Primary foreground
#35d1e9turquoise
#35d1e9turquoise
Secondary
#490841indigo
#490841indigo
Secondary foreground
#f391e6violet
#f391e6violet
Muted
#eddeeblavender
#21121fblack
Muted foreground
#695967dimgray
#a696a4darkgray
Accent
#414908darkolivegreen
#414908darkolivegreen
Accent foreground
#d1e935greenyellow
#d1e935greenyellow
Destructive
#cb1f01firebrick
#e42301orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#084149darkslategray
#084149darkslategray

Contrast

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

Light mode
Text on background20.26:1AAA
Text on card20.13:1AAA
Primary button6.16:1AA
Secondary button7.15:1AAA
Muted text5.03:1AA
Accent7.03:1AAA
Destructive5.61:1AA
Dark mode
Text on background20.22:1AAA
Text on card20.23:1AAA
Primary button6.16:1AA
Secondary button7.15:1AAA
Muted text6.42:1AA
Accent7.03:1AAA
Destructive4.61:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.123 0.014 204.581);
  --muted: oklch(0.916 0.024 330.005);
  --muted-foreground: oklch(0.484 0.029 330.392);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.097 0.011 204.581);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.097 0.011 204.581);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.345 0.056 210.777);
  --primary-foreground: oklch(0.792 0.127 210.563);
  --secondary: oklch(0.286 0.115 334.52);
  --secondary-foreground: oklch(0.786 0.157 331.949);
  --accent: oklch(0.386 0.084 117.459);
  --accent-foreground: oklch(0.886 0.191 117.331);
  --destructive: oklch(0.54 0.207 31.51);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.345 0.056 210.777);
  --chart-1: oklch(0.345 0.056 210.777);
  --chart-2: oklch(0.286 0.115 334.52);
  --chart-3: oklch(0.386 0.084 117.459);
  --chart-4: oklch(0.32 0.131 334.666);
  --chart-5: oklch(0.348 0.057 210.98);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.01 204.792);
  --foreground: oklch(0.993 0.001 207.928);
  --muted: oklch(0.209 0.035 331.574);
  --muted-foreground: oklch(0.692 0.026 330.142);
  --popover: oklch(0.122 0.013 204.792);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.122 0.013 204.792);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.345 0.056 210.777);
  --primary-foreground: oklch(0.792 0.127 210.563);
  --secondary: oklch(0.286 0.115 334.52);
  --secondary-foreground: oklch(0.786 0.157 331.949);
  --accent: oklch(0.386 0.084 117.459);
  --accent-foreground: oklch(0.886 0.191 117.331);
  --destructive: oklch(0.589 0.227 31.368);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.345 0.056 210.777);
  --chart-1: oklch(0.345 0.056 210.777);
  --chart-2: oklch(0.286 0.115 334.52);
  --chart-3: oklch(0.386 0.084 117.459);
  --chart-4: oklch(0.32 0.131 334.666);
  --chart-5: oklch(0.348 0.057 210.98);
}