Limited is a shadcn/ui theme built around a light red primary color (#f9e3dd) with light yellow accents (#f9f1dd). The light mode uses a neutral background (#fefcfb). Dark mode keeps the light red primary (#f9e3dd) on a red-tinted background (#0d0907).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #0d0907black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #fcf9f8snow | #110b09black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcf9f8snow | #110b09black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #f9e3ddmistyrose | #f9e3ddmistyrose |
| Primary foreground | #8a3419saddlebrown | #8a3419saddlebrown |
| Secondary | #f9dde4mistyrose | #f9dde4mistyrose |
| Secondary foreground | #8a1937brown | #8a1937brown |
| Muted | #f7eef0whitesmoke | #11080bblack |
| Muted foreground | #5f585adimgray | #a7a0a1darkgray |
| Accent | #f9f1ddbeige | #f9f1ddbeige |
| Accent foreground | #342809black | #342809black |
| Destructive | #99140fdarkred | #e92b25crimson |
| Destructive foreground | #fcdfdfmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f9e3ddmistyrose | #f9e3ddmistyrose |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.50:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 6.59:1 | AA |
| Secondary button | 7.22:1 | AAA |
| Muted text | 6.07:1 | AA |
| Accent | 12.83:1 | AAA |
| Destructive | 6.80:1 | AA |
| Text on background | 19.38:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 6.59:1 | AA |
| Secondary button | 7.22:1 | AAA |
| Muted text | 7.68:1 | AAA |
| Accent | 12.83:1 | AAA |
| Destructive | 4.32:1 | AA Large |
Paste this into your globals.css to use Limited in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 37.733);
--foreground: oklch(0 0 0);
--muted: oklch(0.956 0.01 359.092);
--muted-foreground: oklch(0.468 0.01 359.384);
--popover: oklch(0.984 0.004 37.723);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.004 37.723);
--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.932 0.025 37.637);
--primary-foreground: oklch(0.442 0.124 37.068);
--secondary: oklch(0.921 0.033 359.769);
--secondary-foreground: oklch(0.418 0.147 11.651);
--accent: oklch(0.959 0.028 90.317);
--accent-foreground: oklch(0.284 0.048 88.646);
--destructive: oklch(0.438 0.167 28.748);
--destructive-foreground: oklch(0.928 0.031 20.099);
--ring: oklch(0.932 0.025 37.637);
--chart-1: oklch(0.932 0.025 37.637);
--chart-2: oklch(0.921 0.033 359.769);
--chart-3: oklch(0.959 0.028 90.317);
--chart-4: oklch(0.951 0.02 359.378);
--chart-5: oklch(0.931 0.027 37.634);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.009 39.999);
--foreground: oklch(0.992 0.001 37.736);
--muted: oklch(0.15 0.017 1.389);
--muted-foreground: oklch(0.711 0.009 359.141);
--popover: oklch(0.155 0.011 37.931);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.155 0.011 37.931);
--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.932 0.025 37.637);
--primary-foreground: oklch(0.442 0.124 37.068);
--secondary: oklch(0.921 0.033 359.769);
--secondary-foreground: oklch(0.418 0.147 11.651);
--accent: oklch(0.959 0.028 90.317);
--accent-foreground: oklch(0.284 0.048 88.646);
--destructive: oklch(0.605 0.224 28.394);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.932 0.025 37.637);
--chart-1: oklch(0.932 0.025 37.637);
--chart-2: oklch(0.921 0.033 359.769);
--chart-3: oklch(0.959 0.028 90.317);
--chart-4: oklch(0.951 0.02 359.378);
--chart-5: oklch(0.931 0.027 37.634);
}