Neat for shadcn/ui

Neat is a shadcn/ui theme built around a vivid teal primary color (#68eded) with vivid blue accents (#68abed). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid teal primary (#68eded) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfefewhite
#000000black
Foreground
#041616black
#f9fbfbghostwhite
Card
#fbfefewhite
#000000black
Card foreground
#041616black
#f9fbfbghostwhite
Popover
#fbfefewhite
#000000black
Popover foreground
#041616black
#f9fbfbghostwhite
Primary
#68ededaquamarine
#68ededaquamarine
Primary foreground
#042020black
#042020black
Secondary
#68edabmediumaquamarine
#68edabmediumaquamarine
Secondary foreground
#042012black
#042012black
Muted
#e1e5e3gainsboro
#1a1e1cblack
Muted foreground
#50685cdimgray
#97afa3darkgray
Accent
#68abedcornflowerblue
#68abedcornflowerblue
Accent foreground
#041220black
#041220black
Destructive
#88250csaddlebrown
#eb3f14orangered
Destructive foreground
#fbd5cbbisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#68ededaquamarine
#68ededaquamarine

Contrast

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

Light mode
Text on background18.29:1AAA
Text on card18.29:1AAA
Primary button12.14:1AAA
Secondary button11.74:1AAA
Muted text4.75:1AA
Accent7.76:1AAA
Destructive6.69:1AA
Dark mode
Text on background20.21:1AAA
Text on card20.21:1AAA
Primary button12.14:1AAA
Secondary button11.74:1AAA
Muted text7.18:1AAA
Accent7.76:1AAA
Destructive4.00:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.003 197.105);
  --foreground: oklch(0.184 0.026 195.158);
  --muted: oklch(0.918 0.006 164.981);
  --muted-foreground: oklch(0.493 0.034 163.168);
  --popover: oklch(0.995 0.003 197.105);
  --popover-foreground: oklch(0.184 0.026 195.158);
  --card: oklch(0.995 0.003 197.105);
  --card-foreground: oklch(0.184 0.026 195.158);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.874 0.116 195.236);
  --primary-foreground: oklch(0.222 0.034 194.998);
  --secondary: oklch(0.855 0.151 158.889);
  --secondary-foreground: oklch(0.217 0.045 158.3);
  --accent: oklch(0.724 0.119 249.773);
  --accent-foreground: oklch(0.177 0.036 248.206);
  --destructive: oklch(0.419 0.139 34.394);
  --destructive-foreground: oklch(0.902 0.044 34.332);
  --ring: oklch(0.874 0.116 195.236);
  --chart-1: oklch(0.874 0.116 195.236);
  --chart-2: oklch(0.855 0.151 158.889);
  --chart-3: oklch(0.724 0.119 249.773);
  --chart-4: oklch(0.866 0.14 159.666);
  --chart-5: oklch(0.88 0.119 195.204);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.002 197.126);
  --muted: oklch(0.231 0.008 164.211);
  --muted-foreground: oklch(0.733 0.031 163.965);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.002 197.126);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.986 0.002 197.126);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.874 0.116 195.236);
  --primary-foreground: oklch(0.222 0.034 194.998);
  --secondary: oklch(0.855 0.151 158.889);
  --secondary-foreground: oklch(0.217 0.045 158.3);
  --accent: oklch(0.724 0.119 249.773);
  --accent-foreground: oklch(0.177 0.036 248.206);
  --destructive: oklch(0.621 0.214 33.973);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.874 0.116 195.236);
  --chart-1: oklch(0.874 0.116 195.236);
  --chart-2: oklch(0.855 0.151 158.889);
  --chart-3: oklch(0.724 0.119 249.773);
  --chart-4: oklch(0.866 0.14 159.666);
  --chart-5: oklch(0.88 0.119 195.204);
}