Inbox is a shadcn/ui theme built around a light red primary color (#ebbdbc) with light teal accents (#bceaeb). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#ebbdbc) on a neutral background (#040101).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040101black |
| Foreground | #140606black | #f9f5f5whitesmoke |
| Card | #fcfcfcsnow | #080202black |
| Card foreground | #100504black | #fbf9f8snow |
| Popover | #fcfcfcsnow | #080202black |
| Popover foreground | #100504black | #fbf9f8snow |
| Primary | #ebbdbclightpink | #ebbdbclightpink |
| Primary foreground | #5b1d1amaroon | #5b1d1amaroon |
| Secondary | #bceaebpaleturquoise | #bceaebpaleturquoise |
| Secondary foreground | #1a595bdarkslategray | #1a595bdarkslategray |
| Muted | #cae6e7gainsboro | #183435darkslategray |
| Muted foreground | #404040darkslategray | #bfbfbfsilver |
| Accent | #bceaebpaleturquoise | #bceaebpaleturquoise |
| Accent foreground | #1a595bdarkslategray | #1a595bdarkslategray |
| Destructive | #bd2814firebrick | #e83d26orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ebbdbclightpink | #ebbdbclightpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 7.69:1 | AAA |
| Secondary button | 6.13:1 | AA |
| Muted text | 7.91:1 | AAA |
| Accent | 6.13:1 | AA |
| Destructive | 6.03:1 | AA |
| Text on background | 19.20:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 7.69:1 | AAA |
| Secondary button | 6.13:1 | AA |
| Muted text | 7.24:1 | AAA |
| Accent | 6.13:1 | AA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Inbox in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.146 0.026 23.557);
--muted: oklch(0.906 0.03 199.181);
--muted-foreground: oklch(0.371 0 168.69);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.134 0.023 23.546);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.134 0.023 23.546);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.84 0.053 20.575);
--primary-foreground: oklch(0.327 0.092 25.545);
--secondary: oklch(0.905 0.047 198.953);
--secondary-foreground: oklch(0.425 0.062 198.389);
--accent: oklch(0.905 0.047 198.953);
--accent-foreground: oklch(0.425 0.062 198.389);
--destructive: oklch(0.521 0.188 31.035);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.84 0.053 20.575);
--chart-1: oklch(0.84 0.053 20.575);
--chart-2: oklch(0.905 0.047 198.953);
--chart-3: oklch(0.905 0.047 198.953);
--chart-4: oklch(0.921 0.039 199.062);
--chart-5: oklch(0.838 0.056 20.638);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.015 24.021);
--foreground: oklch(0.974 0.004 19.669);
--muted: oklch(0.303 0.034 198.437);
--muted-foreground: oklch(0.805 0 169.695);
--popover: oklch(0.104 0.018 24.021);
--popover-foreground: oklch(0.983 0.003 19.647);
--card: oklch(0.104 0.018 24.021);
--card-foreground: oklch(0.983 0.003 19.647);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.84 0.053 20.575);
--primary-foreground: oklch(0.327 0.092 25.545);
--secondary: oklch(0.905 0.047 198.953);
--secondary-foreground: oklch(0.425 0.062 198.389);
--accent: oklch(0.905 0.047 198.953);
--accent-foreground: oklch(0.425 0.062 198.389);
--destructive: oklch(0.616 0.211 31);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.84 0.053 20.575);
--chart-1: oklch(0.84 0.053 20.575);
--chart-2: oklch(0.905 0.047 198.953);
--chart-3: oklch(0.905 0.047 198.953);
--chart-4: oklch(0.921 0.039 199.062);
--chart-5: oklch(0.838 0.056 20.638);
}