Remarkable is a shadcn/ui theme built around a vivid orange primary color (#ca7607) with vivid violet accents (#7607ca). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the vivid orange primary (#ca7607) on an orange-tinted background (#0e0b07).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #0e0b07black |
| Foreground | #0d0802black | #faf8f5whitesmoke |
| Card | #fdfdfcwhite | #0e0b07black |
| Card foreground | #0d0802black | #faf8f5whitesmoke |
| Popover | #fdfdfcwhite | #0e0b07black |
| Popover foreground | #0d0802black | #faf8f5whitesmoke |
| Primary | #ca7607darkgoldenrod | #ca7607darkgoldenrod |
| Primary foreground | #000000black | #000000black |
| Secondary | #07ca76springgreen | #07ca76springgreen |
| Secondary foreground | #000503black | #000503black |
| Muted | #e3f3echoneydew | #0c1c15black |
| Muted foreground | #567165dimgray | #8ea99ddarkseagreen |
| Accent | #7607cadarkviolet | #7607cadarkviolet |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #c62906firebrick | #df2e07orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ca7607darkgoldenrod | #ca7607darkgoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.54:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 6.07:1 | AA |
| Secondary button | 9.47:1 | AAA |
| Muted text | 4.62:1 | AA |
| Accent | 7.93:1 | AAA |
| Destructive | 5.64:1 | AA |
| Text on background | 18.55:1 | AAA |
| Text on card | 18.55:1 | AAA |
| Primary button | 6.07:1 | AA |
| Secondary button | 9.47:1 | AAA |
| Muted text | 6.94:1 | AA |
| Accent | 7.93:1 | AAA |
| Destructive | 4.63:1 | AA |
Paste this into your globals.css to use Remarkable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.001 74.946);
--foreground: oklch(0.14 0.019 82.675);
--muted: oklch(0.949 0.019 168.159);
--muted-foreground: oklch(0.524 0.038 166.535);
--popover: oklch(0.993 0.001 74.946);
--popover-foreground: oklch(0.14 0.019 82.675);
--card: oklch(0.993 0.001 74.946);
--card-foreground: oklch(0.14 0.019 82.675);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.643 0.145 62.546);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.737 0.181 155.168);
--secondary-foreground: oklch(0.102 0.019 169.106);
--accent: oklch(0.468 0.245 300.771);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.537 0.196 32.722);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.643 0.145 62.546);
--chart-1: oklch(0.643 0.145 62.546);
--chart-2: oklch(0.737 0.181 155.168);
--chart-3: oklch(0.468 0.245 300.771);
--chart-4: oklch(0.777 0.191 155.079);
--chart-5: oklch(0.648 0.148 61.865);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.15 0.01 76.722);
--foreground: oklch(0.979 0.004 74.927);
--muted: oklch(0.211 0.026 164.601);
--muted-foreground: oklch(0.712 0.035 167.262);
--popover: oklch(0.15 0.01 76.722);
--popover-foreground: oklch(0.979 0.004 74.927);
--card: oklch(0.15 0.01 76.722);
--card-foreground: oklch(0.979 0.004 74.927);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.643 0.145 62.546);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.737 0.181 155.168);
--secondary-foreground: oklch(0.102 0.019 169.106);
--accent: oklch(0.468 0.245 300.771);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.586 0.215 32.596);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.643 0.145 62.546);
--chart-1: oklch(0.643 0.145 62.546);
--chart-2: oklch(0.737 0.181 155.168);
--chart-3: oklch(0.468 0.245 300.771);
--chart-4: oklch(0.777 0.191 155.079);
--chart-5: oklch(0.648 0.148 61.865);
}