jp-color-2 is a shadcn/ui theme built around a teal primary color (#268785) with teal accents (#268785). The light mode uses a neutral background (#f2f2f2). Dark mode keeps the teal primary (#148c6e) on a blue-tinted background (#0b1013).
| Token | Light | Dark |
|---|---|---|
| Background | #f2f2f2whitesmoke | #0b1013black |
| Foreground | #080808black | #f2f2f2whitesmoke |
| Card | #f2f2f2whitesmoke | #0c0c0cblack |
| Card foreground | #080808black | #f2f2f2whitesmoke |
| Popover | #f2f2f2whitesmoke | #1c1c1cblack |
| Popover foreground | #080808black | #fcfaf2floralwhite |
| Primary | #268785darkcyan | #148c6eteal |
| Primary foreground | #f2f2f2whitesmoke | #fcfaf2floralwhite |
| Secondary | #276849darkslategray | #3a9b42seagreen |
| Secondary foreground | #f2f2f2whitesmoke | #fcfaf2floralwhite |
| Muted | #91b493darkseagreen | #646a58dimgray |
| Muted foreground | #526a55dimgray | #b5caa0silver |
| Accent | #268785darkcyan | #148c6eteal |
| Accent foreground | #f2f2f2whitesmoke | #fcfaf2floralwhite |
| Destructive | #c73e3afirebrick | #e83015orangered |
| Destructive foreground | #f2f2f2whitesmoke | #fcfaf2floralwhite |
| Border | #c8c8c8silver | #373c38darkslategray |
| Input | #535953dimgray | #434343darkslategray |
| Ring | #535953dimgray | #373c38darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.88:1 | AAA |
| Text on card | 17.88:1 | AAA |
| Primary button | 3.83:1 | AA Large |
| Secondary button | 5.93:1 | AA |
| Muted text | 2.57:1 | Fail |
| Accent | 3.83:1 | AA Large |
| Destructive | 4.48:1 | AA Large |
| Text on background | 17.08:1 | AAA |
| Text on card | 17.47:1 | AAA |
| Primary button | 4.01:1 | AA Large |
| Secondary button | 3.37:1 | AA Large |
| Muted text | 3.18:1 | AA Large |
| Accent | 4.01:1 | AA Large |
| Destructive | 4.13:1 | AA Large |
Paste this into your globals.css to use jp-color-2 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.961 0 180);
--foreground: oklch(0.134 0 180);
--muted: oklch(0.735 0.06 146.431);
--muted-foreground: oklch(0.498 0.044 148.53);
--popover: oklch(0.961 0 180);
--popover-foreground: oklch(0.134 0 180);
--card: oklch(0.961 0 180);
--card-foreground: oklch(0.134 0 180);
--border: oklch(0.833 0 180);
--input: oklch(0.457 0.012 145.372);
--primary: oklch(0.569 0.087 192.955);
--primary-foreground: oklch(0.961 0 180);
--secondary: oklch(0.466 0.083 159.988);
--secondary-foreground: oklch(0.961 0 180);
--accent: oklch(0.569 0.087 192.955);
--accent-foreground: oklch(0.961 0 180);
--destructive: oklch(0.562 0.174 26.142);
--destructive-foreground: oklch(0.961 0 180);
--ring: oklch(0.457 0.012 145.372);
--chart-1: oklch(0.569 0.087 192.955);
--chart-2: oklch(0.466 0.083 159.988);
--chart-3: oklch(0.569 0.087 192.955);
--chart-4: oklch(0.501 0.09 159.884);
--chart-5: oklch(0.576 0.089 192.882);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.169 0.01 234.526);
--foreground: oklch(0.961 0 180);
--muted: oklch(0.514 0.029 122.4);
--muted-foreground: oklch(0.812 0.062 129.344);
--popover: oklch(0.226 0 180);
--popover-foreground: oklch(0.984 0.011 95.161);
--card: oklch(0.154 0 153.435);
--card-foreground: oklch(0.961 0 180);
--border: oklch(0.35 0.01 151.588);
--input: oklch(0.383 0 180);
--primary: oklch(0.571 0.109 170.074);
--primary-foreground: oklch(0.984 0.011 95.161);
--secondary: oklch(0.612 0.156 144.623);
--secondary-foreground: oklch(0.984 0.011 95.161);
--accent: oklch(0.571 0.109 170.074);
--accent-foreground: oklch(0.984 0.011 95.161);
--destructive: oklch(0.604 0.221 31.331);
--destructive-foreground: oklch(0.984 0.011 95.161);
--ring: oklch(0.35 0.01 151.588);
--chart-1: oklch(0.571 0.109 170.074);
--chart-2: oklch(0.612 0.156 144.623);
--chart-3: oklch(0.571 0.109 170.074);
--chart-4: oklch(0.644 0.165 144.604);
--chart-5: oklch(0.578 0.111 169.717);
}