Vivid is a shadcn/ui theme built around a light cyan primary color (#ace2e7) with light blue accents (#acc5e7). The light mode uses a neutral background (#fbfefe). Dark mode keeps the light cyan primary (#ace2e7) on a cyan-tinted background (#060d0e).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #060d0eblack |
| Foreground | #021112black | #fbfdfdwhite |
| Card | #f7fcfdghostwhite | #081112black |
| Card foreground | #020d0eblack | #ffffffwhite |
| Popover | #f7fcfdghostwhite | #081112black |
| Popover foreground | #020d0eblack | #ffffffwhite |
| Primary | #ace2e7powderblue | #ace2e7powderblue |
| Primary foreground | #16474bdarkslategray | #16474bdarkslategray |
| Secondary | #ace7cepowderblue | #ace7cepowderblue |
| Secondary foreground | #164b35darkslategray | #164b35darkslategray |
| Muted | #d8e4dfgainsboro | #1b2722black |
| Muted foreground | #43514bdarkslategray | #aebcb6silver |
| Accent | #acc5e7lightsteelblue | #acc5e7lightsteelblue |
| Accent foreground | #162c4bmidnightblue | #162c4bmidnightblue |
| Destructive | #b53908firebrick | #f04b0aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ace2e7powderblue | #ace2e7powderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.93:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 7.25:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 6.37:1 | AA |
| Accent | 7.92:1 | AAA |
| Destructive | 5.91:1 | AA |
| Text on background | 19.14:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 7.25:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 7.83:1 | AAA |
| Accent | 7.92:1 | AAA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Vivid in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 203.554);
--foreground: oklch(0.163 0.023 202.076);
--muted: oklch(0.908 0.014 169.215);
--muted-foreground: oklch(0.421 0.021 168.161);
--popover: oklch(0.988 0.006 203.526);
--popover-foreground: oklch(0.145 0.02 201.257);
--card: oklch(0.988 0.006 203.526);
--card-foreground: oklch(0.145 0.02 201.257);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.877 0.056 203.157);
--primary-foreground: oklch(0.366 0.052 203.65);
--secondary: oklch(0.881 0.069 167.218);
--secondary-foreground: oklch(0.371 0.068 162.12);
--accent: oklch(0.815 0.056 256.813);
--accent-foreground: oklch(0.292 0.064 257.11);
--destructive: oklch(0.522 0.168 37.576);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.877 0.056 203.157);
--chart-1: oklch(0.877 0.056 203.157);
--chart-2: oklch(0.881 0.069 167.218);
--chart-3: oklch(0.815 0.056 256.813);
--chart-4: oklch(0.897 0.059 167.64);
--chart-5: oklch(0.88 0.058 203.148);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.012 202.662);
--foreground: oklch(0.994 0.002 203.563);
--muted: oklch(0.26 0.019 167.401);
--muted-foreground: oklch(0.783 0.018 168.989);
--popover: oklch(0.168 0.014 203.007);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.168 0.014 203.007);
--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.877 0.056 203.157);
--primary-foreground: oklch(0.366 0.052 203.65);
--secondary: oklch(0.881 0.069 167.218);
--secondary-foreground: oklch(0.371 0.068 162.12);
--accent: oklch(0.815 0.056 256.813);
--accent-foreground: oklch(0.292 0.064 257.11);
--destructive: oklch(0.641 0.21 37.122);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.877 0.056 203.157);
--chart-1: oklch(0.877 0.056 203.157);
--chart-2: oklch(0.881 0.069 167.218);
--chart-3: oklch(0.815 0.056 256.813);
--chart-4: oklch(0.897 0.059 167.64);
--chart-5: oklch(0.88 0.058 203.148);
}