Lovely for shadcn/ui

Lovely is a shadcn/ui theme built around a vivid light cyan primary color (#ecf9fe) with vivid light blue accents (#ecf0fe). The light mode uses a neutral background (#f7fbfc). Dark mode keeps the vivid light cyan primary (#ecf9fe) on a cyan-tinted background (#04090b).

Color palette

TokenLightDark
Background
#f7fbfcghostwhite
#04090bblack
Foreground
#030a0dblack
#f4f9famintcream
Card
#f4f9fbghostwhite
#060c0fblack
Card foreground
#020708black
#f8fbfcghostwhite
Popover
#f7fbfcghostwhite
#04090bblack
Popover foreground
#030a0dblack
#f4f9famintcream
Primary
#ecf9fealiceblue
#ecf9fealiceblue
Primary foreground
#04394edarkslategray
#04394edarkslategray
Secondary
#ecfefaazure
#ecfefaazure
Secondary foreground
#044e3edarkslategray
#044e3edarkslategray
Muted
#e9f1efwhitesmoke
#0e1614black
Muted foreground
#55726cdimgray
#8daaa4darkseagreen
Accent
#ecf0fealiceblue
#ecf0fealiceblue
Accent foreground
#092daemediumblue
#092daemediumblue
Destructive
#73170dmaroon
#e73a27crimson
Destructive foreground
#f7c0balightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ecf9fealiceblue
#ecf9fealiceblue

Contrast

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

Light mode
Text on background19.15:1AAA
Text on card19.07:1AAA
Primary button11.47:1AAA
Secondary button9.29:1AAA
Muted text4.57:1AA
Accent9.20:1AAA
Destructive7.12:1AAA
Dark mode
Text on background18.83:1AAA
Text on card18.91:1AAA
Primary button11.47:1AAA
Secondary button9.29:1AAA
Muted text7.36:1AAA
Accent9.20:1AAA
Destructive4.16:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 223.173);
  --foreground: oklch(0.136 0.016 218.351);
  --muted: oklch(0.952 0.009 181.802);
  --muted-foreground: oklch(0.528 0.036 180.012);
  --popover: oklch(0.986 0.004 223.173);
  --popover-foreground: oklch(0.136 0.016 218.351);
  --card: oklch(0.979 0.006 223.196);
  --card-foreground: oklch(0.119 0.014 217.093);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.973 0.016 223.299);
  --primary-foreground: oklch(0.323 0.063 231.194);
  --secondary: oklch(0.982 0.02 181.497);
  --secondary-foreground: oklch(0.377 0.071 172.565);
  --accent: oklch(0.955 0.02 273.622);
  --accent-foreground: oklch(0.385 0.205 264.648);
  --destructive: oklch(0.364 0.128 30.399);
  --destructive-foreground: oklch(0.856 0.064 25.778);
  --ring: oklch(0.973 0.016 223.299);
  --chart-1: oklch(0.973 0.016 223.299);
  --chart-2: oklch(0.982 0.02 181.497);
  --chart-3: oklch(0.955 0.02 273.622);
  --chart-4: oklch(0.996 0.005 181.927);
  --chart-5: oklch(0.973 0.016 223.305);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.011 219.025);
  --foreground: oklch(0.978 0.005 223.184);
  --muted: oklch(0.191 0.013 180.052);
  --muted-foreground: oklch(0.715 0.034 180.675);
  --popover: oklch(0.135 0.011 219.025);
  --popover-foreground: oklch(0.978 0.005 223.184);
  --card: oklch(0.149 0.013 222.08);
  --card-foreground: oklch(0.986 0.003 223.165);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.973 0.016 223.299);
  --primary-foreground: oklch(0.323 0.063 231.194);
  --secondary: oklch(0.982 0.02 181.497);
  --secondary-foreground: oklch(0.377 0.071 172.565);
  --accent: oklch(0.955 0.02 273.622);
  --accent-foreground: oklch(0.385 0.205 264.648);
  --destructive: oklch(0.612 0.212 30.355);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.973 0.016 223.299);
  --chart-1: oklch(0.973 0.016 223.299);
  --chart-2: oklch(0.982 0.02 181.497);
  --chart-3: oklch(0.955 0.02 273.622);
  --chart-4: oklch(0.996 0.005 181.927);
  --chart-5: oklch(0.973 0.016 223.305);
}