Remarkable is a shadcn/ui theme built around a muted deep orange primary color (#1d1a16) with muted deep yellow accents (#1d1d16). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep orange primary (#1d1a16) on a neutral background (#030302).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030302black |
| Foreground | #100a05black | #fcfaf8snow |
| Card | #fcfcfcsnow | #070503black |
| Card foreground | #0c0804black | #fdfcfcsnow |
| Popover | #ffffffwhite | #030302black |
| Popover foreground | #100a05black | #fcfaf8snow |
| Primary | #1d1a16black | #1d1a16black |
| Primary foreground | #bdb3a8darkgray | #bdb3a8darkgray |
| Secondary | #1d1616black | #1d1616black |
| Secondary foreground | #bda8a8darkgray | #bda8a8darkgray |
| Muted | #f7ededlinen | #120808black |
| Muted foreground | #695454dimgray | #ab9796rosybrown |
| Accent | #1d1d16black | #1d1d16black |
| Accent foreground | #bdbda8silver | #bdbda8silver |
| Destructive | #da190bred | #f5493dtomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1d1a16black | #1d1a16black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.66:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 8.42:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 6.12:1 | AA |
| Accent | 8.87:1 | AAA |
| Destructive | 5.08:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 8.42:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 7.14:1 | AAA |
| Accent | 8.87:1 | AAA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Remarkable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.151 0.016 73.102);
--muted: oklch(0.955 0.011 18.532);
--muted-foreground: oklch(0.468 0.027 19.311);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.151 0.016 73.102);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.137 0.014 76.553);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.219 0.009 69.201);
--primary-foreground: oklch(0.772 0.02 69.387);
--secondary: oklch(0.209 0.011 19.249);
--secondary-foreground: oklch(0.75 0.025 18.879);
--accent: oklch(0.228 0.013 108.192);
--accent-foreground: oklch(0.793 0.029 107.832);
--destructive: oklch(0.565 0.222 29.756);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.219 0.009 69.201);
--chart-1: oklch(0.219 0.009 69.201);
--chart-2: oklch(0.209 0.011 19.249);
--chart-3: oklch(0.228 0.013 108.192);
--chart-4: oklch(0.24 0.014 19.34);
--chart-5: oklch(0.219 0.011 69.088);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.094 0.006 74.111);
--foreground: oklch(0.986 0.003 69.622);
--muted: oklch(0.149 0.018 20.651);
--muted-foreground: oklch(0.693 0.024 18.918);
--popover: oklch(0.094 0.006 74.111);
--popover-foreground: oklch(0.986 0.003 69.622);
--card: oklch(0.118 0.007 74.111);
--card-foreground: oklch(0.993 0.001 69.636);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.219 0.009 69.201);
--primary-foreground: oklch(0.772 0.02 69.387);
--secondary: oklch(0.209 0.011 19.249);
--secondary-foreground: oklch(0.75 0.025 18.879);
--accent: oklch(0.228 0.013 108.192);
--accent-foreground: oklch(0.793 0.029 107.832);
--destructive: oklch(0.651 0.21 28.414);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.219 0.009 69.201);
--chart-1: oklch(0.219 0.009 69.201);
--chart-2: oklch(0.209 0.011 19.249);
--chart-3: oklch(0.228 0.013 108.192);
--chart-4: oklch(0.24 0.014 19.34);
--chart-5: oklch(0.219 0.011 69.088);
}