Tissue is a shadcn/ui theme built around a light cyan primary color (#ecf7f9) with near-white accents (#ebebeb). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the light cyan primary (#ecf7f9) on a cyan-tinted background (#050a0a).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #050a0ablack |
| Foreground | #061113black | #fcfdfdwhite |
| Card | #f8fcfcmintcream | #060d0eblack |
| Card foreground | #050e10black | #ffffffwhite |
| Popover | #f8fcfcmintcream | #060d0eblack |
| Popover foreground | #050e10black | #ffffffwhite |
| Primary | #ecf7f9aliceblue | #ecf7f9aliceblue |
| Primary foreground | #13343adarkslategray | #13343adarkslategray |
| Secondary | #ebebeblinen | #2d3334darkslategray |
| Secondary foreground | #525252darkslategray | #c5cccelightgrey |
| Muted | #ece9e9linen | #131616black |
| Muted foreground | #403f3fdarkslategray | #bfc0c0silver |
| Accent | #ebebeblinen | #2d3334darkslategray |
| Accent foreground | #525252darkslategray | #c5cccelightgrey |
| Destructive | #652306maroon | #dd4c0echocolate |
| Destructive foreground | #f9bda4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ecf7f9aliceblue | #ecf7f9aliceblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.79:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 12.15:1 | AAA |
| Secondary button | 6.53:1 | AA |
| Muted text | 8.69:1 | AAA |
| Accent | 6.53:1 | AA |
| Destructive | 7.17:1 | AAA |
| Text on background | 19.57:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 12.15:1 | AAA |
| Secondary button | 7.88:1 | AAA |
| Muted text | 10.01:1 | AAA |
| Accent | 7.88:1 | AAA |
| Destructive | 4.11:1 | AA Large |
Paste this into your globals.css to use Tissue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 209.462);
--foreground: oklch(0.169 0.018 209.362);
--muted: oklch(0.936 0.004 17.22);
--muted-foreground: oklch(0.369 0.002 17.236);
--popover: oklch(0.987 0.004 209.457);
--popover-foreground: oklch(0.154 0.015 208.481);
--card: oklch(0.987 0.004 209.457);
--card-foreground: oklch(0.154 0.015 208.481);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.968 0.012 209.44);
--primary-foreground: oklch(0.303 0.04 210.77);
--secondary: oklch(0.939 0 180);
--secondary-foreground: oklch(0.437 0 180);
--accent: oklch(0.939 0 180);
--accent-foreground: oklch(0.437 0 180);
--destructive: oklch(0.351 0.102 40.399);
--destructive-foreground: oklch(0.848 0.078 44.268);
--ring: oklch(0.968 0.012 209.44);
--chart-1: oklch(0.968 0.012 209.44);
--chart-2: oklch(0.939 0 180);
--chart-3: oklch(0.939 0 180);
--chart-4: oklch(0.962 0 180);
--chart-5: oklch(0.968 0.013 209.439);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.01 207.147);
--foreground: oklch(0.993 0 209.467);
--muted: oklch(0.195 0.004 209.43);
--muted-foreground: oklch(0.806 0.001 209.464);
--popover: oklch(0.152 0.011 208.723);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.152 0.011 208.723);
--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.968 0.012 209.44);
--primary-foreground: oklch(0.303 0.04 210.77);
--secondary: oklch(0.316 0.009 209.43);
--secondary-foreground: oklch(0.841 0.008 209.445);
--accent: oklch(0.316 0.009 209.43);
--accent-foreground: oklch(0.841 0.008 209.445);
--destructive: oklch(0.61 0.191 38.795);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.968 0.012 209.44);
--chart-1: oklch(0.968 0.012 209.44);
--chart-2: oklch(0.316 0.009 209.43);
--chart-3: oklch(0.316 0.009 209.43);
--chart-4: oklch(0.347 0.011 209.431);
--chart-5: oklch(0.968 0.013 209.439);
}