Internal is a shadcn/ui theme built around a muted green primary color (#6b8571) with muted light green accents (#c6d2c9). The light mode uses a neutral background (#f7fcf9). Dark mode keeps the muted green primary (#6b8571) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcf9mintcream | #000000black |
| Foreground | #061309black | #f5faf6whitesmoke |
| Card | #f4fbf5whitesmoke | #030303black |
| Card foreground | #050f08black | #f8fcf9mintcream |
| Popover | #f4fbf5whitesmoke | #030303black |
| Popover foreground | #050f08black | #f8fcf9mintcream |
| Primary | #6b8571gray | #6b8571gray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c6d2c9lightgrey | #1f2921black |
| Secondary foreground | #2d3930darkslategray | #b3c6b8silver |
| Muted | #d0e1d5lightgrey | #1e2f22darkslategray |
| Muted foreground | #59735fdimgray | #8ca692darkseagreen |
| Accent | #c6d2c9lightgrey | #1f2921black |
| Accent foreground | #2d3930darkslategray | #b3c6b8silver |
| Destructive | #642607maroon | #ee6520chocolate |
| Destructive foreground | #f8c1a5lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6b8571gray | #6b8571gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.38:1 | AAA |
| Text on card | 18.51:1 | AAA |
| Primary button | 4.02:1 | AA Large |
| Secondary button | 7.74:1 | AAA |
| Muted text | 3.81:1 | AA Large |
| Accent | 7.74:1 | AAA |
| Destructive | 7.23:1 | AAA |
| Text on background | 19.88:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 4.02:1 | AA Large |
| Secondary button | 8.39:1 | AAA |
| Muted text | 5.39:1 | AA |
| Accent | 8.39:1 | AAA |
| Destructive | 6.51:1 | AA |
Paste this into your globals.css to use Internal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.007 153.753);
--foreground: oklch(0.172 0.028 151.49);
--muted: oklch(0.894 0.025 153.398);
--muted-foreground: oklch(0.529 0.044 152.371);
--popover: oklch(0.981 0.011 153.689);
--popover-foreground: oklch(0.156 0.024 152.446);
--card: oklch(0.981 0.011 153.689);
--card-foreground: oklch(0.156 0.024 152.446);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.59 0.043 152.58);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.852 0.018 153.509);
--secondary-foreground: oklch(0.331 0.023 152.637);
--accent: oklch(0.852 0.018 153.509);
--accent-foreground: oklch(0.331 0.023 152.637);
--destructive: oklch(0.355 0.097 42.996);
--destructive-foreground: oklch(0.853 0.074 47.829);
--ring: oklch(0.59 0.043 152.58);
--chart-1: oklch(0.59 0.043 152.58);
--chart-2: oklch(0.852 0.018 153.509);
--chart-3: oklch(0.852 0.018 153.509);
--chart-4: oklch(0.875 0.015 153.575);
--chart-5: oklch(0.596 0.054 152.225);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.98 0.007 153.755);
--muted: oklch(0.285 0.032 151.756);
--muted-foreground: oklch(0.7 0.041 152.832);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.987 0.005 153.796);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.987 0.005 153.796);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.59 0.043 152.58);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.267 0.02 152.553);
--secondary-foreground: oklch(0.808 0.028 153.276);
--accent: oklch(0.267 0.02 152.553);
--accent-foreground: oklch(0.808 0.028 153.276);
--destructive: oklch(0.67 0.185 42.759);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.59 0.043 152.58);
--chart-1: oklch(0.59 0.043 152.58);
--chart-2: oklch(0.267 0.02 152.553);
--chart-3: oklch(0.267 0.02 152.553);
--chart-4: oklch(0.3 0.023 152.483);
--chart-5: oklch(0.596 0.054 152.225);
}