Listening is a shadcn/ui theme built around a vivid green primary color (#59e89e) with vivid orange accents (#e89e59). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the vivid green primary (#59e89e) on a green-tinted background (#030c08).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #030c08black |
| Foreground | #010402black | #ffffffwhite |
| Card | #fcfdfcwhite | #030c08black |
| Card foreground | #010402black | #ffffffwhite |
| Popover | #fcfdfcwhite | #030c08black |
| Popover foreground | #010402black | #ffffffwhite |
| Primary | #59e89emediumaquamarine | #59e89emediumaquamarine |
| Primary foreground | #020d07black | #020d07black |
| Secondary | #9e59e8mediumpurple | #9e59e8mediumpurple |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e8e3edlavender | #17121cblack |
| Muted foreground | #474748darkslategray | #b8b7b8silver |
| Accent | #e89e59sandybrown | #e89e59sandybrown |
| Accent foreground | #0d0702black | #0d0702black |
| Destructive | #bd0900firebrick | #ff2a1forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #59e89emediumaquamarine | #59e89emediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 12.69:1 | AAA |
| Secondary button | 4.15:1 | AA Large |
| Muted text | 7.34:1 | AAA |
| Accent | 9.05:1 | AAA |
| Destructive | 6.56:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 12.69:1 | AAA |
| Secondary button | 4.15:1 | AA Large |
| Muted text | 9.23:1 | AAA |
| Accent | 9.05:1 | AAA |
| Destructive | 3.74:1 | AA Large |
Paste this into your globals.css to use Listening in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 164.227);
--foreground: oklch(0.099 0.014 164.404);
--muted: oklch(0.922 0.015 307.597);
--muted-foreground: oklch(0.398 0.003 307.715);
--popover: oklch(0.993 0.002 164.227);
--popover-foreground: oklch(0.099 0.014 164.404);
--card: oklch(0.993 0.002 164.227);
--card-foreground: oklch(0.099 0.014 164.404);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.836 0.163 157.248);
--primary-foreground: oklch(0.145 0.025 163.674);
--secondary: oklch(0.611 0.21 302.92);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.759 0.123 62.25);
--accent-foreground: oklch(0.137 0.021 75.753);
--destructive: oklch(0.503 0.203 29.801);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.836 0.163 157.248);
--chart-1: oklch(0.836 0.163 157.248);
--chart-2: oklch(0.611 0.21 302.92);
--chart-3: oklch(0.759 0.123 62.25);
--chart-4: oklch(0.64 0.194 303.689);
--chart-5: oklch(0.842 0.168 156.983);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.019 164.085);
--foreground: oklch(1 0 180);
--muted: oklch(0.192 0.022 306.425);
--muted-foreground: oklch(0.78 0.002 307.757);
--popover: oklch(0.142 0.019 164.085);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.142 0.019 164.085);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.836 0.163 157.248);
--primary-foreground: oklch(0.145 0.025 163.674);
--secondary: oklch(0.611 0.21 302.92);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.759 0.123 62.25);
--accent-foreground: oklch(0.137 0.021 75.753);
--destructive: oklch(0.642 0.244 29.195);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.836 0.163 157.248);
--chart-1: oklch(0.836 0.163 157.248);
--chart-2: oklch(0.611 0.21 302.92);
--chart-3: oklch(0.759 0.123 62.25);
--chart-4: oklch(0.64 0.194 303.689);
--chart-5: oklch(0.842 0.168 156.983);
}