Kayak for shadcn/ui

Kayak is a shadcn/ui theme built around a vivid teal primary color (#41f1dc) with vivid yellow accents (#f1dc41). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid teal primary (#41f1dc) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#fbfefdwhite
#030707black
Foreground
#031110black
#ffffffwhite
Card
#f7fcfcmintcream
#050a0ablack
Card foreground
#020d0cblack
#ffffffwhite
Popover
#f7fcfcmintcream
#050a0ablack
Popover foreground
#020d0cblack
#ffffffwhite
Primary
#41f1dcturquoise
#41f1dcturquoise
Primary foreground
#000000black
#000000black
Secondary
#dc41f1mediumorchid
#dc41f1mediumorchid
Secondary foreground
#000000black
#000000black
Muted
#ece2eelavender
#1b111dblack
Muted foreground
#575158dimgray
#ada7aedarkgray
Accent
#f1dc41sandybrown
#f1dc41sandybrown
Accent foreground
#000000black
#000000black
Destructive
#85300fsaddlebrown
#e15219chocolate
Destructive foreground
#f9d9cdbisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#41f1dcturquoise
#41f1dcturquoise

Contrast

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

Light mode
Text on background18.93:1AAA
Text on card19.09:1AAA
Primary button14.81:1AAA
Secondary button6.08:1AA
Muted text6.14:1AA
Accent15.07:1AAA
Destructive6.50:1AA
Dark mode
Text on background20.24:1AAA
Text on card19.89:1AAA
Primary button14.81:1AAA
Secondary button6.08:1AA
Muted text7.77:1AAA
Accent15.07:1AAA
Destructive3.88:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 188.848);
  --foreground: oklch(0.164 0.022 186.365);
  --muted: oklch(0.925 0.019 322.182);
  --muted-foreground: oklch(0.442 0.013 322.214);
  --popover: oklch(0.988 0.005 188.784);
  --popover-foreground: oklch(0.146 0.019 187.396);
  --card: oklch(0.988 0.005 188.784);
  --card-foreground: oklch(0.146 0.019 187.396);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.866 0.141 183.339);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.668 0.267 322.75);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.886 0.166 101.522);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.429 0.124 39.49);
  --destructive-foreground: oklch(0.909 0.04 42.797);
  --ring: oklch(0.866 0.141 183.339);
  --chart-1: oklch(0.866 0.141 183.339);
  --chart-2: oklch(0.668 0.267 322.75);
  --chart-3: oklch(0.886 0.166 101.522);
  --chart-4: oklch(0.685 0.253 322.823);
  --chart-5: oklch(0.874 0.144 183.176);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.009 188.463);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.197 0.027 322.546);
  --muted-foreground: oklch(0.737 0.012 322.167);
  --popover: oklch(0.139 0.011 188.445);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.139 0.011 188.445);
  --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.866 0.141 183.339);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.668 0.267 322.75);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.886 0.166 101.522);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.624 0.189 38.832);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.866 0.141 183.339);
  --chart-1: oklch(0.866 0.141 183.339);
  --chart-2: oklch(0.668 0.267 322.75);
  --chart-3: oklch(0.886 0.166 101.522);
  --chart-4: oklch(0.685 0.253 322.823);
  --chart-5: oklch(0.874 0.144 183.176);
}