Unpleasant Pool Floor for shadcn/ui

Unpleasant Pool Floor is a shadcn/ui theme built around a blue primary color (#81b1e4) with muted blue accents (#b1bac3). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#81b1e4) on a blue-tinted background (#03080c).

Color palette

TokenLightDark
Background
#ffffffwhite
#03080cblack
Foreground
#040c16black
#fcfcfdwhite
Card
#ffffffwhite
#03080cblack
Card foreground
#040c16black
#fcfcfdwhite
Popover
#ffffffwhite
#03080cblack
Popover foreground
#040c16black
#fcfcfdwhite
Primary
#81b1e4skyblue
#81b1e4skyblue
Primary foreground
#09192ablack
#09192ablack
Secondary
#ced1d4lightgrey
#181c21black
Secondary foreground
#35383bdarkslategray
#a9b5c1silver
Muted
#d8e0e9gainsboro
#161e27black
Muted foreground
#48515bdarkslategray
#a4adb7darkgray
Accent
#b1bac3silver
#222e3adarkslategray
Accent foreground
#1d2125black
#b8c6d5lightsteelblue
Destructive
#9e0505darkred
#f81616red
Destructive foreground
#fed7d7mistyrose
#ffffffwhite
Border
#f1f2f4whitesmoke
#1d2125black
Input
#f1f2f4whitesmoke
#1d2125black
Ring
#81b1e4skyblue
#81b1e4skyblue

Contrast

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

Light mode
Text on background19.63:1AAA
Text on card19.63:1AAA
Primary button7.87:1AAA
Secondary button7.69:1AAA
Muted text6.05:1AA
Accent8.23:1AAA
Destructive6.40:1AA
Dark mode
Text on background19.65:1AAA
Text on card19.65:1AAA
Primary button7.87:1AAA
Secondary button8.22:1AAA
Muted text7.37:1AAA
Accent7.98:1AAA
Destructive4.10:1AA Large

CSS variables

Paste this into your globals.css to use Unpleasant Pool Floor in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.152 0.026 247.033);
  --muted: oklch(0.903 0.015 249.803);
  --muted-foreground: oklch(0.431 0.021 250.07);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.152 0.026 247.033);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.152 0.026 247.033);
  --border: oklch(0.961 0.003 249.678);
  --input: oklch(0.961 0.003 249.678);
  --primary: oklch(0.745 0.091 250.737);
  --primary-foreground: oklch(0.209 0.041 251.679);
  --secondary: oklch(0.859 0.005 249.704);
  --secondary-foreground: oklch(0.339 0.008 249.853);
  --accent: oklch(0.785 0.016 249.84);
  --accent-foreground: oklch(0.245 0.01 250.026);
  --destructive: oklch(0.442 0.178 28.886);
  --destructive-foreground: oklch(0.913 0.043 17.966);
  --ring: oklch(0.745 0.091 250.737);
  --chart-1: oklch(0.745 0.091 250.737);
  --chart-2: oklch(0.859 0.005 249.704);
  --chart-3: oklch(0.785 0.016 249.84);
  --chart-4: oklch(0.883 0.004 249.693);
  --chart-5: oklch(0.745 0.095 250.797);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.128 0.014 242.31);
  --foreground: oklch(0.992 0.001 249.663);
  --muted: oklch(0.232 0.021 250.434);
  --muted-foreground: oklch(0.744 0.018 249.87);
  --popover: oklch(0.128 0.014 242.31);
  --popover-foreground: oklch(0.992 0.001 249.663);
  --card: oklch(0.128 0.014 242.31);
  --card-foreground: oklch(0.992 0.001 249.663);
  --border: oklch(0.245 0.01 250.026);
  --input: oklch(0.245 0.01 250.026);
  --primary: oklch(0.745 0.091 250.737);
  --primary-foreground: oklch(0.209 0.041 251.679);
  --secondary: oklch(0.224 0.011 250.087);
  --secondary-foreground: oklch(0.767 0.022 249.904);
  --accent: oklch(0.294 0.028 250.465);
  --accent-foreground: oklch(0.822 0.026 249.936);
  --destructive: oklch(0.62 0.246 28.543);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.745 0.091 250.737);
  --chart-1: oklch(0.745 0.091 250.737);
  --chart-2: oklch(0.224 0.011 250.087);
  --chart-3: oklch(0.294 0.028 250.465);
  --chart-4: oklch(0.255 0.014 250.119);
  --chart-5: oklch(0.745 0.095 250.797);
}