Strident is a shadcn/ui theme built around a vivid light teal primary color (#99f6fa) with vivid light red accents (#fa9c99). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#99f6fa) on a teal-tinted background (#040b0b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040b0bblack |
| Foreground | #020d0dblack | #f9fbfbghostwhite |
| Card | #ffffffwhite | #040b0bblack |
| Card foreground | #020d0dblack | #f9fbfbghostwhite |
| Popover | #ffffffwhite | #040b0bblack |
| Popover foreground | #020d0dblack | #f9fbfbghostwhite |
| Primary | #99f6fapaleturquoise | #99f6fapaleturquoise |
| Primary foreground | #05595cdarkslategray | #05595cdarkslategray |
| Secondary | #fa9c99lightsalmon | #fa9c99lightsalmon |
| Secondary foreground | #5c0805maroon | #5c0805maroon |
| Muted | #f5f0f0whitesmoke | #0f0a0ablack |
| Muted foreground | #4d4242darkslategray | #bdb2b2silver |
| Accent | #fa9c99lightsalmon | #fa9c99lightsalmon |
| Accent foreground | #5c0805maroon | #5c0805maroon |
| Destructive | #680b03maroon | #f9311forangered |
| Destructive foreground | #fda8a1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #99f6fapaleturquoise | #99f6fapaleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.70:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 6.90:1 | AA |
| Muted text | 8.54:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 6.87:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 6.90:1 | AA |
| Muted text | 9.50:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Strident in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.146 0.02 197.575);
--muted: oklch(0.959 0.005 19.683);
--muted-foreground: oklch(0.391 0.015 20.181);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.146 0.02 197.575);
--card: oklch(1 0 180);
--card-foreground: oklch(0.146 0.02 197.575);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.918 0.089 198.538);
--primary-foreground: oklch(0.423 0.07 198.761);
--secondary: oklch(0.788 0.112 22.052);
--secondary-foreground: oklch(0.305 0.116 29.036);
--accent: oklch(0.788 0.112 22.052);
--accent-foreground: oklch(0.305 0.116 29.036);
--destructive: oklch(0.333 0.127 30.662);
--destructive-foreground: oklch(0.813 0.101 25.226);
--ring: oklch(0.918 0.089 198.538);
--chart-1: oklch(0.918 0.089 198.538);
--chart-2: oklch(0.788 0.112 22.052);
--chart-3: oklch(0.788 0.112 22.052);
--chart-4: oklch(0.816 0.095 21.526);
--chart-5: oklch(0.921 0.091 198.521);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.013 198.09);
--foreground: oklch(0.987 0.003 199.569);
--muted: oklch(0.153 0.009 20.444);
--muted-foreground: oklch(0.774 0.013 19.838);
--popover: oklch(0.141 0.013 198.09);
--popover-foreground: oklch(0.987 0.003 199.569);
--card: oklch(0.141 0.013 198.09);
--card-foreground: oklch(0.987 0.003 199.569);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.918 0.089 198.538);
--primary-foreground: oklch(0.423 0.07 198.761);
--secondary: oklch(0.788 0.112 22.052);
--secondary-foreground: oklch(0.305 0.116 29.036);
--accent: oklch(0.788 0.112 22.052);
--accent-foreground: oklch(0.305 0.116 29.036);
--destructive: oklch(0.636 0.235 30.013);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.918 0.089 198.538);
--chart-1: oklch(0.918 0.089 198.538);
--chart-2: oklch(0.788 0.112 22.052);
--chart-3: oklch(0.788 0.112 22.052);
--chart-4: oklch(0.816 0.095 21.526);
--chart-5: oklch(0.921 0.091 198.521);
}