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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.15:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 11.47:1 | AAA |
| Secondary button | 9.29:1 | AAA |
| Muted text | 4.57:1 | AA |
| Accent | 9.20:1 | AAA |
| Destructive | 7.12:1 | AAA |
| Text on background | 18.83:1 | AAA |
| Text on card | 18.91:1 | AAA |
| Primary button | 11.47:1 | AAA |
| Secondary button | 9.29:1 | AAA |
| Muted text | 7.36:1 | AAA |
| Accent | 9.20:1 | AAA |
| Destructive | 4.16:1 | AA Large |
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);
}