Patrolling is a shadcn/ui theme built around a muted light teal primary color (#d7e5e1) with neutral gray accents (#ced0cf). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the muted light teal primary (#d7e5e1) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #020303black |
| Foreground | #000000black | #f6f8f8whitesmoke |
| Card | #fcfdfdwhite | #020303black |
| Card foreground | #000000black | #f6f8f8whitesmoke |
| Popover | #fcfdfdwhite | #020303black |
| Popover foreground | #000000black | #f6f8f8whitesmoke |
| Primary | #d7e5e1gainsboro | #d7e5e1gainsboro |
| Primary foreground | #36544bdarkslategray | #36544bdarkslategray |
| Secondary | #ced0cflightgrey | #191a1ablack |
| Secondary foreground | #343736darkslategray | #b1b4b3darkgray |
| Muted | #d9dddcgainsboro | #222625darkslategray |
| Muted foreground | #3b4442darkslategray | #bbc4c1silver |
| Accent | #ced0cflightgrey | #191a1ablack |
| Accent foreground | #343736darkslategray | #b1b4b3darkgray |
| Destructive | #7b220amaroon | #ee552btomato |
| Destructive foreground | #facabdpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d7e5e1gainsboro | #d7e5e1gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 6.40:1 | AA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 7.35:1 | AAA |
| Accent | 7.72:1 | AAA |
| Destructive | 6.86:1 | AA |
| Text on background | 19.34:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 6.40:1 | AA |
| Secondary button | 8.34:1 | AAA |
| Muted text | 8.61:1 | AAA |
| Accent | 8.34:1 | AAA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Patrolling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 176.596);
--foreground: oklch(0 0 0);
--muted: oklch(0.895 0.005 176.497);
--muted-foreground: oklch(0.378 0.013 175.66);
--popover: oklch(0.994 0.002 176.596);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.002 176.596);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.91 0.017 176.118);
--primary-foreground: oklch(0.419 0.039 173.527);
--secondary: oklch(0.854 0.002 176.581);
--secondary-foreground: oklch(0.333 0.003 176.38);
--accent: oklch(0.854 0.002 176.581);
--accent-foreground: oklch(0.333 0.003 176.38);
--destructive: oklch(0.392 0.127 35.251);
--destructive-foreground: oklch(0.877 0.057 35.966);
--ring: oklch(0.91 0.017 176.118);
--chart-1: oklch(0.91 0.017 176.118);
--chart-2: oklch(0.854 0.002 176.581);
--chart-3: oklch(0.854 0.002 176.581);
--chart-4: oklch(0.878 0.002 176.595);
--chart-5: oklch(0.912 0.019 176.045);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.007 176.776);
--foreground: oklch(0.978 0.002 176.591);
--muted: oklch(0.263 0.007 175.907);
--muted-foreground: oklch(0.812 0.011 176.278);
--popover: oklch(0.096 0.007 176.776);
--popover-foreground: oklch(0.978 0.002 176.591);
--card: oklch(0.096 0.007 176.776);
--card-foreground: oklch(0.978 0.002 176.591);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.91 0.017 176.118);
--primary-foreground: oklch(0.419 0.039 173.527);
--secondary: oklch(0.217 0.002 176.432);
--secondary-foreground: oklch(0.767 0.004 176.519);
--accent: oklch(0.217 0.002 176.432);
--accent-foreground: oklch(0.767 0.004 176.519);
--destructive: oklch(0.65 0.196 35.782);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.91 0.017 176.118);
--chart-1: oklch(0.91 0.017 176.118);
--chart-2: oklch(0.217 0.002 176.432);
--chart-3: oklch(0.217 0.002 176.432);
--chart-4: oklch(0.25 0.002 176.412);
--chart-5: oklch(0.912 0.019 176.045);
}