Video is a shadcn/ui theme built around a deep indigo primary color (#040411) with neutral gray accents (#ccccd1). The light mode uses a neutral background (#f7f7fd). Dark mode keeps the deep indigo primary (#040411) on an indigo-tinted background (#06050f).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f7fdghostwhite | #06050fblack |
| Foreground | #050410black | #f6f5f9whitesmoke |
| Card | #f3f3fcaliceblue | #070713black |
| Card foreground | #04030cblack | #f9f9fbghostwhite |
| Popover | #f3f3fcaliceblue | #070713black |
| Popover foreground | #04030cblack | #f9f9fbghostwhite |
| Primary | #040411black | #040411black |
| Primary foreground | #bfbcf0lightsteelblue | #bfbcf0lightsteelblue |
| Secondary | #ccccd1lightgrey | #2e2e2edarkslategray |
| Secondary foreground | #333239darkslategray | #c7c7c7silver |
| Muted | #d6d5e7gainsboro | #2a1818black |
| Muted foreground | #5b5b5ddimgray | #a4a2a2darkgray |
| Accent | #ccccd1lightgrey | #2e2e2edarkslategray |
| Accent foreground | #333239darkslategray | #c7c7c7silver |
| Destructive | #671f04maroon | #f65b23tomato |
| Destructive foreground | #fbbaa2lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #040411black | #040411black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.07:1 | AAA |
| Text on card | 18.58:1 | AAA |
| Primary button | 11.33:1 | AAA |
| Secondary button | 7.90:1 | AAA |
| Muted text | 4.68:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 7.15:1 | AAA |
| Text on background | 18.65:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 11.33:1 | AAA |
| Secondary button | 8.04:1 | AAA |
| Muted text | 6.64:1 | AA |
| Accent | 8.04:1 | AAA |
| Destructive | 6.43:1 | AA |
Paste this into your globals.css to use Video in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.978 0.008 288.557);
--foreground: oklch(0.119 0.031 283.938);
--muted: oklch(0.879 0.024 288.184);
--muted-foreground: oklch(0.471 0.003 288.594);
--popover: oklch(0.967 0.012 288.477);
--popover-foreground: oklch(0.107 0.026 284.434);
--card: oklch(0.967 0.012 288.477);
--card-foreground: oklch(0.107 0.026 284.434);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.116 0.033 283.359);
--primary-foreground: oklch(0.815 0.073 286.948);
--secondary: oklch(0.846 0.008 288.533);
--secondary-foreground: oklch(0.321 0.011 288.042);
--accent: oklch(0.846 0.008 288.533);
--accent-foreground: oklch(0.321 0.011 288.042);
--destructive: oklch(0.349 0.109 38.036);
--destructive-foreground: oklch(0.842 0.083 40.853);
--ring: oklch(0.116 0.033 283.359);
--chart-1: oklch(0.116 0.033 283.359);
--chart-2: oklch(0.846 0.008 288.533);
--chart-3: oklch(0.846 0.008 288.533);
--chart-4: oklch(0.871 0.007 288.566);
--chart-5: oklch(0.115 0.035 282.883);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.024 285.27);
--foreground: oklch(0.973 0.005 288.612);
--muted: oklch(0.234 0.029 19.482);
--muted-foreground: oklch(0.715 0.002 17.207);
--popover: oklch(0.135 0.028 284.711);
--popover-foreground: oklch(0.982 0.003 288.645);
--card: oklch(0.135 0.028 284.711);
--card-foreground: oklch(0.982 0.003 288.645);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.116 0.033 283.359);
--primary-foreground: oklch(0.815 0.073 286.948);
--secondary: oklch(0.301 0 189.462);
--secondary-foreground: oklch(0.829 0 180);
--accent: oklch(0.301 0 189.462);
--accent-foreground: oklch(0.829 0 180);
--destructive: oklch(0.669 0.2 38.264);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.116 0.033 283.359);
--chart-1: oklch(0.116 0.033 283.359);
--chart-2: oklch(0.301 0 189.462);
--chart-3: oklch(0.301 0 189.462);
--chart-4: oklch(0.331 0 180);
--chart-5: oklch(0.115 0.035 282.883);
}