Certificate is a shadcn/ui theme built around a vivid light green primary color (#fafedc) with vivid light purple accents (#fedcfa). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the vivid light green primary (#fafedc) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #030302black |
| Foreground | #0f1104black | #fbfcf8snow |
| Card | #fdfdfcwhite | #030302black |
| Card foreground | #0f1104black | #fbfcf8snow |
| Popover | #fdfdfcwhite | #030302black |
| Popover foreground | #0f1104black | #fbfcf8snow |
| Primary | #fafedclightyellow | #fafedclightyellow |
| Primary foreground | #384102darkgreen | #384102darkgreen |
| Secondary | #dcfafelightcyan | #dcfafelightcyan |
| Secondary foreground | #023841darkslategray | #023841darkslategray |
| Muted | #eaeff0whitesmoke | #0f1415black |
| Muted foreground | #3b4345darkslategray | #bac3c4silver |
| Accent | #fedcfalavenderblush | #fedcfalavenderblush |
| Accent foreground | #410238midnightblue | #410238midnightblue |
| Destructive | #cd1b0efirebrick | #f24c40tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fafedclightyellow | #fafedclightyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.75:1 | AAA |
| Text on card | 18.75:1 | AAA |
| Primary button | 10.53:1 | AAA |
| Secondary button | 11.61:1 | AAA |
| Muted text | 8.73:1 | AAA |
| Accent | 13.05:1 | AAA |
| Destructive | 5.58:1 | AA |
| Text on background | 19.99:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 10.53:1 | AAA |
| Secondary button | 11.61:1 | AAA |
| Muted text | 10.34:1 | AAA |
| Accent | 13.05:1 | AAA |
| Destructive | 3.57:1 | AA Large |
Paste this into your globals.css to use Certificate in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 112.588);
--foreground: oklch(0.169 0.027 114.854);
--muted: oklch(0.949 0.005 207.91);
--muted-foreground: oklch(0.377 0.012 207.84);
--popover: oklch(0.994 0.002 112.588);
--popover-foreground: oklch(0.169 0.027 114.854);
--card: oklch(0.994 0.002 112.588);
--card-foreground: oklch(0.169 0.027 114.854);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.985 0.044 113.381);
--primary-foreground: oklch(0.354 0.081 117.776);
--secondary: oklch(0.964 0.031 207.839);
--secondary-foreground: oklch(0.314 0.054 211.193);
--accent: oklch(0.932 0.053 330.368);
--accent-foreground: oklch(0.258 0.112 334.878);
--destructive: oklch(0.542 0.21 29.732);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.985 0.044 113.381);
--chart-1: oklch(0.985 0.044 113.381);
--chart-2: oklch(0.964 0.031 207.839);
--chart-3: oklch(0.932 0.053 330.368);
--chart-4: oklch(0.979 0.018 207.866);
--chart-5: oklch(0.986 0.046 113.406);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.008 113.183);
--foreground: oklch(0.989 0.005 112.633);
--muted: oklch(0.186 0.007 207.836);
--muted-foreground: oklch(0.811 0.01 207.884);
--popover: oklch(0.098 0.008 113.183);
--popover-foreground: oklch(0.989 0.005 112.633);
--card: oklch(0.098 0.008 113.183);
--card-foreground: oklch(0.989 0.005 112.633);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.985 0.044 113.381);
--primary-foreground: oklch(0.354 0.081 117.776);
--secondary: oklch(0.964 0.031 207.839);
--secondary-foreground: oklch(0.314 0.054 211.193);
--accent: oklch(0.932 0.053 330.368);
--accent-foreground: oklch(0.258 0.112 334.878);
--destructive: oklch(0.649 0.204 28.217);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.985 0.044 113.381);
--chart-1: oklch(0.985 0.044 113.381);
--chart-2: oklch(0.964 0.031 207.839);
--chart-3: oklch(0.932 0.053 330.368);
--chart-4: oklch(0.979 0.018 207.866);
--chart-5: oklch(0.986 0.046 113.406);
}