Orient is a shadcn/ui theme built around a near-black primary color (#030307) with near-black accents (#050307). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#030307) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020203black |
| Foreground | #050415black | #f8f8fbghostwhite |
| Card | #ffffffwhite | #020203black |
| Card foreground | #050415black | #f8f8fbghostwhite |
| Popover | #ffffffwhite | #020203black |
| Popover foreground | #050415black | #f8f8fbghostwhite |
| Primary | #030307black | #030307black |
| Primary foreground | #c0bfe3lightsteelblue | #c0bfe3lightsteelblue |
| Secondary | #030507black | #030507black |
| Secondary foreground | #789dc4cadetblue | #789dc4cadetblue |
| Muted | #d4e0ecgainsboro | #131e2bblack |
| Muted foreground | #525e6bdimgray | #94a0addarkgray |
| Accent | #050307black | #050307black |
| Accent foreground | #d2bfe3thistle | #d2bfe3thistle |
| Destructive | #8a0e05darkred | #f61d0ered |
| Destructive foreground | #fdc8c4pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #030307black | #030307black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.29:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 11.56:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 4.94:1 | AA |
| Accent | 12.02:1 | AAA |
| Destructive | 6.64:1 | AA |
| Text on background | 19.59:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 11.56:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 6.31:1 | AA |
| Accent | 12.02:1 | AAA |
| Destructive | 4.10:1 | AA Large |
Paste this into your globals.css to use Orient in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.125 0.039 280.268);
--muted: oklch(0.902 0.021 249.861);
--muted-foreground: oklch(0.476 0.025 250.113);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.125 0.039 280.268);
--card: oklch(1 0 180);
--card-foreground: oklch(0.125 0.039 280.268);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.102 0.014 284.569);
--primary-foreground: oklch(0.817 0.05 286.002);
--secondary: oklch(0.113 0.009 244.109);
--secondary-foreground: oklch(0.683 0.071 250.555);
--accent: oklch(0.107 0.015 310.197);
--accent-foreground: oklch(0.832 0.053 308.457);
--destructive: oklch(0.404 0.157 29.89);
--destructive-foreground: oklch(0.878 0.061 23.121);
--ring: oklch(0.102 0.014 284.569);
--chart-1: oklch(0.102 0.014 284.569);
--chart-2: oklch(0.113 0.009 244.109);
--chart-3: oklch(0.107 0.015 310.197);
--chart-4: oklch(0.154 0.014 249.571);
--chart-5: oklch(0.101 0.015 284.288);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.083 0.009 285.086);
--foreground: oklch(0.981 0.004 287.091);
--muted: oklch(0.231 0.029 250.783);
--muted-foreground: oklch(0.701 0.023 249.943);
--popover: oklch(0.083 0.009 285.086);
--popover-foreground: oklch(0.981 0.004 287.091);
--card: oklch(0.083 0.009 285.086);
--card-foreground: oklch(0.981 0.004 287.091);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.102 0.014 284.569);
--primary-foreground: oklch(0.817 0.05 286.002);
--secondary: oklch(0.113 0.009 244.109);
--secondary-foreground: oklch(0.683 0.071 250.555);
--accent: oklch(0.107 0.015 310.197);
--accent-foreground: oklch(0.832 0.053 308.457);
--destructive: oklch(0.619 0.243 29.757);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.102 0.014 284.569);
--chart-1: oklch(0.102 0.014 284.569);
--chart-2: oklch(0.113 0.009 244.109);
--chart-3: oklch(0.107 0.015 310.197);
--chart-4: oklch(0.154 0.014 249.571);
--chart-5: oklch(0.101 0.015 284.288);
}