Toile Blue Roundworm for shadcn/ui

Toile Blue Roundworm is a shadcn/ui theme built around a blue primary color (#8fbde5) with green accents (#bde58f). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the blue primary (#8fbde5) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#fbfdfewhite
#020303black
Foreground
#020b12black
#fcfcfdwhite
Card
#f7fafdghostwhite
#030507black
Card foreground
#02080dblack
#ffffffwhite
Popover
#f7fafdghostwhite
#030507black
Popover foreground
#02080dblack
#ffffffwhite
Primary
#8fbde5skyblue
#8fbde5skyblue
Primary foreground
#0d2336midnightblue
#0d2336midnightblue
Secondary
#e58fbdplum
#e58fbdplum
Secondary foreground
#360d23black
#360d23black
Muted
#ede8eblinen
#171215black
Muted foreground
#5c4752dimgray
#b8a3aedarkgray
Accent
#bde58fpalegreen
#bde58fpalegreen
Accent foreground
#23360ddarkgreen
#23360ddarkgreen
Destructive
#ac1111firebrick
#ea2e2ecrimson
Destructive foreground
#fef1f1lavenderblush
#ffffffwhite
Border
#e5e8eblavender
#1f2428darkslategray
Input
#e5e8eblavender
#1f2428darkslategray
Ring
#8fbde5skyblue
#8fbde5skyblue

Contrast

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

Light mode
Text on background19.37:1AAA
Text on card19.22:1AAA
Primary button8.07:1AAA
Secondary button7.28:1AAA
Muted text7.00:1AAA
Accent9.19:1AAA
Destructive6.72:1AA
Dark mode
Text on background20.17:1AAA
Text on card20.38:1AAA
Primary button8.07:1AAA
Secondary button7.28:1AAA
Muted text7.84:1AAA
Accent9.19:1AAA
Destructive4.24:1AA Large

CSS variables

Paste this into your globals.css to use Toile Blue Roundworm in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.003 244.121);
  --foreground: oklch(0.142 0.023 239.102);
  --muted: oklch(0.936 0.006 343.613);
  --muted-foreground: oklch(0.424 0.034 345.333);
  --popover: oklch(0.984 0.005 244.154);
  --popover-foreground: oklch(0.128 0.019 235.184);
  --card: oklch(0.984 0.005 244.154);
  --card-foreground: oklch(0.128 0.019 235.184);
  --border: oklch(0.93 0.005 244.152);
  --input: oklch(0.93 0.005 244.152);
  --primary: oklch(0.78 0.075 245.373);
  --primary-foreground: oklch(0.247 0.046 247.351);
  --secondary: oklch(0.753 0.117 347.067);
  --secondary-foreground: oklch(0.237 0.071 350.926);
  --accent: oklch(0.873 0.119 128.972);
  --accent-foreground: oklch(0.305 0.068 130.885);
  --destructive: oklch(0.473 0.185 28.2);
  --destructive-foreground: oklch(0.968 0.014 17.391);
  --ring: oklch(0.78 0.075 245.373);
  --chart-1: oklch(0.78 0.075 245.373);
  --chart-2: oklch(0.753 0.117 347.067);
  --chart-3: oklch(0.873 0.119 128.972);
  --chart-4: oklch(0.779 0.104 346.547);
  --chart-5: oklch(0.78 0.078 245.445);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.091 0.006 239.381);
  --foreground: oklch(0.992 0.001 244.101);
  --muted: oklch(0.189 0.009 344.657);
  --muted-foreground: oklch(0.737 0.029 344.41);
  --popover: oklch(0.114 0.007 239.381);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.114 0.007 239.381);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.257 0.01 244.576);
  --input: oklch(0.257 0.01 244.576);
  --primary: oklch(0.78 0.075 245.373);
  --primary-foreground: oklch(0.247 0.046 247.351);
  --secondary: oklch(0.753 0.117 347.067);
  --secondary-foreground: oklch(0.237 0.071 350.926);
  --accent: oklch(0.873 0.119 128.972);
  --accent-foreground: oklch(0.305 0.068 130.885);
  --destructive: oklch(0.609 0.222 26.962);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.78 0.075 245.373);
  --chart-1: oklch(0.78 0.075 245.373);
  --chart-2: oklch(0.753 0.117 347.067);
  --chart-3: oklch(0.873 0.119 128.972);
  --chart-4: oklch(0.779 0.104 346.547);
  --chart-5: oklch(0.78 0.078 245.445);
}