TimeWrap Color Palette is a shadcn/ui theme built around a vivid indigo primary color (#695cf4) with vivid light indigo accents (#c2bcff). The light mode uses a neutral background (#ffffff). Dark mode switches to a light green primary (#e2e9b9) on a neutral background (#030402).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030402black |
| Foreground | #262626darkslategray | #f9faf4whitesmoke |
| Card | #ffffffwhite | #060703black |
| Card foreground | #262626darkslategray | #fbfcf8snow |
| Popover | #ffffffwhite | #030402black |
| Popover foreground | #64748bslategray | #f9faf4whitesmoke |
| Primary | #695cf4mediumslateblue | #e2e9b9palegoldenrod |
| Primary foreground | #ffffffwhite | #4d551bdarkolivegreen |
| Secondary | #f1f1f1whitesmoke | #b9e2e9powderblue |
| Secondary foreground | #262626darkslategray | #1b4d55darkslategray |
| Muted | #f1f1f1whitesmoke | #0c1213black |
| Muted foreground | #64748bslategray | #a6aeb0darkgray |
| Accent | #c2bcfflightsteelblue | #e9b9e2thistle |
| Accent foreground | #ffffffwhite | #551b4dindigo |
| Destructive | #ef4444tomato | #ec5c22chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #f1f1f1whitesmoke | #272725darkslategray |
| Input | #f1f1f1whitesmoke | #272725darkslategray |
| Ring | #c2bcfflightsteelblue | #e2e9b9palegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 15.13:1 | AAA |
| Text on card | 15.13:1 | AAA |
| Primary button | 4.73:1 | AA |
| Secondary button | 13.39:1 | AAA |
| Muted text | 4.21:1 | AA Large |
| Accent | 1.76:1 | Fail |
| Destructive | 3.76:1 | AA Large |
| Text on background | 19.61:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 6.30:1 | AA |
| Secondary button | 6.74:1 | AA |
| Muted text | 8.37:1 | AAA |
| Accent | 7.58:1 | AAA |
| Destructive | 6.09:1 | AA |
Paste this into your globals.css to use TimeWrap Color Palette in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.269 0 180);
--muted: oklch(0.958 0 180);
--muted-foreground: oklch(0.554 0.041 257.409);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.554 0.041 257.409);
--card: oklch(1 0 180);
--card-foreground: oklch(0.269 0 180);
--border: oklch(0.958 0 180);
--input: oklch(0.958 0 180);
--primary: oklch(0.575 0.219 280.854);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.958 0 180);
--secondary-foreground: oklch(0.269 0 180);
--accent: oklch(0.824 0.094 288.261);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.637 0.208 25.33);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.824 0.094 288.261);
--chart-1: oklch(0.575 0.219 280.854);
--chart-2: oklch(0.958 0 180);
--chart-3: oklch(0.824 0.094 288.261);
--chart-4: oklch(0.981 0 168.69);
--chart-5: oklch(0.572 0.226 280.366);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.1 0.01 114.005);
--foreground: oklch(0.984 0.008 113.456);
--muted: oklch(0.176 0.01 209.501);
--muted-foreground: oklch(0.746 0.01 209.439);
--popover: oklch(0.1 0.01 114.005);
--popover-foreground: oklch(0.984 0.008 113.456);
--card: oklch(0.126 0.013 114.005);
--card-foreground: oklch(0.989 0.005 113.405);
--border: oklch(0.273 0.004 113.592);
--input: oklch(0.273 0.004 113.592);
--primary: oklch(0.917 0.063 114.585);
--primary-foreground: oklch(0.43 0.081 117.211);
--secondary: oklch(0.886 0.043 209.47);
--secondary-foreground: oklch(0.389 0.054 211.126);
--accent: oklch(0.841 0.076 331.365);
--accent-foreground: oklch(0.333 0.108 334.119);
--destructive: oklch(0.654 0.19 39.458);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.917 0.063 114.585);
--chart-1: oklch(0.917 0.063 114.585);
--chart-2: oklch(0.886 0.043 209.47);
--chart-3: oklch(0.841 0.076 331.365);
--chart-4: oklch(0.904 0.036 209.444);
--chart-5: oklch(0.92 0.066 114.651);
}