Other is a shadcn/ui theme built around a light orange primary color (#e9dcc9) with muted light orange accents (#edebe8). The light mode uses a neutral background (#fdfbf6). Dark mode keeps the light orange primary (#e9dcc9) on an orange-tinted background (#0b0804).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbf6snow | #0b0804black |
| Foreground | #040301black | #f9f8f6whitesmoke |
| Card | #fdfbf6snow | #0b0804black |
| Card foreground | #040301black | #f9f8f6whitesmoke |
| Popover | #fdfbf6snow | #0b0804black |
| Popover foreground | #040301black | #f9f8f6whitesmoke |
| Primary | #e9dcc9gainsboro | #e9dcc9gainsboro |
| Primary foreground | #5b4625darkolivegreen | #5b4625darkolivegreen |
| Secondary | #edebe8linen | #332d24darkslategray |
| Secondary foreground | #5b5448darkolivegreen | #cfc7basilver |
| Muted | #ebe9e5linen | #1a1814black |
| Muted foreground | #4d473ddarkslategray | #c2bcb2silver |
| Accent | #edebe8linen | #332d24darkslategray |
| Accent foreground | #5b5448darkolivegreen | #cfc7basilver |
| Destructive | #6b1805maroon | #f4461forangered |
| Destructive foreground | #fbb7a7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e9dcc9gainsboro | #e9dcc9gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 6.29:1 | AA |
| Muted text | 7.56:1 | AAA |
| Accent | 6.29:1 | AA |
| Destructive | 7.07:1 | AAA |
| Text on background | 18.79:1 | AAA |
| Text on card | 18.79:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 8.11:1 | AAA |
| Muted text | 9.42:1 | AAA |
| Accent | 8.11:1 | AAA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Other in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 79.922);
--foreground: oklch(0.097 0.012 87.03);
--muted: oklch(0.934 0.005 79.924);
--muted-foreground: oklch(0.4 0.019 79.753);
--popover: oklch(0.988 0.007 79.922);
--popover-foreground: oklch(0.097 0.012 87.03);
--card: oklch(0.988 0.007 79.922);
--card-foreground: oklch(0.097 0.012 87.03);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.901 0.03 79.833);
--primary-foreground: oklch(0.408 0.056 78.058);
--secondary: oklch(0.941 0.005 79.926);
--secondary-foreground: oklch(0.449 0.021 79.745);
--accent: oklch(0.941 0.005 79.926);
--accent-foreground: oklch(0.449 0.021 79.745);
--destructive: oklch(0.35 0.12 33.733);
--destructive-foreground: oklch(0.838 0.083 33.024);
--ring: oklch(0.901 0.03 79.833);
--chart-1: oklch(0.901 0.03 79.833);
--chart-2: oklch(0.941 0.005 79.926);
--chart-3: oklch(0.941 0.005 79.926);
--chart-4: oklch(0.963 0.003 79.929);
--chart-5: oklch(0.902 0.032 79.821);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.012 84.965);
--foreground: oklch(0.979 0.003 79.929);
--muted: oklch(0.208 0.007 79.822);
--muted-foreground: oklch(0.798 0.016 79.887);
--popover: oklch(0.138 0.012 84.965);
--popover-foreground: oklch(0.979 0.003 79.929);
--card: oklch(0.138 0.012 84.965);
--card-foreground: oklch(0.979 0.003 79.929);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.901 0.03 79.833);
--primary-foreground: oklch(0.408 0.056 78.058);
--secondary: oklch(0.301 0.019 79.624);
--secondary-foreground: oklch(0.832 0.02 79.872);
--accent: oklch(0.301 0.019 79.624);
--accent-foreground: oklch(0.832 0.02 79.872);
--destructive: oklch(0.644 0.216 33.643);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.901 0.03 79.833);
--chart-1: oklch(0.901 0.03 79.833);
--chart-2: oklch(0.301 0.019 79.624);
--chart-3: oklch(0.301 0.019 79.624);
--chart-4: oklch(0.333 0.021 79.603);
--chart-5: oklch(0.902 0.032 79.821);
}