Reliable is a shadcn/ui theme built around a deep green primary color (#07270f) with deep teal accents (#07271f). The light mode uses a neutral background (#fbfefc). Dark mode keeps the deep green primary (#07270f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f8fcf9mintcream | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fcf9mintcream | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #07270fblack | #07270fblack |
| Primary foreground | #27d352limegreen | #27d352limegreen |
| Secondary | #0f2707black | #0f2707black |
| Secondary foreground | #52d327limegreen | #52d327limegreen |
| Muted | #d9e1d6gainsboro | #21291eblack |
| Muted foreground | #5c7156dimgray | #95a98edarkseagreen |
| Accent | #07271fblack | #07271fblack |
| Accent foreground | #27d3a8lightseagreen | #27d3a8lightseagreen |
| Destructive | #9c0a07darkred | #f63f3ctomato |
| Destructive foreground | #fdd9d8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #07270fblack | #07270fblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.63:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 8.16:1 | AAA |
| Muted text | 3.95:1 | AA Large |
| Accent | 8.33:1 | AAA |
| Destructive | 6.55:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 8.16:1 | AAA |
| Muted text | 5.95:1 | AA |
| Accent | 8.33:1 | AAA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Reliable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 153.823);
--foreground: oklch(0 0 0);
--muted: oklch(0.9 0.017 137.795);
--muted-foreground: oklch(0.525 0.049 137.948);
--popover: oklch(0.987 0.006 153.768);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.006 153.768);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.241 0.058 148.585);
--primary-foreground: oklch(0.759 0.218 146.495);
--secondary: oklch(0.244 0.062 138.675);
--secondary-foreground: oklch(0.765 0.23 139.657);
--accent: oklch(0.246 0.04 173.22);
--accent-foreground: oklch(0.775 0.146 170.325);
--destructive: oklch(0.439 0.174 28.932);
--destructive-foreground: oklch(0.915 0.041 19.078);
--ring: oklch(0.241 0.058 148.585);
--chart-1: oklch(0.241 0.058 148.585);
--chart-2: oklch(0.244 0.062 138.675);
--chart-3: oklch(0.246 0.04 173.22);
--chart-4: oklch(0.289 0.077 138.984);
--chart-5: oklch(0.243 0.06 148.437);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.27 0.022 137.922);
--muted-foreground: oklch(0.712 0.046 137.881);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.241 0.058 148.585);
--primary-foreground: oklch(0.759 0.218 146.495);
--secondary: oklch(0.244 0.062 138.675);
--secondary-foreground: oklch(0.765 0.23 139.657);
--accent: oklch(0.246 0.04 173.22);
--accent-foreground: oklch(0.775 0.146 170.325);
--destructive: oklch(0.643 0.219 26.655);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.241 0.058 148.585);
--chart-1: oklch(0.241 0.058 148.585);
--chart-2: oklch(0.244 0.062 138.675);
--chart-3: oklch(0.246 0.04 173.22);
--chart-4: oklch(0.289 0.077 138.984);
--chart-5: oklch(0.243 0.06 148.437);
}