Channel for shadcn/ui

Channel is a shadcn/ui theme built around a vivid light teal primary color (#c7f9f8) with vivid light blue accents (#c7e2f9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#c7f9f8) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#ffffffwhite
#010404black
Foreground
#030c0cblack
#fcfdfdwhite
Card
#fcfcfcsnow
#020808black
Card foreground
#020808black
#ffffffwhite
Popover
#ffffffwhite
#010404black
Popover foreground
#030c0cblack
#fcfdfdwhite
Primary
#c7f9f8lightcyan
#c7f9f8lightcyan
Primary foreground
#042524black
#042524black
Secondary
#c7f9dfpaleturquoise
#c7f9dfpaleturquoise
Secondary foreground
#042513black
#042513black
Muted
#dbe1degainsboro
#1e2421black
Muted foreground
#5a6860dimgray
#97a59edarkgray
Accent
#c7e2f9paleturquoise
#c7e2f9paleturquoise
Accent foreground
#0d4b82midnightblue
#0d4b82midnightblue
Destructive
#860804darkred
#df0e07red
Destructive foreground
#fdc1bflightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c7f9f8lightcyan
#c7f9f8lightcyan

Contrast

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

Light mode
Text on background19.77:1AAA
Text on card19.74:1AAA
Primary button14.20:1AAA
Secondary button14.15:1AAA
Muted text4.40:1AA Large
Accent6.69:1AA
Destructive6.62:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.18:1AAA
Primary button14.20:1AAA
Secondary button14.15:1AAA
Muted text6.16:1AA
Accent6.69:1AA
Destructive5.00:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.144 0.016 193.296);
  --muted: oklch(0.903 0.007 163.252);
  --muted-foreground: oklch(0.502 0.02 162.396);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.144 0.016 193.296);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.125 0.014 193.49);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.949 0.051 193.801);
  --primary-foreground: oklch(0.241 0.038 191.722);
  --secondary: oklch(0.942 0.063 161.638);
  --secondary-foreground: oklch(0.235 0.052 155.913);
  --accent: oklch(0.901 0.043 244.687);
  --accent-foreground: oklch(0.408 0.109 250.698);
  --destructive: oklch(0.393 0.155 29.371);
  --destructive-foreground: oklch(0.864 0.07 20.871);
  --ring: oklch(0.949 0.051 193.801);
  --chart-1: oklch(0.949 0.051 193.801);
  --chart-2: oklch(0.942 0.063 161.638);
  --chart-3: oklch(0.901 0.043 244.687);
  --chart-4: oklch(0.956 0.047 162.133);
  --chart-5: oklch(0.95 0.053 193.769);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.011 193.525);
  --foreground: oklch(0.994 0.002 194.759);
  --muted: oklch(0.253 0.009 162.481);
  --muted-foreground: oklch(0.709 0.019 162.769);
  --popover: oklch(0.099 0.011 193.525);
  --popover-foreground: oklch(0.994 0.002 194.759);
  --card: oklch(0.125 0.013 193.525);
  --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.949 0.051 193.801);
  --primary-foreground: oklch(0.241 0.038 191.722);
  --secondary: oklch(0.942 0.063 161.638);
  --secondary-foreground: oklch(0.235 0.052 155.913);
  --accent: oklch(0.901 0.043 244.687);
  --accent-foreground: oklch(0.408 0.109 250.698);
  --destructive: oklch(0.57 0.229 29.323);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.949 0.051 193.801);
  --chart-1: oklch(0.949 0.051 193.801);
  --chart-2: oklch(0.942 0.063 161.638);
  --chart-3: oklch(0.901 0.043 244.687);
  --chart-4: oklch(0.956 0.047 162.133);
  --chart-5: oklch(0.95 0.053 193.769);
}