1 for shadcn/ui

1 is a shadcn/ui theme built around a vivid light teal primary color (#8df7f7) with muted light teal accents (#c7d6d6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#8df7f7) on a neutral background (#020808).

Color palette

TokenLightDark
Background
#ffffffwhite
#020808black
Foreground
#020909black
#fbfdfdwhite
Card
#ffffffwhite
#020808black
Card foreground
#020909black
#fbfdfdwhite
Popover
#ffffffwhite
#020808black
Popover foreground
#020909black
#fbfdfdwhite
Primary
#8df7f7paleturquoise
#8df7f7paleturquoise
Primary foreground
#054c4cdarkslategray
#054c4cdarkslategray
Secondary
#c7d6d6lightgrey
#101818black
Secondary foreground
#2d3e3edarkslategray
#9dbebedarkgray
Muted
#d9e8e8gainsboro
#172626black
Muted foreground
#4d5151darkslategray
#aeb2b2darkgray
Accent
#c7d6d6lightgrey
#101818black
Accent foreground
#2d3e3edarkslategray
#9dbebedarkgray
Destructive
#8d3302saddlebrown
#fb6413orangered
Destructive foreground
#fed7c3peachpuff
#000000black
Border
#edeeeewhitesmoke
#1b1d1dblack
Input
#edeeeewhitesmoke
#1b1d1dblack
Ring
#8df7f7paleturquoise
#8df7f7paleturquoise

Contrast

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

Light mode
Text on background20.08:1AAA
Text on card20.08:1AAA
Primary button7.82:1AAA
Secondary button7.51:1AAA
Muted text6.37:1AA
Accent7.51:1AAA
Destructive6.05:1AA
Dark mode
Text on background19.77:1AAA
Text on card19.77:1AAA
Primary button7.82:1AAA
Secondary button9.00:1AAA
Muted text7.29:1AAA
Accent9.00:1AAA
Destructive6.95:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.127 0.016 195.289);
  --muted: oklch(0.92 0.016 196.874);
  --muted-foreground: oklch(0.431 0.004 197.004);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.127 0.016 195.289);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.127 0.016 195.289);
  --border: oklch(0.947 0.001 197.139);
  --input: oklch(0.947 0.001 197.139);
  --primary: oklch(0.912 0.099 195.556);
  --primary-foreground: oklch(0.379 0.063 194.834);
  --secondary: oklch(0.865 0.017 196.848);
  --secondary-foreground: oklch(0.35 0.022 196.188);
  --accent: oklch(0.865 0.017 196.848);
  --accent-foreground: oklch(0.35 0.022 196.188);
  --destructive: oklch(0.444 0.133 41.981);
  --destructive-foreground: oklch(0.908 0.052 49.983);
  --ring: oklch(0.912 0.099 195.556);
  --chart-1: oklch(0.912 0.099 195.556);
  --chart-2: oklch(0.865 0.017 196.848);
  --chart-3: oklch(0.865 0.017 196.848);
  --chart-4: oklch(0.887 0.014 196.903);
  --chart-5: oklch(0.916 0.102 195.523);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.013 195.615);
  --foreground: oklch(0.994 0.002 197.125);
  --muted: oklch(0.256 0.021 195.935);
  --muted-foreground: oklch(0.76 0.004 197.082);
  --popover: oklch(0.125 0.013 195.615);
  --popover-foreground: oklch(0.994 0.002 197.125);
  --card: oklch(0.125 0.013 195.615);
  --card-foreground: oklch(0.994 0.002 197.125);
  --border: oklch(0.228 0.003 196.978);
  --input: oklch(0.228 0.003 196.978);
  --primary: oklch(0.912 0.099 195.556);
  --primary-foreground: oklch(0.379 0.063 194.834);
  --secondary: oklch(0.203 0.012 196.239);
  --secondary-foreground: oklch(0.777 0.035 196.449);
  --accent: oklch(0.203 0.012 196.239);
  --accent-foreground: oklch(0.777 0.035 196.449);
  --destructive: oklch(0.689 0.201 42.3);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.912 0.099 195.556);
  --chart-1: oklch(0.912 0.099 195.556);
  --chart-2: oklch(0.203 0.012 196.239);
  --chart-3: oklch(0.203 0.012 196.239);
  --chart-4: oklch(0.24 0.016 196.148);
  --chart-5: oklch(0.916 0.102 195.523);
}