Veris - 1 is a shadcn/ui theme built around a vivid blue primary color (#0456fb) with vivid indigo accents (#2d04fb). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the vivid blue primary (#0456fb) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #000000black |
| Foreground | #04060cblack | #f9fafaghostwhite |
| Card | #fbfcfewhite | #000000black |
| Card foreground | #04060cblack | #f9fafaghostwhite |
| Popover | #fbfcfewhite | #000000black |
| Popover foreground | #04060cblack | #f9fafaghostwhite |
| Primary | #0456fbdodgerblue | #0456fbdodgerblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #04d2fbdeepskyblue | #04d2fbdeepskyblue |
| Secondary foreground | #012a32black | #012a32black |
| Muted | #e0eef0lavender | #0f1c1fblack |
| Muted foreground | #636363dimgray | #9c9c9cdarkgray |
| Accent | #2d04fbblue | #2d04fbblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #bd280afirebrick | #df2f0corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #ebeceflavender | #202228darkslategray |
| Input | #ebeceflavender | #202228darkslategray |
| Ring | #0456fbdodgerblue | #0456fbdodgerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.72:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 5.61:1 | AA |
| Secondary button | 8.42:1 | AAA |
| Muted text | 5.03:1 | AA |
| Accent | 8.32:1 | AAA |
| Destructive | 6.05:1 | AA |
| Text on background | 20.08:1 | AAA |
| Text on card | 20.08:1 | AAA |
| Primary button | 5.61:1 | AA |
| Secondary button | 8.42:1 | AAA |
| Muted text | 6.32:1 | AA |
| Accent | 8.32:1 | AAA |
| Destructive | 4.62:1 | AA |
Paste this into your globals.css to use Veris - 1 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 264.542);
--foreground: oklch(0.123 0.015 257.634);
--muted: oklch(0.938 0.015 211.039);
--muted-foreground: oklch(0.501 0 180);
--popover: oklch(0.991 0.003 264.542);
--popover-foreground: oklch(0.123 0.015 257.634);
--card: oklch(0.991 0.003 264.542);
--card-foreground: oklch(0.123 0.015 257.634);
--border: oklch(0.944 0.004 264.539);
--input: oklch(0.944 0.004 264.539);
--primary: oklch(0.532 0.253 262.582);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.798 0.144 218.859);
--secondary-foreground: oklch(0.262 0.046 214.66);
--accent: oklch(0.46 0.301 269.559);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.52 0.189 32.413);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.532 0.253 262.582);
--chart-1: oklch(0.532 0.253 262.582);
--chart-2: oklch(0.798 0.144 218.859);
--chart-3: oklch(0.46 0.301 269.559);
--chart-4: oklch(0.805 0.142 217.552);
--chart-5: oklch(0.533 0.26 262.636);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.984 0.001 264.548);
--muted: oklch(0.217 0.02 211.591);
--muted-foreground: oklch(0.691 0 180);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.984 0.001 264.548);
--card: oklch(0 0 0);
--card-foreground: oklch(0.984 0.001 264.548);
--border: oklch(0.253 0.011 264.366);
--input: oklch(0.253 0.011 264.366);
--primary: oklch(0.532 0.253 262.582);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.798 0.144 218.859);
--secondary-foreground: oklch(0.262 0.046 214.66);
--accent: oklch(0.46 0.301 269.559);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.587 0.215 32.302);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.532 0.253 262.582);
--chart-1: oklch(0.532 0.253 262.582);
--chart-2: oklch(0.798 0.144 218.859);
--chart-3: oklch(0.46 0.301 269.559);
--chart-4: oklch(0.805 0.142 217.552);
--chart-5: oklch(0.533 0.26 262.636);
}