Tiny is a shadcn/ui theme built around a light green primary color (#eaf6ef) with light pink accents (#f6eaf1). The light mode uses a neutral background (#f8fcf9). Dark mode keeps the light green primary (#eaf6ef) on a neutral background (#030705).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf9mintcream | #030705black |
| Foreground | #000000black | #f6f9f7whitesmoke |
| Card | #f4faf7whitesmoke | #050b07black |
| Card foreground | #000000black | #f9fbfamintcream |
| Popover | #f8fcf9mintcream | #030705black |
| Popover foreground | #000000black | #f6f9f7whitesmoke |
| Primary | #eaf6efhoneydew | #eaf6efhoneydew |
| Primary foreground | #163221darkslategray | #163221darkslategray |
| Secondary | #f6eaf1lavenderblush | #f6eaf1lavenderblush |
| Secondary foreground | #79355ddimgray | #79355ddimgray |
| Muted | #f4ebf1whitesmoke | #140b10black |
| Muted foreground | #60525bdimgray | #ad9fa7darkgray |
| Accent | #f6eaf1lavenderblush | #f6eaf1lavenderblush |
| Accent foreground | #79355ddimgray | #79355ddimgray |
| Destructive | #75270asaddlebrown | #ed5f2cchocolate |
| Destructive foreground | #f9cab9peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eaf6efhoneydew | #eaf6efhoneydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.28:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 12.47:1 | AAA |
| Secondary button | 7.22:1 | AAA |
| Muted text | 6.31:1 | AA |
| Accent | 7.22:1 | AAA |
| Destructive | 6.90:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 12.47:1 | AAA |
| Secondary button | 7.22:1 | AAA |
| Muted text | 7.65:1 | AAA |
| Accent | 7.22:1 | AAA |
| Destructive | 6.27:1 | AA |
Paste this into your globals.css to use Tiny in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 160.105);
--foreground: oklch(0 0 0);
--muted: oklch(0.949 0.012 340.515);
--muted-foreground: oklch(0.456 0.023 341.341);
--popover: oklch(0.987 0.005 160.105);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.008 160.04);
--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.961 0.016 159.853);
--primary-foreground: oklch(0.288 0.046 155.706);
--secondary: oklch(0.948 0.016 340.612);
--secondary-foreground: oklch(0.433 0.107 345.509);
--accent: oklch(0.948 0.016 340.612);
--accent-foreground: oklch(0.433 0.107 345.509);
--destructive: oklch(0.387 0.116 38.211);
--destructive-foreground: oklch(0.875 0.059 40.943);
--ring: oklch(0.961 0.016 159.853);
--chart-1: oklch(0.961 0.016 159.853);
--chart-2: oklch(0.948 0.016 340.612);
--chart-3: oklch(0.948 0.016 340.612);
--chart-4: oklch(0.974 0.008 340.417);
--chart-5: oklch(0.962 0.017 159.824);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.012 160.15);
--foreground: oklch(0.979 0.003 160.158);
--muted: oklch(0.164 0.019 342.641);
--muted-foreground: oklch(0.716 0.02 340.871);
--popover: oklch(0.121 0.012 160.15);
--popover-foreground: oklch(0.979 0.003 160.158);
--card: oklch(0.138 0.014 160.131);
--card-foreground: oklch(0.986 0.002 160.183);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.961 0.016 159.853);
--primary-foreground: oklch(0.288 0.046 155.706);
--secondary: oklch(0.948 0.016 340.612);
--secondary-foreground: oklch(0.433 0.107 345.509);
--accent: oklch(0.948 0.016 340.612);
--accent-foreground: oklch(0.433 0.107 345.509);
--destructive: oklch(0.661 0.186 38.946);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.961 0.016 159.853);
--chart-1: oklch(0.961 0.016 159.853);
--chart-2: oklch(0.948 0.016 340.612);
--chart-3: oklch(0.948 0.016 340.612);
--chart-4: oklch(0.974 0.008 340.417);
--chart-5: oklch(0.962 0.017 159.824);
}