Feedback is a shadcn/ui theme built around a vivid deep teal primary color (#077e48) with muted light teal accents (#c8dad2). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the vivid deep teal primary (#077e48) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #000000black |
| Foreground | #03170eblack | #ffffffwhite |
| Card | #f4faf8mintcream | #030303black |
| Card foreground | #02120bblack | #ffffffwhite |
| Popover | #f8fcfamintcream | #000000black |
| Popover foreground | #03170eblack | #ffffffwhite |
| Primary | #077e48seagreen | #077e48seagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c8dad2lightgrey | #1d2522black |
| Secondary foreground | #2d4339darkslategray | #b1c3bbsilver |
| Muted | #d7e5dfgainsboro | #1a2822black |
| Muted foreground | #515252darkslategray | #adaeaddarkgray |
| Accent | #c8dad2lightgrey | #1d2522black |
| Accent foreground | #2d4339darkslategray | #b1c3bbsilver |
| Destructive | #741f0bmaroon | #d13715firebrick |
| Destructive foreground | #f8c5b9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #077e48seagreen | #077e48seagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.90:1 | AAA |
| Text on card | 18.21:1 | AAA |
| Primary button | 5.13:1 | AA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 6.03:1 | AA |
| Accent | 7.31:1 | AAA |
| Destructive | 7.04:1 | AAA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 5.13:1 | AA |
| Secondary button | 8.47:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 8.47:1 | AAA |
| Destructive | 4.92:1 | AA |
Paste this into your globals.css to use Feedback in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 167.678);
--foreground: oklch(0.182 0.033 163.034);
--muted: oklch(0.91 0.018 167.26);
--muted-foreground: oklch(0.438 0.002 167.66);
--popover: oklch(0.987 0.005 167.678);
--popover-foreground: oklch(0.182 0.033 163.034);
--card: oklch(0.981 0.007 167.608);
--card-foreground: oklch(0.164 0.029 164.822);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.522 0.126 155.38);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.873 0.023 167.077);
--secondary-foreground: oklch(0.362 0.033 164.956);
--accent: oklch(0.873 0.023 167.077);
--accent-foreground: oklch(0.362 0.033 164.956);
--destructive: oklch(0.375 0.122 33.815);
--destructive-foreground: oklch(0.865 0.061 32.855);
--ring: oklch(0.522 0.126 155.38);
--chart-1: oklch(0.522 0.126 155.38);
--chart-2: oklch(0.873 0.023 167.077);
--chart-3: oklch(0.873 0.023 167.077);
--chart-4: oklch(0.894 0.019 167.22);
--chart-5: oklch(0.527 0.129 155.059);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.263 0.023 165.052);
--muted-foreground: oklch(0.75 0.002 167.734);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.522 0.126 155.38);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.257 0.014 166.181);
--secondary-foreground: oklch(0.801 0.023 167.013);
--accent: oklch(0.257 0.014 166.181);
--accent-foreground: oklch(0.801 0.023 167.013);
--destructive: oklch(0.569 0.195 33.467);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.522 0.126 155.38);
--chart-1: oklch(0.522 0.126 155.38);
--chart-2: oklch(0.257 0.014 166.181);
--chart-3: oklch(0.257 0.014 166.181);
--chart-4: oklch(0.29 0.017 166.084);
--chart-5: oklch(0.527 0.129 155.059);
}