Omelet for shadcn/ui

Omelet is a shadcn/ui theme built around a light teal primary color (#cbf5f6) with light blue accents (#cbe0f6). The light mode uses a neutral background (#f8fcfc). Dark mode keeps the light teal primary (#cbf5f6) on a neutral background (#030707).

Color palette

TokenLightDark
Background
#f8fcfcmintcream
#030707black
Foreground
#051010black
#fcfdfdwhite
Card
#f8fcfcmintcream
#030707black
Card foreground
#051010black
#fcfdfdwhite
Popover
#f8fcfcmintcream
#030707black
Popover foreground
#051010black
#fcfdfdwhite
Primary
#cbf5f6lightcyan
#cbf5f6lightcyan
Primary foreground
#062223black
#062223black
Secondary
#cbf6e1gainsboro
#cbf6e1gainsboro
Secondary foreground
#062315black
#062315black
Muted
#d6ebe1gainsboro
#14291fblack
Muted foreground
#3a4b43darkslategray
#b4c5bdsilver
Accent
#cbe0f6lavender
#cbe0f6lavender
Accent foreground
#154679midnightblue
#154679midnightblue
Destructive
#6e250cmaroon
#eb7047tomato
Destructive foreground
#f7c6b6lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cbf5f6lightcyan
#cbf5f6lightcyan

Contrast

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

Light mode
Text on background18.66:1AAA
Text on card18.66:1AAA
Primary button14.22:1AAA
Secondary button14.12:1AAA
Muted text7.41:1AAA
Accent7.09:1AAA
Destructive7.09:1AAA
Dark mode
Text on background19.85:1AAA
Text on card19.85:1AAA
Primary button14.22:1AAA
Secondary button14.12:1AAA
Muted text8.53:1AAA
Accent7.09:1AAA
Destructive6.93:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.004 198.296);
  --foreground: oklch(0.16 0.017 196.845);
  --muted: oklch(0.921 0.026 165.248);
  --muted-foreground: oklch(0.395 0.026 164.123);
  --popover: oklch(0.988 0.004 198.296);
  --popover-foreground: oklch(0.16 0.017 196.845);
  --card: oklch(0.988 0.004 198.296);
  --card-foreground: oklch(0.16 0.017 196.845);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.941 0.043 197.71);
  --primary-foreground: oklch(0.232 0.033 196.681);
  --secondary: oklch(0.937 0.052 164.431);
  --secondary-foreground: oklch(0.228 0.044 159.052);
  --accent: oklch(0.897 0.038 250.02);
  --accent-foreground: oklch(0.39 0.101 253.224);
  --destructive: oklch(0.372 0.11 37.606);
  --destructive-foreground: oklch(0.865 0.061 39.246);
  --ring: oklch(0.941 0.043 197.71);
  --chart-1: oklch(0.941 0.043 197.71);
  --chart-2: oklch(0.937 0.052 164.431);
  --chart-3: oklch(0.897 0.038 250.02);
  --chart-4: oklch(0.952 0.039 164.865);
  --chart-5: oklch(0.943 0.045 197.687);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.01 197.004);
  --foreground: oklch(0.993 0.001 198.341);
  --muted: oklch(0.26 0.033 161.904);
  --muted-foreground: oklch(0.809 0.022 165.267);
  --popover: oklch(0.122 0.01 197.004);
  --popover-foreground: oklch(0.993 0.001 198.341);
  --card: oklch(0.122 0.01 197.004);
  --card-foreground: oklch(0.993 0.001 198.341);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.941 0.043 197.71);
  --primary-foreground: oklch(0.232 0.033 196.681);
  --secondary: oklch(0.937 0.052 164.431);
  --secondary-foreground: oklch(0.228 0.044 159.052);
  --accent: oklch(0.897 0.038 250.02);
  --accent-foreground: oklch(0.39 0.101 253.224);
  --destructive: oklch(0.684 0.162 38.773);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.941 0.043 197.71);
  --chart-1: oklch(0.941 0.043 197.71);
  --chart-2: oklch(0.937 0.052 164.431);
  --chart-3: oklch(0.897 0.038 250.02);
  --chart-4: oklch(0.952 0.039 164.865);
  --chart-5: oklch(0.943 0.045 197.687);
}