Little is a shadcn/ui theme built around a light teal primary color (#c5e7df) with light red accents (#e7c5cd). The light mode uses a neutral background (#fbfefd). Dark mode keeps the light teal primary (#c5e7df) on a neutral background (#020403).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #020403black |
| Foreground | #041511black | #ffffffwhite |
| Card | #f7fdfcmintcream | #030706black |
| Card foreground | #03110eblack | #ffffffwhite |
| Popover | #fbfefdwhite | #020403black |
| Popover foreground | #041511black | #ffffffwhite |
| Primary | #c5e7dfpowderblue | #c5e7dfpowderblue |
| Primary foreground | #24564bdarkslategray | #24564bdarkslategray |
| Secondary | #e7c5cdthistle | #e7c5cdthistle |
| Secondary foreground | #562430darkslategray | #562430darkslategray |
| Muted | #e9d8dcgainsboro | #27161ablack |
| Muted foreground | #535051darkslategray | #afacaddarkgray |
| Accent | #e7c5cdthistle | #e7c5cdthistle |
| Accent foreground | #562430darkslategray | #562430darkslategray |
| Destructive | #782b08saddlebrown | #e1510echocolate |
| Destructive foreground | #faccb7peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c5e7dfpowderblue | #c5e7dfpowderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.48:1 | AAA |
| Text on card | 18.73:1 | AAA |
| Primary button | 6.33:1 | AA |
| Secondary button | 7.87:1 | AAA |
| Muted text | 5.80:1 | AA |
| Accent | 7.87:1 | AAA |
| Destructive | 6.69:1 | AA |
| Text on background | 20.61:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 6.33:1 | AA |
| Secondary button | 7.87:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 7.87:1 | AAA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Little in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 180.856);
--foreground: oklch(0.18 0.025 176.929);
--muted: oklch(0.897 0.02 1.564);
--muted-foreground: oklch(0.435 0.004 1.245);
--popover: oklch(0.995 0.004 180.856);
--popover-foreground: oklch(0.18 0.025 176.929);
--card: oklch(0.989 0.007 180.75);
--card-foreground: oklch(0.163 0.022 178.134);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.901 0.037 179.769);
--primary-foreground: oklch(0.416 0.058 175.799);
--secondary: oklch(0.856 0.039 2.209);
--secondary-foreground: oklch(0.336 0.075 7.381);
--accent: oklch(0.856 0.039 2.209);
--accent-foreground: oklch(0.336 0.075 7.381);
--destructive: oklch(0.398 0.116 41.057);
--destructive-foreground: oklch(0.881 0.06 46.208);
--ring: oklch(0.901 0.037 179.769);
--chart-1: oklch(0.901 0.037 179.769);
--chart-2: oklch(0.856 0.039 2.209);
--chart-3: oklch(0.856 0.039 2.209);
--chart-4: oklch(0.883 0.031 1.936);
--chart-5: oklch(0.903 0.039 179.684);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.009 180.951);
--foreground: oklch(1 0 180);
--muted: oklch(0.225 0.029 4.4);
--muted-foreground: oklch(0.747 0.004 1.105);
--popover: oklch(0.097 0.009 180.951);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.122 0.011 180.951);
--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.901 0.037 179.769);
--primary-foreground: oklch(0.416 0.058 175.799);
--secondary: oklch(0.856 0.039 2.209);
--secondary-foreground: oklch(0.336 0.075 7.381);
--accent: oklch(0.856 0.039 2.209);
--accent-foreground: oklch(0.336 0.075 7.381);
--destructive: oklch(0.624 0.191 39.82);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.901 0.037 179.769);
--chart-1: oklch(0.901 0.037 179.769);
--chart-2: oklch(0.856 0.039 2.209);
--chart-3: oklch(0.856 0.039 2.209);
--chart-4: oklch(0.883 0.031 1.936);
--chart-5: oklch(0.903 0.039 179.684);
}