In-joke is a shadcn/ui theme built around a light yellow primary color (#e6dabc) with light violet accents (#dabce6). The light mode uses a neutral background (#fefdfb). Dark mode keeps the light yellow primary (#e6dabc) on a neutral background (#070603).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #070603black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fefdfbsnow | #070603black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefdfbsnow | #070603black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #e6dabcwheat | #e6dabcwheat |
| Primary foreground | #52421edarkolivegreen | #52421edarkolivegreen |
| Secondary | #bce6dapowderblue | #bce6dapowderblue |
| Secondary foreground | #1e5242darkslategray | #1e5242darkslategray |
| Muted | #dfe7e5gainsboro | #18201eblack |
| Muted foreground | #4a5955darkslategray | #a6b5b0darkgray |
| Accent | #dabce6thistle | #dabce6thistle |
| Accent foreground | #421e52midnightblue | #421e52midnightblue |
| Destructive | #c41003firebrick | #e21203red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e6dabcwheat | #e6dabcwheat |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.64:1 | AAA |
| Text on card | 20.64:1 | AAA |
| Primary button | 6.99:1 | AA |
| Secondary button | 6.61:1 | AA |
| Muted text | 5.85:1 | AA |
| Accent | 7.99:1 | AAA |
| Destructive | 6.14:1 | AA |
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 6.99:1 | AA |
| Secondary button | 6.61:1 | AA |
| Muted text | 7.79:1 | AAA |
| Accent | 7.99:1 | AAA |
| Destructive | 4.85:1 | AA |
Paste this into your globals.css to use In-joke in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 87.433);
--foreground: oklch(0 0 0);
--muted: oklch(0.921 0.009 176.372);
--muted-foreground: oklch(0.45 0.02 175.326);
--popover: oklch(0.994 0.002 87.433);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.002 87.433);
--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.889 0.042 87.569);
--primary-foreground: oklch(0.388 0.057 86.403);
--secondary: oklch(0.892 0.047 175.02);
--secondary-foreground: oklch(0.398 0.061 170.455);
--accent: oklch(0.834 0.066 315.738);
--accent-foreground: oklch(0.312 0.096 314.559);
--destructive: oklch(0.519 0.207 29.87);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.889 0.042 87.569);
--chart-1: oklch(0.889 0.042 87.569);
--chart-2: oklch(0.892 0.047 175.02);
--chart-3: oklch(0.834 0.066 315.738);
--chart-4: oklch(0.91 0.039 175.335);
--chart-5: oklch(0.891 0.044 87.57);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.012 92.175);
--foreground: oklch(1 0 180);
--muted: oklch(0.235 0.012 175.042);
--muted-foreground: oklch(0.76 0.017 175.974);
--popover: oklch(0.123 0.012 92.175);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.123 0.012 92.175);
--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.889 0.042 87.569);
--primary-foreground: oklch(0.388 0.057 86.403);
--secondary: oklch(0.892 0.047 175.02);
--secondary-foreground: oklch(0.398 0.061 170.455);
--accent: oklch(0.834 0.066 315.738);
--accent-foreground: oklch(0.312 0.096 314.559);
--destructive: oklch(0.578 0.231 29.801);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.889 0.042 87.569);
--chart-1: oklch(0.889 0.042 87.569);
--chart-2: oklch(0.892 0.047 175.02);
--chart-3: oklch(0.834 0.066 315.738);
--chart-4: oklch(0.91 0.039 175.335);
--chart-5: oklch(0.891 0.044 87.57);
}