eurodac-20210521 is a shadcn/ui theme built around a blue primary color (#30499c) with vivid light blue accents (#e2e8fc). The light mode uses a neutral background (#f6f8fe). Dark mode switches to a muted light cyan primary (#d3dfe4) on a neutral background (#010309).
| Token | Light | Dark |
|---|---|---|
| Background | #f6f8feghostwhite | #010309black |
| Foreground | #000000black | #f8fbfcghostwhite |
| Card | #f6f8feghostwhite | #030607black |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #f7fbfdghostwhite | #030607black |
| Popover foreground | #010305black | #fcfdfdwhite |
| Primary | #30499cdarkslateblue | #d3dfe4gainsboro |
| Primary foreground | #ffffffwhite | #334952darkslategray |
| Secondary | #e4c66cburlywood | #d3e4e0gainsboro |
| Secondary foreground | #141e42midnightblue | #33524bdarkslategray |
| Muted | #dbe7e6gainsboro | #192e2adarkslategray |
| Muted foreground | #4f7471dimgray | #9d9f9fdarkgray |
| Accent | #e2e8fclavender | #d3d7e4gainsboro |
| Accent foreground | #192652midnightblue | #333a52darkslategray |
| Destructive | #981f06darkred | #f53a14orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #bdc8eblightsteelblue | #1a1d1eblack |
| Input | #ced6f0gainsboro | #1a1d1eblack |
| Ring | #192652midnightblue | #d3dfe4gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 8.24:1 | AAA |
| Secondary button | 9.73:1 | AAA |
| Muted text | 4.07:1 | AA Large |
| Accent | 11.93:1 | AAA |
| Destructive | 8.31:1 | AAA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 6.48:1 | AA |
| Muted text | 5.38:1 | AA |
| Accent | 7.80:1 | AAA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use eurodac-20210521 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.008 271.33);
--foreground: oklch(0 0 0);
--muted: oklch(0.919 0.013 190.943);
--muted-foreground: oklch(0.53 0.042 189.614);
--popover: oklch(0.986 0.005 223.179);
--popover-foreground: oklch(0.095 0.013 216.05);
--card: oklch(0.979 0.008 271.33);
--card-foreground: oklch(0 0 0);
--border: oklch(0.836 0.051 271.525);
--input: oklch(0.878 0.037 272.034);
--primary: oklch(0.433 0.139 267.805);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.834 0.115 91.358);
--secondary-foreground: oklch(0.248 0.069 269.19);
--accent: oklch(0.932 0.028 272.506);
--accent-foreground: oklch(0.284 0.082 268.415);
--destructive: oklch(0.443 0.16 32.532);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.284 0.082 268.415);
--chart-1: oklch(0.433 0.139 267.805);
--chart-2: oklch(0.834 0.115 91.358);
--chart-3: oklch(0.932 0.028 272.506);
--chart-4: oklch(0.848 0.107 91.553);
--chart-5: oklch(0.431 0.147 267.443);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.022 259.2);
--foreground: oklch(0.985 0.003 223.16);
--muted: oklch(0.282 0.028 178.87);
--muted-foreground: oklch(0.701 0.002 181.975);
--popover: oklch(0.117 0.007 219.783);
--popover-foreground: oklch(0.993 0.001 223.145);
--card: oklch(0.117 0.007 219.783);
--card-foreground: oklch(0.993 0.001 223.145);
--border: oklch(0.228 0.005 223.358);
--input: oklch(0.228 0.005 223.358);
--primary: oklch(0.896 0.014 223.298);
--primary-foreground: oklch(0.39 0.031 224.376);
--secondary: oklch(0.904 0.018 181.501);
--secondary-foreground: oklch(0.411 0.038 179.14);
--accent: oklch(0.879 0.018 273.624);
--accent-foreground: oklch(0.352 0.043 272.141);
--destructive: oklch(0.634 0.227 32.557);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.896 0.014 223.298);
--chart-1: oklch(0.896 0.014 223.298);
--chart-2: oklch(0.904 0.018 181.501);
--chart-3: oklch(0.879 0.018 273.624);
--chart-4: oklch(0.925 0.014 181.635);
--chart-5: oklch(0.896 0.016 223.322);
}