Proctoring is a shadcn/ui theme built around a neutral gray primary color (#44454b) with neutral gray accents (#4b4a44). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the neutral gray primary (#44454b) on a neutral background (#030407).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fdghostwhite | #030407black |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #f3f4fcaliceblue | #05050bblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7f8fdghostwhite | #030407black |
| Popover foreground | #000000black | #fcfcfdwhite |
| Primary | #44454bdarkslategray | #44454bdarkslategray |
| Primary foreground | #dfdfe2gainsboro | #dfdfe2gainsboro |
| Secondary | #4b4a44darkslategray | #4b4a44darkslategray |
| Secondary foreground | #e2e1dfgainsboro | #e2e1dfgainsboro |
| Muted | #e4e1d3gainsboro | #2c2a1bdarkslategray |
| Muted foreground | #434342darkslategray | #bdbdbcsilver |
| Accent | #4b4a44darkslategray | #4b4a44darkslategray |
| Accent foreground | #e2e1dfgainsboro | #e2e1dfgainsboro |
| Destructive | #d0120bfirebrick | #f31912red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e8e9edlavender | #21232bdarkslategray |
| Input | #e8e9edlavender | #21232bdarkslategray |
| Ring | #44454bdarkslategray | #44454bdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.75:1 | AAA |
| Text on card | 19.14:1 | AAA |
| Primary button | 7.19:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 7.56:1 | AAA |
| Accent | 6.81:1 | AA |
| Destructive | 5.55:1 | AA |
| Text on background | 20.02:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 7.19:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 7.69:1 | AAA |
| Accent | 6.81:1 | AA |
| Destructive | 4.24:1 | AA Large |
Paste this into your globals.css to use Proctoring in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.007 278.211);
--foreground: oklch(0 0 0);
--muted: oklch(0.909 0.02 98.614);
--muted-foreground: oklch(0.382 0.002 98.388);
--popover: oklch(0.979 0.007 278.211);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.968 0.011 278.154);
--card-foreground: oklch(0 0 0);
--border: oklch(0.934 0.006 278.223);
--input: oklch(0.934 0.006 278.223);
--primary: oklch(0.391 0.01 277.925);
--primary-foreground: oklch(0.905 0.004 278.261);
--secondary: oklch(0.408 0.01 98.651);
--secondary-foreground: oklch(0.911 0.004 98.373);
--accent: oklch(0.408 0.01 98.651);
--accent-foreground: oklch(0.911 0.004 98.373);
--destructive: oklch(0.544 0.216 29.214);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.391 0.01 277.925);
--chart-1: oklch(0.391 0.01 277.925);
--chart-2: oklch(0.408 0.01 98.651);
--chart-3: oklch(0.408 0.01 98.651);
--chart-4: oklch(0.437 0.011 98.656);
--chart-5: oklch(0.386 0.017 277.661);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.105 0.012 274.046);
--foreground: oklch(0.992 0.001 278.304);
--muted: oklch(0.282 0.025 99.329);
--muted-foreground: oklch(0.799 0.002 98.346);
--popover: oklch(0.105 0.012 274.046);
--popover-foreground: oklch(0.992 0.001 278.304);
--card: oklch(0.12 0.014 274.063);
--card-foreground: oklch(1 0 180);
--border: oklch(0.257 0.016 277.337);
--input: oklch(0.257 0.016 277.337);
--primary: oklch(0.391 0.01 277.925);
--primary-foreground: oklch(0.905 0.004 278.261);
--secondary: oklch(0.408 0.01 98.651);
--secondary-foreground: oklch(0.911 0.004 98.373);
--accent: oklch(0.408 0.01 98.651);
--accent-foreground: oklch(0.911 0.004 98.373);
--destructive: oklch(0.611 0.242 29.157);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.391 0.01 277.925);
--chart-1: oklch(0.391 0.01 277.925);
--chart-2: oklch(0.408 0.01 98.651);
--chart-3: oklch(0.408 0.01 98.651);
--chart-4: oklch(0.437 0.011 98.656);
--chart-5: oklch(0.386 0.017 277.661);
}