Ringed is a shadcn/ui theme built around a blue primary color (#477790) with orange accents (#905f47). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#477790) on a blue-tinted background (#070b0d).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070b0dblack |
| Foreground | #030d11black | #f9fafbghostwhite |
| Card | #ffffffwhite | #070b0dblack |
| Card foreground | #030d11black | #f9fafbghostwhite |
| Popover | #ffffffwhite | #070b0dblack |
| Popover foreground | #030d11black | #f9fafbghostwhite |
| Primary | #477790steelblue | #477790steelblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #905f47sienna | #905f47sienna |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f4eeeclinen | #130e0bblack |
| Muted foreground | #4a403bdarkslategray | #c4bab5silver |
| Accent | #905f47sienna | #905f47sienna |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a24310saddlebrown | #eb7637tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #477790steelblue | #477790steelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.63:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 4.86:1 | AA |
| Secondary button | 5.38:1 | AA |
| Muted text | 8.77:1 | AAA |
| Accent | 5.38:1 | AA |
| Destructive | 6.24:1 | AA |
| Text on background | 18.88:1 | AAA |
| Text on card | 18.88:1 | AAA |
| Primary button | 4.86:1 | AA |
| Secondary button | 5.38:1 | AA |
| Muted text | 10.07:1 | AAA |
| Accent | 5.38:1 | AA |
| Destructive | 7.20:1 | AAA |
Paste this into your globals.css to use Ringed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.149 0.019 226.606);
--muted: oklch(0.954 0.007 48.664);
--muted-foreground: oklch(0.379 0.016 48.283);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.149 0.019 226.606);
--card: oklch(1 0 180);
--card-foreground: oklch(0.149 0.019 226.606);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.545 0.065 231.376);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.532 0.073 47.247);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.532 0.073 47.247);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.505 0.139 43.716);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.545 0.065 231.376);
--chart-1: oklch(0.545 0.065 231.376);
--chart-2: oklch(0.532 0.073 47.247);
--chart-3: oklch(0.532 0.073 47.247);
--chart-4: oklch(0.559 0.078 47.233);
--chart-5: oklch(0.548 0.07 231.712);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.147 0.009 227.917);
--foreground: oklch(0.985 0.002 228.773);
--muted: oklch(0.169 0.011 48.075);
--muted-foreground: oklch(0.796 0.013 48.555);
--popover: oklch(0.147 0.009 227.917);
--popover-foreground: oklch(0.985 0.002 228.773);
--card: oklch(0.147 0.009 227.917);
--card-foreground: oklch(0.985 0.002 228.773);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.545 0.065 231.376);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.532 0.073 47.247);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.532 0.073 47.247);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.692 0.163 46.198);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.545 0.065 231.376);
--chart-1: oklch(0.545 0.065 231.376);
--chart-2: oklch(0.532 0.073 47.247);
--chart-3: oklch(0.532 0.073 47.247);
--chart-4: oklch(0.559 0.078 47.233);
--chart-5: oklch(0.548 0.07 231.712);
}