Inclusion is a shadcn/ui theme built around a teal primary color (#57d69b) with muted light teal accents (#cad3cf). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#57d69b) on a teal-tinted background (#040b08).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040b08black |
| Foreground | #020805black | #f9fbfamintcream |
| Card | #ffffffwhite | #040b08black |
| Card foreground | #020805black | #f9fbfamintcream |
| Popover | #ffffffwhite | #040b08black |
| Popover foreground | #020805black | #f9fbfamintcream |
| Primary | #57d69bmediumaquamarine | #57d69bmediumaquamarine |
| Primary foreground | #000000black | #000000black |
| Secondary | #cad3cflightgrey | #23342cdarkslategray |
| Secondary foreground | #313a36darkslategray | #b9cfc5silver |
| Muted | #ecf3f0whitesmoke | #0c1310black |
| Muted foreground | #596e64dimgray | #91a69cdarkseagreen |
| Accent | #cad3cflightgrey | #23342cdarkslategray |
| Accent foreground | #313a36darkslategray | #b9cfc5silver |
| Destructive | #b3270ffirebrick | #d93012firebrick |
| Destructive foreground | #fef7f6snow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #57d69bmediumaquamarine | #57d69bmediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 11.51:1 | AAA |
| Secondary button | 7.67:1 | AAA |
| Muted text | 4.86:1 | AA |
| Accent | 7.67:1 | AAA |
| Destructive | 6.15:1 | AA |
| Text on background | 19.10:1 | AAA |
| Text on card | 19.10:1 | AAA |
| Primary button | 11.51:1 | AAA |
| Secondary button | 8.03:1 | AAA |
| Muted text | 7.29:1 | AAA |
| Accent | 8.03:1 | AAA |
| Destructive | 4.80:1 | AA |
Paste this into your globals.css to use Inclusion in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.124 0.016 167.107);
--muted: oklch(0.959 0.009 166.65);
--muted-foreground: oklch(0.519 0.031 165.194);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.124 0.016 167.107);
--card: oklch(1 0 180);
--card-foreground: oklch(0.124 0.016 167.107);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.79 0.143 160.08);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.859 0.011 166.556);
--secondary-foreground: oklch(0.339 0.015 165.64);
--accent: oklch(0.859 0.011 166.556);
--accent-foreground: oklch(0.339 0.015 165.64);
--destructive: oklch(0.502 0.179 32.099);
--destructive-foreground: oklch(0.981 0.008 29.496);
--ring: oklch(0.79 0.143 160.08);
--chart-1: oklch(0.79 0.143 160.08);
--chart-2: oklch(0.859 0.011 166.556);
--chart-3: oklch(0.859 0.011 166.556);
--chart-4: oklch(0.881 0.009 166.621);
--chart-5: oklch(0.797 0.148 159.756);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.016 166.898);
--foreground: oklch(0.986 0.002 166.862);
--muted: oklch(0.178 0.013 164.682);
--muted-foreground: oklch(0.707 0.029 165.761);
--popover: oklch(0.141 0.016 166.898);
--popover-foreground: oklch(0.986 0.002 166.862);
--card: oklch(0.141 0.016 166.898);
--card-foreground: oklch(0.986 0.002 166.862);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.79 0.143 160.08);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.306 0.026 164.356);
--secondary-foreground: oklch(0.836 0.028 165.966);
--accent: oklch(0.306 0.026 164.356);
--accent-foreground: oklch(0.836 0.028 165.966);
--destructive: oklch(0.577 0.209 32.019);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.79 0.143 160.08);
--chart-1: oklch(0.79 0.143 160.08);
--chart-2: oklch(0.306 0.026 164.356);
--chart-3: oklch(0.306 0.026 164.356);
--chart-4: oklch(0.339 0.03 164.259);
--chart-5: oklch(0.797 0.148 159.756);
}