Transmission for shadcn/ui

Transmission is a shadcn/ui theme built around a vivid light teal primary color (#edfcfd) with vivid light yellow accents (#fcfded). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#edfcfd) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#ffffffwhite
#020303black
Foreground
#030c0cblack
#fcfdfdwhite
Card
#ffffffwhite
#020303black
Card foreground
#030c0cblack
#fcfdfdwhite
Popover
#ffffffwhite
#020303black
Popover foreground
#030c0cblack
#fcfdfdwhite
Primary
#edfcfdazure
#edfcfdazure
Primary foreground
#08474adarkslategray
#08474adarkslategray
Secondary
#fdedfclavenderblush
#fdedfclavenderblush
Secondary foreground
#4a0847indigo
#4a0847indigo
Muted
#e2d0e1gainsboro
#2f1d2fdarkslategray
Muted foreground
#6e5e6ddimgray
#a191a0darkgray
Accent
#fcfdedivory
#fcfdedivory
Accent foreground
#474a08darkolivegreen
#474a08darkolivegreen
Destructive
#c11f06firebrick
#f84125orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#edfcfdazure
#edfcfdazure

Contrast

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

Light mode
Text on background19.77:1AAA
Text on card19.77:1AAA
Primary button9.92:1AAA
Secondary button13.16:1AAA
Muted text4.10:1AA Large
Accent9.07:1AAA
Destructive6.06:1AA
Dark mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button9.92:1AAA
Secondary button13.16:1AAA
Muted text5.28:1AA
Accent9.07:1AAA
Destructive3.62:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.143 0.017 198.989);
  --muted: oklch(0.876 0.031 327.359);
  --muted-foreground: oklch(0.503 0.032 327.601);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.143 0.017 198.989);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.143 0.017 198.989);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.98 0.017 200.689);
  --primary-foreground: oklch(0.362 0.058 200.522);
  --secondary: oklch(0.962 0.027 327.296);
  --secondary-foreground: oklch(0.291 0.121 330.484);
  --accent: oklch(0.989 0.022 109.111);
  --accent-foreground: oklch(0.393 0.083 112.68);
  --destructive: oklch(0.521 0.198 31.222);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.98 0.017 200.689);
  --chart-1: oklch(0.98 0.017 200.689);
  --chart-2: oklch(0.962 0.027 327.296);
  --chart-3: oklch(0.989 0.022 109.111);
  --chart-4: oklch(0.991 0.007 327.101);
  --chart-5: oklch(0.981 0.017 200.682);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.096 0.006 199.62);
  --foreground: oklch(0.993 0.001 200.876);
  --muted: oklch(0.262 0.041 328.39);
  --muted-foreground: oklch(0.675 0.029 327.431);
  --popover: oklch(0.096 0.006 199.62);
  --popover-foreground: oklch(0.993 0.001 200.876);
  --card: oklch(0.096 0.006 199.62);
  --card-foreground: oklch(0.993 0.001 200.876);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.98 0.017 200.689);
  --primary-foreground: oklch(0.362 0.058 200.522);
  --secondary: oklch(0.962 0.027 327.296);
  --secondary-foreground: oklch(0.291 0.121 330.484);
  --accent: oklch(0.989 0.022 109.111);
  --accent-foreground: oklch(0.393 0.083 112.68);
  --destructive: oklch(0.647 0.223 31.657);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.98 0.017 200.689);
  --chart-1: oklch(0.98 0.017 200.689);
  --chart-2: oklch(0.962 0.027 327.296);
  --chart-3: oklch(0.989 0.022 109.111);
  --chart-4: oklch(0.991 0.007 327.101);
  --chart-5: oklch(0.981 0.017 200.682);
}