Meantime is a shadcn/ui theme built around a light yellow primary color (#e0daa3) with light purple accents (#daa3e0). The light mode uses a neutral background (#ffffff). Dark mode keeps the light yellow primary (#e0daa3) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040401black |
| Foreground | #151404black | #fdfdfcwhite |
| Card | #ffffffwhite | #040401black |
| Card foreground | #151404black | #fdfdfcwhite |
| Popover | #ffffffwhite | #040401black |
| Popover foreground | #151404black | #fdfdfcwhite |
| Primary | #e0daa3palegoldenrod | #e0daa3palegoldenrod |
| Primary foreground | #3d3914darkolivegreen | #3d3914darkolivegreen |
| Secondary | #a3e0dalightblue | #a3e0dalightblue |
| Secondary foreground | #143d39darkslategray | #143d39darkslategray |
| Muted | #ddeeeclavender | #112220black |
| Muted foreground | #526f6ddimgray | #90adaadarkgray |
| Accent | #daa3e0plum | #daa3e0plum |
| Accent foreground | #39143dmidnightblue | #39143dmidnightblue |
| Destructive | #ab2507firebrick | #f5390forangered |
| Destructive foreground | #feebe7linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e0daa3palegoldenrod | #e0daa3palegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.52:1 | AAA |
| Text on card | 18.52:1 | AAA |
| Primary button | 8.23:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 4.55:1 | AA |
| Accent | 7.69:1 | AAA |
| Destructive | 6.06:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 8.23:1 | AAA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 7.69:1 | AAA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use Meantime in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.187 0.03 103.553);
--muted: oklch(0.936 0.018 189.624);
--muted-foreground: oklch(0.52 0.034 188.518);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.187 0.03 103.553);
--card: oklch(1 0 180);
--card-foreground: oklch(0.187 0.03 103.553);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.881 0.072 102.43);
--primary-foreground: oklch(0.34 0.055 102.998);
--secondary: oklch(0.865 0.063 188.344);
--secondary-foreground: oklch(0.331 0.046 186.205);
--accent: oklch(0.787 0.104 323.119);
--accent-foreground: oklch(0.269 0.084 323.56);
--destructive: oklch(0.485 0.174 32.994);
--destructive-foreground: oklch(0.954 0.022 32.679);
--ring: oklch(0.881 0.072 102.43);
--chart-1: oklch(0.881 0.072 102.43);
--chart-2: oklch(0.865 0.063 188.344);
--chart-3: oklch(0.787 0.104 323.119);
--chart-4: oklch(0.881 0.055 188.592);
--chart-5: oklch(0.885 0.076 102.477);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.012 104.218);
--foreground: oklch(0.993 0.001 101.303);
--muted: oklch(0.237 0.023 187.607);
--muted-foreground: oklch(0.724 0.032 189.04);
--popover: oklch(0.101 0.012 104.218);
--popover-foreground: oklch(0.993 0.001 101.303);
--card: oklch(0.101 0.012 104.218);
--card-foreground: oklch(0.993 0.001 101.303);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.881 0.072 102.43);
--primary-foreground: oklch(0.34 0.055 102.998);
--secondary: oklch(0.865 0.063 188.344);
--secondary-foreground: oklch(0.331 0.046 186.205);
--accent: oklch(0.787 0.104 323.119);
--accent-foreground: oklch(0.269 0.084 323.56);
--destructive: oklch(0.634 0.228 32.938);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.881 0.072 102.43);
--chart-1: oklch(0.881 0.072 102.43);
--chart-2: oklch(0.865 0.063 188.344);
--chart-3: oklch(0.787 0.104 323.119);
--chart-4: oklch(0.881 0.055 188.592);
--chart-5: oklch(0.885 0.076 102.477);
}