Tame is a shadcn/ui theme built around a pink primary color (#e03e9a) with blue accents (#3e9ae0). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#e03e9a) on a pink-tinted background (#0b0508).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0508black |
| Foreground | #000000black | #f9f6f8whitesmoke |
| Card | #ffffffwhite | #0b0508black |
| Card foreground | #000000black | #f9f6f8whitesmoke |
| Popover | #ffffffwhite | #0b0508black |
| Popover foreground | #000000black | #f9f6f8whitesmoke |
| Primary | #e03e9apalevioletred | #e03e9apalevioletred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #9ae03eyellowgreen | #9ae03eyellowgreen |
| Secondary foreground | #2d460bdarkgreen | #2d460bdarkgreen |
| Muted | #dfe6d5gainsboro | #222a19black |
| Muted foreground | #525350darkslategray | #aeafacdarkgray |
| Accent | #3e9ae0cornflowerblue | #3e9ae0cornflowerblue |
| Accent foreground | #000000black | #000000black |
| Destructive | #c12415firebrick | #cf2617firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e03e9apalevioletred | #e03e9apalevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 3.95:1 | AA Large |
| Secondary button | 6.55:1 | AA |
| Muted text | 6.07:1 | AA |
| Accent | 6.87:1 | AA |
| Destructive | 5.96:1 | AA |
| Text on background | 18.86:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 3.95:1 | AA Large |
| Secondary button | 6.55:1 | AA |
| Muted text | 6.75:1 | AA |
| Accent | 6.87:1 | AA |
| Destructive | 5.33:1 | AA |
Paste this into your globals.css to use Tame in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.916 0.024 126.097);
--muted-foreground: oklch(0.441 0.006 125.908);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.628 0.214 350.331);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.829 0.2 130.418);
--secondary-foreground: oklch(0.361 0.088 130.606);
--accent: oklch(0.662 0.135 245.188);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.524 0.194 30.015);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.628 0.214 350.331);
--chart-1: oklch(0.628 0.214 350.331);
--chart-2: oklch(0.829 0.2 130.418);
--chart-3: oklch(0.662 0.135 245.188);
--chart-4: oklch(0.839 0.191 129.898);
--chart-5: oklch(0.631 0.22 350.703);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.017 341.885);
--foreground: oklch(0.976 0.004 341.9);
--muted: oklch(0.271 0.032 127.446);
--muted-foreground: oklch(0.752 0.005 125.826);
--popover: oklch(0.125 0.017 341.885);
--popover-foreground: oklch(0.976 0.004 341.9);
--card: oklch(0.125 0.017 341.885);
--card-foreground: oklch(0.976 0.004 341.9);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.628 0.214 350.331);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.829 0.2 130.418);
--secondary-foreground: oklch(0.361 0.088 130.606);
--accent: oklch(0.662 0.135 245.188);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.552 0.205 30.028);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.628 0.214 350.331);
--chart-1: oklch(0.628 0.214 350.331);
--chart-2: oklch(0.829 0.2 130.418);
--chart-3: oklch(0.662 0.135 245.188);
--chart-4: oklch(0.839 0.191 129.898);
--chart-5: oklch(0.631 0.22 350.703);
}