Monitor is a shadcn/ui theme built around a green primary color (#83ec90) with red accents (#ec9083). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#83ec90) on a neutral background (#010402).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010402black |
| Foreground | #061407black | #f5faf6whitesmoke |
| Card | #fcfcfcsnow | #030703black |
| Card foreground | #041006black | #f8fbf9mintcream |
| Popover | #ffffffwhite | #010402black |
| Popover foreground | #061407black | #f5faf6whitesmoke |
| Primary | #83ec90lightgreen | #83ec90lightgreen |
| Primary foreground | #08350ddarkgreen | #08350ddarkgreen |
| Secondary | #9083ecmediumpurple | #9083ecmediumpurple |
| Secondary foreground | #0d0835black | #0d0835black |
| Muted | #cecbe7thistle | #1c1834midnightblue |
| Muted foreground | #4a4861darkslategray | #a19eb7darkgray |
| Accent | #ec9083darksalmon | #ec9083darksalmon |
| Accent foreground | #350d08black | #350d08black |
| Destructive | #a21c01darkred | #f92a01orangered |
| Destructive foreground | #ffddd6mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #83ec90lightgreen | #83ec90lightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.90:1 | AAA |
| Text on card | 18.99:1 | AAA |
| Primary button | 9.40:1 | AAA |
| Secondary button | 6.03:1 | AA |
| Muted text | 5.57:1 | AA |
| Accent | 7.30:1 | AAA |
| Destructive | 6.11:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 9.40:1 | AAA |
| Secondary button | 6.03:1 | AA |
| Muted text | 6.56:1 | AA |
| Accent | 7.30:1 | AAA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Monitor in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.173 0.034 147.101);
--muted: oklch(0.853 0.038 290.925);
--muted-foreground: oklch(0.413 0.042 289.777);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.173 0.034 147.101);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.157 0.029 147.535);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.857 0.16 146.593);
--primary-foreground: oklch(0.289 0.081 144.777);
--secondary: oklch(0.668 0.151 286.906);
--secondary-foreground: oklch(0.182 0.083 279.614);
--accent: oklch(0.745 0.114 28.167);
--accent-foreground: oklch(0.228 0.065 30.408);
--destructive: oklch(0.461 0.172 32.325);
--destructive-foreground: oklch(0.924 0.039 31.18);
--ring: oklch(0.857 0.16 146.593);
--chart-1: oklch(0.857 0.16 146.593);
--chart-2: oklch(0.668 0.151 286.906);
--chart-3: oklch(0.745 0.114 28.167);
--chart-4: oklch(0.703 0.134 287.783);
--chart-5: oklch(0.861 0.165 146.497);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.014 148.195);
--foreground: oklch(0.979 0.007 149.049);
--muted: oklch(0.231 0.052 286.914);
--muted-foreground: oklch(0.711 0.037 290.792);
--popover: oklch(0.096 0.014 148.195);
--popover-foreground: oklch(0.979 0.007 149.049);
--card: oklch(0.121 0.017 148.195);
--card-foreground: oklch(0.986 0.005 149.078);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.857 0.16 146.593);
--primary-foreground: oklch(0.289 0.081 144.777);
--secondary: oklch(0.668 0.151 286.906);
--secondary-foreground: oklch(0.182 0.083 279.614);
--accent: oklch(0.745 0.114 28.167);
--accent-foreground: oklch(0.228 0.065 30.408);
--destructive: oklch(0.63 0.24 31.705);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.857 0.16 146.593);
--chart-1: oklch(0.857 0.16 146.593);
--chart-2: oklch(0.668 0.151 286.906);
--chart-3: oklch(0.745 0.114 28.167);
--chart-4: oklch(0.703 0.134 287.783);
--chart-5: oklch(0.861 0.165 146.497);
}