Tape is a shadcn/ui theme built around a light green primary color (#e0f2a1) with muted light green accents (#e8e9e2). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#e0f2a1) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030401black |
| Foreground | #111406black | #fdfdfbsnow |
| Card | #fcfcfcsnow | #060703black |
| Card foreground | #0d1005black | #ffffffwhite |
| Popover | #ffffffwhite | #030401black |
| Popover foreground | #111406black | #fdfdfbsnow |
| Primary | #e0f2a1palegoldenrod | #e0f2a1palegoldenrod |
| Primary foreground | #45550cdarkolivegreen | #45550cdarkolivegreen |
| Secondary | #e8e9e2gainsboro | #23251eblack |
| Secondary foreground | #535742darkolivegreen | #bec2b3silver |
| Muted | #e4e6dbgainsboro | #222419black |
| Muted foreground | #41423ddarkslategray | #c1c2bdsilver |
| Accent | #e8e9e2gainsboro | #23251eblack |
| Accent foreground | #535742darkolivegreen | #bec2b3silver |
| Destructive | #d32b0dfirebrick | #f13d1eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e0f2a1palegoldenrod | #e0f2a1palegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.64:1 | AAA |
| Text on card | 18.79:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 6.11:1 | AA |
| Muted text | 8.02:1 | AAA |
| Accent | 6.11:1 | AA |
| Destructive | 5.09:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.15:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 8.54:1 | AAA |
| Muted text | 8.77:1 | AAA |
| Accent | 8.54:1 | AAA |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Tape in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.182 0.028 118.818);
--muted: oklch(0.92 0.015 116.625);
--muted-foreground: oklch(0.377 0.009 116.745);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.182 0.028 118.818);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.165 0.024 118.168);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.929 0.104 118.426);
--primary-foreground: oklch(0.421 0.095 121.752);
--secondary: oklch(0.931 0.01 116.519);
--secondary-foreground: oklch(0.447 0.034 117.727);
--accent: oklch(0.931 0.01 116.519);
--accent-foreground: oklch(0.447 0.034 117.727);
--destructive: oklch(0.562 0.206 31.896);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.929 0.104 118.426);
--chart-1: oklch(0.929 0.104 118.426);
--chart-2: oklch(0.931 0.01 116.519);
--chart-3: oklch(0.931 0.01 116.519);
--chart-4: oklch(0.952 0.007 116.459);
--chart-5: oklch(0.932 0.108 118.499);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.012 116.704);
--foreground: oklch(0.994 0.003 116.379);
--muted: oklch(0.255 0.02 117.782);
--muted-foreground: oklch(0.811 0.007 116.49);
--popover: oklch(0.101 0.012 116.704);
--popover-foreground: oklch(0.994 0.003 116.379);
--card: oklch(0.127 0.015 116.704);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.929 0.104 118.426);
--primary-foreground: oklch(0.421 0.095 121.752);
--secondary: oklch(0.259 0.013 117.273);
--secondary-foreground: oklch(0.806 0.021 116.807);
--accent: oklch(0.259 0.013 117.273);
--accent-foreground: oklch(0.806 0.021 116.807);
--destructive: oklch(0.63 0.22 32.237);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.929 0.104 118.426);
--chart-1: oklch(0.929 0.104 118.426);
--chart-2: oklch(0.259 0.013 117.273);
--chart-3: oklch(0.259 0.013 117.273);
--chart-4: oklch(0.293 0.016 117.325);
--chart-5: oklch(0.932 0.108 118.499);
}