Minty is a shadcn/ui theme built around a light blue primary color (#a8cce1) with light orange accents (#e1bda8). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#a8cce1) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010304black |
| Foreground | #060f14black | #f5f8fawhitesmoke |
| Card | #ffffffwhite | #010304black |
| Card foreground | #060f14black | #f5f8fawhitesmoke |
| Popover | #ffffffwhite | #010304black |
| Popover foreground | #060f14black | #f5f8fawhitesmoke |
| Primary | #a8cce1lightsteelblue | #a8cce1lightsteelblue |
| Primary foreground | #173140darkslategray | #173140darkslategray |
| Secondary | #e1bda8tan | #e1bda8tan |
| Secondary foreground | #402617darkslategray | #402617darkslategray |
| Muted | #ebded6gainsboro | #291c14black |
| Muted foreground | #4c4038darkslategray | #c7bab3silver |
| Accent | #e1bda8tan | #e1bda8tan |
| Accent foreground | #402617darkslategray | #402617darkslategray |
| Destructive | #933601saddlebrown | #fe7120tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a8cce1lightsteelblue | #a8cce1lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.33:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 7.98:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 7.58:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 7.55:1 | AAA |
| Text on background | 19.38:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 7.98:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 8.74:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 7.60:1 | AAA |
Paste this into your globals.css to use Minty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.16 0.017 233.006);
--muted: oklch(0.908 0.018 52.319);
--muted-foreground: oklch(0.381 0.021 51.865);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.16 0.017 233.006);
--card: oklch(1 0 180);
--card-foreground: oklch(0.16 0.017 233.006);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.826 0.048 233.53);
--primary-foreground: oklch(0.299 0.043 235.996);
--secondary: oklch(0.823 0.05 51.809);
--secondary-foreground: oklch(0.297 0.047 50.208);
--accent: oklch(0.823 0.05 51.809);
--accent-foreground: oklch(0.297 0.047 50.208);
--destructive: oklch(0.46 0.136 42.815);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.826 0.048 233.53);
--chart-1: oklch(0.826 0.048 233.53);
--chart-2: oklch(0.823 0.05 51.809);
--chart-3: oklch(0.823 0.05 51.809);
--chart-4: oklch(0.847 0.043 51.93);
--chart-5: oklch(0.826 0.051 233.599);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.092 0.01 225.7);
--foreground: oklch(0.977 0.004 232.638);
--muted: oklch(0.24 0.025 51.213);
--muted-foreground: oklch(0.797 0.018 52.288);
--popover: oklch(0.092 0.01 225.7);
--popover-foreground: oklch(0.977 0.004 232.638);
--card: oklch(0.092 0.01 225.7);
--card-foreground: oklch(0.977 0.004 232.638);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.826 0.048 233.53);
--primary-foreground: oklch(0.299 0.043 235.996);
--secondary: oklch(0.823 0.05 51.809);
--secondary-foreground: oklch(0.297 0.047 50.208);
--accent: oklch(0.823 0.05 51.809);
--accent-foreground: oklch(0.297 0.047 50.208);
--destructive: oklch(0.71 0.191 45.057);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.826 0.048 233.53);
--chart-1: oklch(0.826 0.048 233.53);
--chart-2: oklch(0.823 0.05 51.809);
--chart-3: oklch(0.823 0.05 51.809);
--chart-4: oklch(0.847 0.043 51.93);
--chart-5: oklch(0.826 0.051 233.599);
}