Speaking is a shadcn/ui theme built around a muted cyan primary color (#8db7bf) with muted blue accents (#8d9ebf). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted cyan primary (#8db7bf) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #000000black |
| Foreground | #031417black | #f7f8f8whitesmoke |
| Card | #f7fcfdghostwhite | #030303black |
| Card foreground | #021012black | #f9fafaghostwhite |
| Popover | #f7fcfdghostwhite | #030303black |
| Popover foreground | #021012black | #f9fafaghostwhite |
| Primary | #8db7bfdarkgray | #8db7bfdarkgray |
| Primary foreground | #090f10black | #090f10black |
| Secondary | #8dbfaddarkseagreen | #8dbfaddarkseagreen |
| Secondary foreground | #09100eblack | #09100eblack |
| Muted | #cee4dcgainsboro | #1b312adarkslategray |
| Muted foreground | #46534fdarkslategray | #acb9b5darkgray |
| Accent | #8d9ebfdarkgray | #8d9ebfdarkgray |
| Accent foreground | #090c10black | #090c10black |
| Destructive | #d15005chocolate | #e55806orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8db7bfdarkgray | #8db7bfdarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.48:1 | AAA |
| Text on card | 18.68:1 | AAA |
| Primary button | 8.89:1 | AAA |
| Secondary button | 9.30:1 | AAA |
| Muted text | 6.02:1 | AA |
| Accent | 7.26:1 | AAA |
| Destructive | 4.32:1 | AA Large |
| Text on background | 19.73:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 8.89:1 | AAA |
| Secondary button | 9.30:1 | AAA |
| Muted text | 6.79:1 | AA |
| Accent | 7.26:1 | AAA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Speaking in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 209.461);
--foreground: oklch(0.177 0.026 209.278);
--muted: oklch(0.9 0.026 172.716);
--muted-foreground: oklch(0.43 0.019 172.219);
--popover: oklch(0.987 0.005 209.454);
--popover-foreground: oklch(0.16 0.023 208.168);
--card: oklch(0.987 0.005 209.454);
--card-foreground: oklch(0.16 0.023 208.168);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.752 0.047 209.531);
--primary-foreground: oklch(0.164 0.01 209.479);
--secondary: oklch(0.764 0.058 171.109);
--secondary-foreground: oklch(0.166 0.012 171.259);
--accent: oklch(0.698 0.052 262.764);
--accent-foreground: oklch(0.152 0.011 262.635);
--destructive: oklch(0.596 0.177 42.269);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.752 0.047 209.531);
--chart-1: oklch(0.752 0.047 209.531);
--chart-2: oklch(0.764 0.058 171.109);
--chart-3: oklch(0.698 0.052 262.764);
--chart-4: oklch(0.784 0.053 171.41);
--chart-5: oklch(0.756 0.051 209.569);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.978 0.001 209.464);
--muted: oklch(0.293 0.032 169.828);
--muted-foreground: oklch(0.775 0.017 172.935);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.985 0.001 209.466);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.985 0.001 209.466);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.752 0.047 209.531);
--primary-foreground: oklch(0.164 0.01 209.479);
--secondary: oklch(0.764 0.058 171.109);
--secondary-foreground: oklch(0.166 0.012 171.259);
--accent: oklch(0.698 0.052 262.764);
--accent-foreground: oklch(0.152 0.011 262.635);
--destructive: oklch(0.637 0.19 42.061);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.752 0.047 209.531);
--chart-1: oklch(0.752 0.047 209.531);
--chart-2: oklch(0.764 0.058 171.109);
--chart-3: oklch(0.698 0.052 262.764);
--chart-4: oklch(0.784 0.053 171.41);
--chart-5: oklch(0.756 0.051 209.569);
}