nyotah-playground is a shadcn/ui theme built around a deep teal primary color (#167f71) with vivid light teal accents (#94f2e6). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#167f71) on a neutral background (#040608).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040608black |
| Foreground | #475569darkslategray | #f8fafcghostwhite |
| Card | #f1f5f9whitesmoke | #0c1016black |
| Card foreground | #475569darkslategray | #fcfcfdwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #475569darkslategray | #f8fafcghostwhite |
| Primary | #167f71teal | #167f71teal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ef6e11chocolate | #ef6e11chocolate |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e6eaeflavender | #495868dimgray |
| Muted foreground | #525b66dimgray | #98aec6darkgray |
| Accent | #94f2e6paleturquoise | #0b413adarkslategray |
| Accent foreground | #49515adarkslategray | #bcc2c7silver |
| Destructive | #ff0057crimson | #ff0057crimson |
| Destructive foreground | #ffe5eemistyrose | #ffa4c3lightpink |
| Border | #e0e6eelavender | #1e2125black |
| Input | #f1f2f4whitesmoke | #1e2125black |
| Ring | #167f71teal | #167f71teal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 7.57:1 | AAA |
| Text on card | 6.91:1 | AA |
| Primary button | 4.87:1 | AA |
| Secondary button | 3.03:1 | AA Large |
| Muted text | 5.69:1 | AA |
| Accent | 6.18:1 | AA |
| Destructive | 3.28:1 | AA Large |
| Text on background | 19.42:1 | AAA |
| Text on card | 18.64:1 | AAA |
| Primary button | 4.87:1 | AA |
| Secondary button | 3.03:1 | AA Large |
| Muted text | 3.18:1 | AA Large |
| Accent | 6.40:1 | AA |
| Destructive | 2.10:1 | Fail |
Paste this into your globals.css to use nyotah-playground in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.446 0.037 257.275);
--muted: oklch(0.935 0.009 255.495);
--muted-foreground: oklch(0.468 0.021 250.043);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.446 0.037 257.275);
--card: oklch(0.968 0.007 247.896);
--card-foreground: oklch(0.446 0.037 257.275);
--border: oklch(0.923 0.013 255.516);
--input: oklch(0.961 0.002 249.674);
--primary: oklch(0.538 0.092 181.106);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.683 0.182 47.896);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.9 0.092 185.211);
--accent-foreground: oklch(0.432 0.017 250.003);
--destructive: oklch(0.636 0.254 14.898);
--destructive-foreground: oklch(0.946 0.03 355.044);
--ring: oklch(0.538 0.092 181.106);
--chart-1: oklch(0.538 0.092 181.106);
--chart-2: oklch(0.683 0.182 47.896);
--chart-3: oklch(0.9 0.092 185.211);
--chart-4: oklch(0.698 0.174 49.915);
--chart-5: oklch(0.544 0.094 180.863);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.007 252.847);
--foreground: oklch(0.984 0.003 249.681);
--muted: oklch(0.455 0.032 250.254);
--muted-foreground: oklch(0.743 0.042 250.147);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.984 0.003 249.681);
--card: oklch(0.17 0.014 257.274);
--card-foreground: oklch(0.992 0.002 249.666);
--border: oklch(0.246 0.009 249.971);
--input: oklch(0.246 0.009 249.971);
--primary: oklch(0.538 0.092 181.106);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.683 0.182 47.896);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.339 0.055 181.831);
--accent-foreground: oklch(0.81 0.01 249.764);
--destructive: oklch(0.636 0.254 15.006);
--destructive-foreground: oklch(0.818 0.113 357.874);
--ring: oklch(0.538 0.092 181.106);
--chart-1: oklch(0.538 0.092 181.106);
--chart-2: oklch(0.683 0.182 47.896);
--chart-3: oklch(0.339 0.055 181.831);
--chart-4: oklch(0.698 0.174 49.915);
--chart-5: oklch(0.544 0.094 180.863);
}