Mob is a shadcn/ui theme built around a light red primary color (#e4bec5) with light blue accents (#bec5e4). The light mode uses a neutral background (#fefbfb). Dark mode keeps the light red primary (#e4bec5) on a neutral background (#040202).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #040202black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #fefbfbsnow | #040202black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fefbfbsnow | #040202black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #e4bec5thistle | #e4bec5thistle |
| Primary foreground | #502129darkslategray | #502129darkslategray |
| Secondary | #c5e4belightgrey | #c5e4belightgrey |
| Secondary foreground | #295021darkslategray | #295021darkslategray |
| Muted | #eff1efwhitesmoke | #0f100eblack |
| Muted foreground | #3e433ddarkslategray | #bdc2bcsilver |
| Accent | #bec5e4lightsteelblue | #bec5e4lightsteelblue |
| Accent foreground | #212950midnightblue | #212950midnightblue |
| Destructive | #a0430esaddlebrown | #e66114chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e4bec5thistle | #e4bec5thistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.39:1 | AAA |
| Text on card | 20.39:1 | AAA |
| Primary button | 7.83:1 | AAA |
| Secondary button | 6.73:1 | AA |
| Muted text | 8.89:1 | AAA |
| Accent | 8.20:1 | AAA |
| Destructive | 6.36:1 | AA |
| Text on background | 20.25:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 7.83:1 | AAA |
| Secondary button | 6.73:1 | AA |
| Muted text | 10.52:1 | AAA |
| Accent | 8.20:1 | AAA |
| Destructive | 6.08:1 | AA |
Paste this into your globals.css to use Mob in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 4.406);
--foreground: oklch(0 0 0);
--muted: oklch(0.956 0.003 139.988);
--muted-foreground: oklch(0.376 0.013 139.961);
--popover: oklch(0.99 0.003 4.406);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.99 0.003 4.406);
--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.836 0.045 5.711);
--primary-foreground: oklch(0.317 0.071 10.625);
--secondary: oklch(0.887 0.062 139.933);
--secondary-foreground: oklch(0.389 0.087 140.02);
--accent: oklch(0.828 0.045 275.394);
--accent-foreground: oklch(0.295 0.071 271.915);
--destructive: oklch(0.5 0.136 44.755);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.836 0.045 5.711);
--chart-1: oklch(0.836 0.045 5.711);
--chart-2: oklch(0.887 0.062 139.933);
--chart-3: oklch(0.828 0.045 275.394);
--chart-4: oklch(0.906 0.051 139.942);
--chart-5: oklch(0.835 0.048 5.816);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.01 4.569);
--foreground: oklch(0.991 0.002 4.367);
--muted: oklch(0.172 0.005 139.964);
--muted-foreground: oklch(0.809 0.011 139.979);
--popover: oklch(0.086 0.01 4.569);
--popover-foreground: oklch(0.991 0.002 4.367);
--card: oklch(0.086 0.01 4.569);
--card-foreground: oklch(0.991 0.002 4.367);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.836 0.045 5.711);
--primary-foreground: oklch(0.317 0.071 10.625);
--secondary: oklch(0.887 0.062 139.933);
--secondary-foreground: oklch(0.389 0.087 140.02);
--accent: oklch(0.828 0.045 275.394);
--accent-foreground: oklch(0.295 0.071 271.915);
--destructive: oklch(0.652 0.182 44.078);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.836 0.045 5.711);
--chart-1: oklch(0.836 0.045 5.711);
--chart-2: oklch(0.887 0.062 139.933);
--chart-3: oklch(0.828 0.045 275.394);
--chart-4: oklch(0.906 0.051 139.942);
--chart-5: oklch(0.835 0.048 5.816);
}