aramex is a shadcn/ui theme built around a red primary color (#dc2626) with near-white accents (#f5f5f5). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#dc2626) on a neutral background (#0a0a0a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0a0ablack |
| Foreground | #0a0a0ablack | #fafafasnow |
| Card | #ffffffwhite | #0a0a0ablack |
| Card foreground | #0a0a0ablack | #fafafasnow |
| Popover | #ffffffwhite | #0a0a0ablack |
| Popover foreground | #0a0a0ablack | #fafafasnow |
| Primary | #dc2626crimson | #dc2626crimson |
| Primary foreground | #fef2f2lavenderblush | #fef2f2lavenderblush |
| Secondary | #f5f5f5whitesmoke | #262626darkslategray |
| Secondary foreground | #171717black | #fafafasnow |
| Muted | #f5f5f5whitesmoke | #262626darkslategray |
| Muted foreground | #737373dimgray | #a3a3a3darkgray |
| Accent | #f5f5f5whitesmoke | #262626darkslategray |
| Accent foreground | #171717black | #fafafasnow |
| Destructive | #ef4444tomato | #7f1d1dmaroon |
| Destructive foreground | #fafafasnow | #fafafasnow |
| Border | #e5e5e5gainsboro | #262626darkslategray |
| Input | #e5e5e5gainsboro | #262626darkslategray |
| Ring | #dc2626crimson | #dc2626crimson |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.79:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 4.41:1 | AA Large |
| Secondary button | 16.45:1 | AAA |
| Muted text | 4.35:1 | AA Large |
| Accent | 16.45:1 | AAA |
| Destructive | 3.60:1 | AA Large |
| Text on background | 18.97:1 | AAA |
| Text on card | 18.97:1 | AAA |
| Primary button | 4.41:1 | AA Large |
| Secondary button | 14.49:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 14.49:1 | AAA |
| Destructive | 9.59:1 | AAA |
Paste this into your globals.css to use aramex in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.145 0 180);
--muted: oklch(0.97 0 180);
--muted-foreground: oklch(0.556 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.145 0 180);
--card: oklch(1 0 180);
--card-foreground: oklch(0.145 0 180);
--border: oklch(0.922 0 168.69);
--input: oklch(0.922 0 168.69);
--primary: oklch(0.577 0.215 27.319);
--primary-foreground: oklch(0.971 0.013 17.376);
--secondary: oklch(0.97 0 180);
--secondary-foreground: oklch(0.204 0 180);
--accent: oklch(0.97 0 180);
--accent-foreground: oklch(0.204 0 180);
--destructive: oklch(0.637 0.208 25.326);
--destructive-foreground: oklch(0.985 0 180);
--ring: oklch(0.577 0.215 27.319);
--chart-1: oklch(0.677 0.157 35.19);
--chart-2: oklch(0.631 0.101 183.491);
--chart-3: oklch(0.379 0.044 225.539);
--chart-4: oklch(0.834 0.119 88.146);
--chart-5: oklch(0.783 0.126 58.749);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.145 0 180);
--foreground: oklch(0.985 0 180);
--muted: oklch(0.269 0 180);
--muted-foreground: oklch(0.715 0 158.199);
--popover: oklch(0.145 0 180);
--popover-foreground: oklch(0.985 0 180);
--card: oklch(0.145 0 180);
--card-foreground: oklch(0.985 0 180);
--border: oklch(0.269 0 180);
--input: oklch(0.269 0 180);
--primary: oklch(0.577 0.215 27.319);
--primary-foreground: oklch(0.971 0.013 17.376);
--secondary: oklch(0.269 0 180);
--secondary-foreground: oklch(0.985 0 180);
--accent: oklch(0.269 0 180);
--accent-foreground: oklch(0.985 0 180);
--destructive: oklch(0.396 0.133 25.721);
--destructive-foreground: oklch(0.985 0 180);
--ring: oklch(0.577 0.215 27.319);
--chart-1: oklch(0.529 0.193 262.129);
--chart-2: oklch(0.698 0.134 165.463);
--chart-3: oklch(0.723 0.15 60.631);
--chart-4: oklch(0.619 0.204 312.728);
--chart-5: oklch(0.612 0.209 6.386);
}