Ringed is a shadcn/ui theme built around a muted pink primary color (#9c7386) with muted red accents (#9c7473). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted pink primary (#9c7386) on a pink-tinted background (#0b0407).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0407black |
| Foreground | #0c0307black | #f8f6f7whitesmoke |
| Card | #ffffffwhite | #0b0407black |
| Card foreground | #0c0307black | #f8f6f7whitesmoke |
| Popover | #ffffffwhite | #0b0407black |
| Popover foreground | #0c0307black | #f8f6f7whitesmoke |
| Primary | #9c7386gray | #9c7386gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #9c739agray | #9c739agray |
| Secondary foreground | #000000black | #000000black |
| Muted | #efdceflavender | #231023black |
| Muted foreground | #6b5b6bdimgray | #a494a3darkgray |
| Accent | #9c7473gray | #9c7473gray |
| Accent foreground | #000000black | #000000black |
| Destructive | #ae4609saddlebrown | #f36a1bchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9c7386gray | #9c7386gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.35:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 5.18:1 | AA |
| Secondary button | 5.31:1 | AA |
| Muted text | 4.83:1 | AA |
| Accent | 5.15:1 | AA |
| Destructive | 5.70:1 | AA |
| Text on background | 18.86:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 5.18:1 | AA |
| Secondary button | 5.31:1 | AA |
| Muted text | 6.28:1 | AA |
| Accent | 5.15:1 | AA |
| Destructive | 6.90:1 | AA |
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.121 0.025 346.978);
--muted: oklch(0.915 0.033 326.845);
--muted-foreground: oklch(0.494 0.031 327.072);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.121 0.025 346.978);
--card: oklch(1 0 180);
--card-foreground: oklch(0.121 0.025 346.978);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.601 0.057 349.339);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.609 0.075 327.551);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.598 0.05 20.923);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.527 0.15 43.531);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.601 0.057 349.339);
--chart-1: oklch(0.601 0.057 349.339);
--chart-2: oklch(0.609 0.075 327.551);
--chart-3: oklch(0.598 0.05 20.923);
--chart-4: oklch(0.635 0.07 327.446);
--chart-5: oklch(0.598 0.068 349.771);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.02 346.854);
--foreground: oklch(0.976 0.002 346.969);
--muted: oklch(0.209 0.046 328.254);
--muted-foreground: oklch(0.684 0.029 326.898);
--popover: oklch(0.123 0.02 346.854);
--popover-foreground: oklch(0.976 0.002 346.969);
--card: oklch(0.123 0.02 346.854);
--card-foreground: oklch(0.976 0.002 346.969);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.601 0.057 349.339);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.609 0.075 327.551);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.598 0.05 20.923);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.684 0.187 44.754);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.601 0.057 349.339);
--chart-1: oklch(0.601 0.057 349.339);
--chart-2: oklch(0.609 0.075 327.551);
--chart-3: oklch(0.598 0.05 20.923);
--chart-4: oklch(0.635 0.07 327.446);
--chart-5: oklch(0.598 0.068 349.771);
}