RPC stor is a shadcn/ui theme built around a muted deep teal primary color (#20322c) with muted light teal accents (#bcc7c4). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted deep teal primary (#20322c) on a neutral background (#030706).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #030706black |
| Foreground | #02120dblack | #f5f9f8whitesmoke |
| Card | #f8fcfbmintcream | #050a09black |
| Card foreground | #020e0ablack | #f9fbfamintcream |
| Popover | #fbfefdwhite | #030706black |
| Popover foreground | #02120dblack | #f5f9f8whitesmoke |
| Primary | #20322cdarkslategray | #20322cdarkslategray |
| Primary foreground | #b4cfc6silver | #b4cfc6silver |
| Secondary | #d8dad9gainsboro | #21302bdarkslategray |
| Secondary foreground | #3e4240darkslategray | #b7cdc5silver |
| Muted | #deede8gainsboro | #12211cblack |
| Muted foreground | #606261dimgray | #9d9f9edarkgray |
| Accent | #bcc7c4silver | #2a463ddarkslategray |
| Accent foreground | #252c2adarkslategray | #c6ddd5lightgrey |
| Destructive | #701100maroon | #ff4d2etomato |
| Destructive foreground | #ffb1a3lightpink | #ffffffwhite |
| Border | #e7e9e8lavender | #222524darkslategray |
| Input | #e7e9e8lavender | #222524darkslategray |
| Ring | #20322cdarkslategray | #20322cdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.85:1 | AAA |
| Text on card | 18.97:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 7.25:1 | AAA |
| Muted text | 5.09:1 | AA |
| Accent | 8.24:1 | AAA |
| Destructive | 6.81:1 | AA |
| Text on background | 19.08:1 | AAA |
| Text on card | 19.14:1 | AAA |
| Primary button | 8.18:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 6.25:1 | AA |
| Accent | 7.19:1 | AAA |
| Destructive | 3.30:1 | AA Large |
Paste this into your globals.css to use RPC stor in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 174.516);
--foreground: oklch(0.166 0.028 171.198);
--muted: oklch(0.934 0.018 174.029);
--muted-foreground: oklch(0.494 0.003 174.432);
--popover: oklch(0.994 0.002 174.516);
--popover-foreground: oklch(0.166 0.028 171.198);
--card: oklch(0.988 0.005 174.443);
--card-foreground: oklch(0.147 0.024 173.605);
--border: oklch(0.932 0.002 174.521);
--input: oklch(0.932 0.002 174.521);
--primary: oklch(0.298 0.026 171.713);
--primary-foreground: oklch(0.833 0.031 173.44);
--secondary: oklch(0.886 0.003 174.499);
--secondary-foreground: oklch(0.374 0.006 174.15);
--accent: oklch(0.821 0.013 174.116);
--accent-foreground: oklch(0.287 0.011 173.401);
--destructive: oklch(0.353 0.131 32.71);
--destructive-foreground: oklch(0.831 0.094 30.291);
--ring: oklch(0.298 0.026 171.713);
--chart-1: oklch(0.298 0.026 171.713);
--chart-2: oklch(0.886 0.003 174.499);
--chart-3: oklch(0.821 0.013 174.116);
--chart-4: oklch(0.909 0.002 174.519);
--chart-5: oklch(0.301 0.029 171.326);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.01 174.748);
--foreground: oklch(0.98 0.005 174.452);
--muted: oklch(0.233 0.023 171.196);
--muted-foreground: oklch(0.701 0.002 174.487);
--popover: oklch(0.121 0.01 174.748);
--popover-foreground: oklch(0.98 0.005 174.452);
--card: oklch(0.139 0.011 174.735);
--card-foreground: oklch(0.987 0.003 174.498);
--border: oklch(0.262 0.005 174.077);
--input: oklch(0.262 0.005 174.077);
--primary: oklch(0.298 0.026 171.713);
--primary-foreground: oklch(0.833 0.031 173.44);
--secondary: oklch(0.295 0.022 172.23);
--secondary-foreground: oklch(0.829 0.026 173.647);
--accent: oklch(0.369 0.038 171.085);
--accent-foreground: oklch(0.877 0.027 173.675);
--destructive: oklch(0.67 0.219 32.378);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.298 0.026 171.713);
--chart-1: oklch(0.298 0.026 171.713);
--chart-2: oklch(0.295 0.022 172.23);
--chart-3: oklch(0.369 0.038 171.085);
--chart-4: oklch(0.328 0.025 172.132);
--chart-5: oklch(0.301 0.029 171.326);
}