Remarkable is a shadcn/ui theme built around a deep teal primary color (#0a2923) with deep cyan accents (#0a2029). The light mode uses a neutral background (#f7fdfc). Dark mode keeps the deep teal primary (#0a2923) on a teal-tinted background (#030c0a).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfcmintcream | #030c0ablack |
| Foreground | #041512black | #f9fbfbghostwhite |
| Card | #f3fcfamintcream | #04100eblack |
| Card foreground | #03110eblack | #fcfdfdwhite |
| Popover | #f3fcfamintcream | #04100eblack |
| Popover foreground | #03110eblack | #fcfdfdwhite |
| Primary | #0a2923black | #0a2923black |
| Primary foreground | #30cfaflightseagreen | #30cfaflightseagreen |
| Secondary | #0a2913black | #0a2913black |
| Secondary foreground | #30cf60mediumseagreen | #30cf60mediumseagreen |
| Muted | #f0f4f1whitesmoke | #0b0f0cblack |
| Muted foreground | #4c6153darkslategray | #9eb3a4darkgray |
| Accent | #0a2029black | #0a2029black |
| Accent foreground | #83c5e2skyblue | #83c5e2skyblue |
| Destructive | #b91004firebrick | #f51505red |
| Destructive foreground | #fff1f0seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0a2923black | #0a2923black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.19:1 | AAA |
| Text on card | 18.43:1 | AAA |
| Primary button | 7.85:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 6.03:1 | AA |
| Accent | 8.84:1 | AAA |
| Destructive | 6.08:1 | AA |
| Text on background | 19.05:1 | AAA |
| Text on card | 18.97:1 | AAA |
| Primary button | 7.85:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 8.69:1 | AAA |
| Accent | 8.84:1 | AAA |
| Destructive | 4.20:1 | AA Large |
Paste this into your globals.css to use Remarkable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.007 183);
--foreground: oklch(0.181 0.026 179.263);
--muted: oklch(0.964 0.005 155.762);
--muted-foreground: oklch(0.471 0.034 154.392);
--popover: oklch(0.984 0.01 182.907);
--popover-foreground: oklch(0.163 0.023 180.35);
--card: oklch(0.984 0.01 182.907);
--card-foreground: oklch(0.163 0.023 180.35);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.257 0.039 177.451);
--primary-foreground: oklch(0.767 0.134 175.369);
--secondary: oklch(0.252 0.056 150.294);
--secondary-foreground: oklch(0.75 0.199 148.384);
--accent: oklch(0.23 0.033 228.826);
--accent-foreground: oklch(0.791 0.078 226.866);
--destructive: oklch(0.498 0.198 29.87);
--destructive-foreground: oklch(0.969 0.015 22.391);
--ring: oklch(0.257 0.039 177.451);
--chart-1: oklch(0.257 0.039 177.451);
--chart-2: oklch(0.252 0.056 150.294);
--chart-3: oklch(0.23 0.033 228.826);
--chart-4: oklch(0.295 0.068 149.842);
--chart-5: oklch(0.259 0.04 177.201);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.017 182.384);
--foreground: oklch(0.987 0.003 183.104);
--muted: oklch(0.161 0.008 154.848);
--muted-foreground: oklch(0.746 0.031 155.054);
--popover: oklch(0.16 0.019 180.748);
--popover-foreground: oklch(0.993 0.001 183.145);
--card: oklch(0.16 0.019 180.748);
--card-foreground: oklch(0.993 0.001 183.145);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.257 0.039 177.451);
--primary-foreground: oklch(0.767 0.134 175.369);
--secondary: oklch(0.252 0.056 150.294);
--secondary-foreground: oklch(0.75 0.199 148.384);
--accent: oklch(0.23 0.033 228.826);
--accent-foreground: oklch(0.791 0.078 226.866);
--destructive: oklch(0.614 0.245 29.759);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.257 0.039 177.451);
--chart-1: oklch(0.257 0.039 177.451);
--chart-2: oklch(0.252 0.056 150.294);
--chart-3: oklch(0.23 0.033 228.826);
--chart-4: oklch(0.295 0.068 149.842);
--chart-5: oklch(0.259 0.04 177.201);
}