Visible is a shadcn/ui theme built around a muted teal primary color (#b3ccc5) with muted yellow accents (#ccc5b3). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted teal primary (#b3ccc5) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010403black |
| Foreground | #020807black | #f6f9f8whitesmoke |
| Card | #fcfcfcsnow | #020806black |
| Card foreground | #010403black | #f9fbfamintcream |
| Popover | #ffffffwhite | #010403black |
| Popover foreground | #020807black | #f6f9f8whitesmoke |
| Primary | #b3ccc5silver | #b3ccc5silver |
| Primary foreground | #1f2e2adarkslategray | #1f2e2adarkslategray |
| Secondary | #c5b3ccsilver | #c5b3ccsilver |
| Secondary foreground | #2a1f2edarkslategray | #2a1f2edarkslategray |
| Muted | #e6d4ecgainsboro | #24132bblack |
| Muted foreground | #645a68dimgray | #a197a5darkgray |
| Accent | #ccc5b3silver | #ccc5b3silver |
| Accent foreground | #2e2a1fdarkslategray | #2e2a1fdarkslategray |
| Destructive | #c43a03firebrick | #fc672ctomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b3ccc5silver | #b3ccc5silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.18:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 8.33:1 | AAA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 4.69:1 | AA |
| Accent | 8.32:1 | AAA |
| Destructive | 5.32:1 | AA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 8.33:1 | AAA |
| Secondary button | 7.99:1 | AAA |
| Muted text | 6.23:1 | AA |
| Accent | 8.32:1 | AAA |
| Destructive | 7.10:1 | AAA |
Paste this into your globals.css to use Visible in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.125 0.016 178.893);
--muted: oklch(0.893 0.037 317.094);
--muted-foreground: oklch(0.482 0.025 317.073);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.125 0.016 178.893);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.1 0.013 178.893);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.824 0.029 177.733);
--primary-foreground: oklch(0.286 0.022 176.345);
--secondary: oklch(0.789 0.041 317.071);
--secondary-foreground: oklch(0.258 0.032 316.893);
--accent: oklch(0.824 0.027 90.331);
--accent-foreground: oklch(0.285 0.02 90.43);
--destructive: oklch(0.548 0.183 36.87);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.824 0.029 177.733);
--chart-1: oklch(0.824 0.029 177.733);
--chart-2: oklch(0.789 0.041 317.071);
--chart-3: oklch(0.824 0.027 90.331);
--chart-4: oklch(0.815 0.036 317.089);
--chart-5: oklch(0.827 0.033 177.578);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.011 178.88);
--foreground: oklch(0.979 0.003 178.688);
--muted: oklch(0.222 0.051 316.55);
--muted-foreground: oklch(0.69 0.023 317.115);
--popover: oklch(0.099 0.011 178.88);
--popover-foreground: oklch(0.979 0.003 178.688);
--card: oklch(0.124 0.014 178.88);
--card-foreground: oklch(0.986 0.002 178.721);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.824 0.029 177.733);
--primary-foreground: oklch(0.286 0.022 176.345);
--secondary: oklch(0.789 0.041 317.071);
--secondary-foreground: oklch(0.258 0.032 316.893);
--accent: oklch(0.824 0.027 90.331);
--accent-foreground: oklch(0.285 0.02 90.43);
--destructive: oklch(0.694 0.195 39.889);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.824 0.029 177.733);
--chart-1: oklch(0.824 0.029 177.733);
--chart-2: oklch(0.789 0.041 317.071);
--chart-3: oklch(0.824 0.027 90.331);
--chart-4: oklch(0.815 0.036 317.089);
--chart-5: oklch(0.827 0.033 177.578);
}