Testimonial is a shadcn/ui theme built around a vivid deep teal primary color (#0a856e) with vivid deep cyan accents (#0a5e85). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep teal primary (#0a856e) on a teal-tinted background (#04100e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #04100eblack |
| Foreground | #020d0bblack | #f5faf9mintcream |
| Card | #fcfcfcsnow | #051412black |
| Card foreground | #010908black | #f8fcfbmintcream |
| Popover | #fcfcfcsnow | #051412black |
| Popover foreground | #010908black | #f8fcfbmintcream |
| Primary | #0a856eteal | #0a856eteal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #0a8531forestgreen | #0a8531forestgreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dfe7e1gainsboro | #18201bblack |
| Muted foreground | #404a43darkslategray | #b5bfb8silver |
| Accent | #0a5e85teal | #0a5e85teal |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d12610firebrick | #ee341borangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0a856eteal | #0a856eteal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.71:1 | AAA |
| Text on card | 19.68:1 | AAA |
| Primary button | 4.58:1 | AA |
| Secondary button | 4.77:1 | AA |
| Muted text | 7.31:1 | AAA |
| Accent | 7.12:1 | AAA |
| Destructive | 5.26:1 | AA |
| Text on background | 18.32:1 | AAA |
| Text on card | 18.17:1 | AAA |
| Primary button | 4.58:1 | AA |
| Secondary button | 4.77:1 | AA |
| Muted text | 8.79:1 | AAA |
| Accent | 7.12:1 | AAA |
| Destructive | 4.08:1 | AA Large |
Paste this into your globals.css to use Testimonial in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.147 0.021 182.798);
--muted: oklch(0.92 0.012 156.305);
--muted-foreground: oklch(0.397 0.017 155.71);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.128 0.018 184.015);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.128 0.018 184.015);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.551 0.102 174.931);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.538 0.156 147.142);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.456 0.095 236.49);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.555 0.207 30.956);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.551 0.102 174.931);
--chart-1: oklch(0.551 0.102 174.931);
--chart-2: oklch(0.538 0.156 147.142);
--chart-3: oklch(0.456 0.095 236.49);
--chart-4: oklch(0.579 0.169 147.03);
--chart-5: oklch(0.557 0.104 174.647);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.161 0.02 181.839);
--foreground: oklch(0.981 0.006 184.144);
--muted: oklch(0.234 0.016 155.095);
--muted-foreground: oklch(0.795 0.014 156.208);
--popover: oklch(0.177 0.023 180.88);
--popover-foreground: oklch(0.987 0.004 184.201);
--card: oklch(0.177 0.023 180.88);
--card-foreground: oklch(0.987 0.004 184.201);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.551 0.102 174.931);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.538 0.156 147.142);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.456 0.095 236.49);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.618 0.224 31.033);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.551 0.102 174.931);
--chart-1: oklch(0.551 0.102 174.931);
--chart-2: oklch(0.538 0.156 147.142);
--chart-3: oklch(0.456 0.095 236.49);
--chart-4: oklch(0.579 0.169 147.03);
--chart-5: oklch(0.557 0.104 174.647);
}