Cue is a shadcn/ui theme built around a muted green primary color (#90a76c) with muted light green accents (#d8ddcf). The light mode uses a neutral background (#fdfefb). Dark mode keeps the muted green primary (#90a76c) on a green-tinted background (#080a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #080a05black |
| Foreground | #000000black | #f8f9f6whitesmoke |
| Card | #fbfdf7snow | #0b0d07black |
| Card foreground | #000000black | #fafbf9snow |
| Popover | #fbfdf7snow | #0b0d07black |
| Popover foreground | #000000black | #fafbf9snow |
| Primary | #90a76cdarkseagreen | #90a76cdarkseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #ebede8linen | #171717black |
| Secondary foreground | #535b49darkolivegreen | #b0b1afdarkgray |
| Muted | #e6e7e4gainsboro | #1a1b18black |
| Muted foreground | #4e5346darkslategray | #b4b9acdarkgray |
| Accent | #d8ddcflightgrey | #2c2f28darkslategray |
| Accent foreground | #3f4833darkslategray | #c5c9c0silver |
| Destructive | #882102darkred | #fb4d18orangered |
| Destructive foreground | #fecdbepeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #90a76cdarkseagreen | #90a76cdarkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.74:1 | AAA |
| Text on card | 20.48:1 | AAA |
| Primary button | 7.92:1 | AAA |
| Secondary button | 6.01:1 | AA |
| Muted text | 6.39:1 | AA |
| Accent | 6.93:1 | AA |
| Destructive | 6.49:1 | AA |
| Text on background | 18.81:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 7.92:1 | AAA |
| Secondary button | 8.31:1 | AAA |
| Muted text | 8.61:1 | AAA |
| Accent | 8.10:1 | AAA |
| Destructive | 3.38:1 | AA Large |
Paste this into your globals.css to use Cue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 124.409);
--foreground: oklch(0 0 0);
--muted: oklch(0.927 0.005 124.422);
--muted-foreground: oklch(0.434 0.023 125.123);
--popover: oklch(0.991 0.009 124.473);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.009 124.473);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.696 0.085 126.243);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.943 0.006 124.44);
--secondary-foreground: oklch(0.458 0.03 125.298);
--accent: oklch(0.89 0.02 124.663);
--accent-foreground: oklch(0.386 0.036 125.727);
--destructive: oklch(0.414 0.142 35.306);
--destructive-foreground: oklch(0.886 0.06 37.592);
--ring: oklch(0.696 0.085 126.243);
--chart-1: oklch(0.696 0.085 126.243);
--chart-2: oklch(0.943 0.006 124.44);
--chart-3: oklch(0.89 0.02 124.663);
--chart-4: oklch(0.964 0.004 124.403);
--chart-5: oklch(0.704 0.095 126.458);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.012 123.943);
--foreground: oklch(0.98 0.004 124.404);
--muted: oklch(0.22 0.007 124.814);
--muted-foreground: oklch(0.779 0.02 124.718);
--popover: oklch(0.155 0.014 124.959);
--popover-foreground: oklch(0.987 0.003 124.384);
--card: oklch(0.155 0.014 124.959);
--card-foreground: oklch(0.987 0.003 124.384);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.696 0.085 126.243);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.205 0.001 124.411);
--secondary-foreground: oklch(0.759 0.002 124.389);
--accent: oklch(0.299 0.013 124.968);
--accent-foreground: oklch(0.83 0.013 124.579);
--destructive: oklch(0.663 0.219 35.602);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.696 0.085 126.243);
--chart-1: oklch(0.696 0.085 126.243);
--chart-2: oklch(0.205 0.001 124.411);
--chart-3: oklch(0.299 0.013 124.968);
--chart-4: oklch(0.238 0.001 124.417);
--chart-5: oklch(0.704 0.095 126.458);
}