Cello is a shadcn/ui theme built around a pink primary color (#e46ca4) with teal accents (#6ce4ac). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#e46ca4) on a neutral background (#080305).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080305black |
| Foreground | #0d0207black | #fbf9fasnow |
| Card | #fcfcfcsnow | #0b0407black |
| Card foreground | #090205black | #fdfcfcsnow |
| Popover | #ffffffwhite | #080305black |
| Popover foreground | #0d0207black | #fbf9fasnow |
| Primary | #e46ca4palevioletred | #e46ca4palevioletred |
| Primary foreground | #1a050fblack | #1a050fblack |
| Secondary | #6ce4acmediumaquamarine | #6ce4acmediumaquamarine |
| Secondary foreground | #051a10black | #051a10black |
| Muted | #edf7f3whitesmoke | #08120dblack |
| Muted foreground | #454545darkslategray | #bababasilver |
| Accent | #6ce4acmediumaquamarine | #6ce4acmediumaquamarine |
| Accent foreground | #051a10black | #051a10black |
| Destructive | #ce3a0dfirebrick | #f25a2ctomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e46ca4palevioletred | #e46ca4palevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.41:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 6.53:1 | AA |
| Secondary button | 11.49:1 | AAA |
| Muted text | 8.78:1 | AAA |
| Accent | 11.49:1 | AAA |
| Destructive | 4.94:1 | AA |
| Text on background | 19.57:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 6.53:1 | AA |
| Secondary button | 11.49:1 | AAA |
| Muted text | 9.83:1 | AAA |
| Accent | 11.49:1 | AAA |
| Destructive | 6.26:1 | AA |
Paste this into your globals.css to use Cello in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.119 0.03 347.116);
--muted: oklch(0.968 0.012 166.562);
--muted-foreground: oklch(0.39 0 165.964);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.119 0.03 347.116);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.103 0.026 346.551);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.691 0.16 352.851);
--primary-foreground: oklch(0.158 0.043 352.34);
--secondary: oklch(0.835 0.135 161.106);
--secondary-foreground: oklch(0.196 0.035 161.368);
--accent: oklch(0.835 0.135 161.106);
--accent-foreground: oklch(0.196 0.035 161.368);
--destructive: oklch(0.567 0.191 35.241);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.691 0.16 352.851);
--chart-1: oklch(0.691 0.16 352.851);
--chart-2: oklch(0.835 0.135 161.106);
--chart-3: oklch(0.835 0.135 161.106);
--chart-4: oklch(0.848 0.125 161.82);
--chart-5: oklch(0.691 0.166 353.123);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.017 346.679);
--foreground: oklch(0.984 0.002 346.962);
--muted: oklch(0.169 0.018 163.945);
--muted-foreground: oklch(0.789 0 171.254);
--popover: oklch(0.108 0.017 346.679);
--popover-foreground: oklch(0.984 0.002 346.962);
--card: oklch(0.123 0.019 346.833);
--card-foreground: oklch(0.992 0.001 346.934);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.691 0.16 352.851);
--primary-foreground: oklch(0.158 0.043 352.34);
--secondary: oklch(0.835 0.135 161.106);
--secondary-foreground: oklch(0.196 0.035 161.368);
--accent: oklch(0.835 0.135 161.106);
--accent-foreground: oklch(0.196 0.035 161.368);
--destructive: oklch(0.662 0.195 36.779);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.691 0.16 352.851);
--chart-1: oklch(0.691 0.16 352.851);
--chart-2: oklch(0.835 0.135 161.106);
--chart-3: oklch(0.835 0.135 161.106);
--chart-4: oklch(0.848 0.125 161.82);
--chart-5: oklch(0.691 0.166 353.123);
}