Kronos 2 is a shadcn/ui theme built around a deep blue primary color (#0d2f45) with deep blue accents (#0d1445). The light mode uses a neutral background (#f8fafc). Dark mode keeps the deep blue primary (#0d2f45) on a blue-tinted background (#03090c).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fafcghostwhite | #03090cblack |
| Foreground | #03090cblack | #f9fafbghostwhite |
| Card | #f8fafcghostwhite | #03090cblack |
| Card foreground | #03090cblack | #f9fafbghostwhite |
| Popover | #f8fafcghostwhite | #03090cblack |
| Popover foreground | #03090cblack | #f9fafbghostwhite |
| Primary | #0d2f45darkslategray | #0d2f45darkslategray |
| Primary foreground | #98ccebskyblue | #98ccebskyblue |
| Secondary | #0d453edarkslategray | #0d453edarkslategray |
| Secondary foreground | #43dbc9turquoise | #43dbc9turquoise |
| Muted | #edf2f1whitesmoke | #0d1211black |
| Muted foreground | #4c5d5bdarkslategray | #a2b3b1darkgray |
| Accent | #0d1445midnightblue | #0d1445midnightblue |
| Accent foreground | #98a2eblightsteelblue | #98a2eblightsteelblue |
| Destructive | #972002darkred | #fd4517orangered |
| Destructive foreground | #fed7cdbisque | #ffffffwhite |
| Border | #dfe1e2gainsboro | #1f2223black |
| Input | #dfe1e2gainsboro | #1f2223black |
| Ring | #0d2f45darkslategray | #0d2f45darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 6.33:1 | AA |
| Muted text | 6.14:1 | AA |
| Accent | 7.25:1 | AAA |
| Destructive | 6.25:1 | AA |
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 6.33:1 | AA |
| Muted text | 8.67:1 | AAA |
| Accent | 7.25:1 | AAA |
| Destructive | 3.48:1 | AA Large |
Paste this into your globals.css to use Kronos 2 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.003 234.555);
--foreground: oklch(0.132 0.015 228.259);
--muted: oklch(0.958 0.005 188.787);
--muted-foreground: oklch(0.462 0.021 187.806);
--popover: oklch(0.985 0.003 234.555);
--popover-foreground: oklch(0.132 0.015 228.259);
--card: oklch(0.985 0.003 234.555);
--card-foreground: oklch(0.132 0.015 228.259);
--border: oklch(0.908 0.003 234.555);
--input: oklch(0.908 0.003 234.555);
--primary: oklch(0.293 0.055 239.966);
--primary-foreground: oklch(0.819 0.07 236.034);
--secondary: oklch(0.352 0.056 183.511);
--secondary-foreground: oklch(0.809 0.128 183.688);
--accent: oklch(0.222 0.092 270.926);
--accent-foreground: oklch(0.733 0.107 277.638);
--destructive: oklch(0.443 0.159 33.614);
--destructive-foreground: oklch(0.909 0.047 34.339);
--ring: oklch(0.293 0.055 239.966);
--chart-1: oklch(0.293 0.055 239.966);
--chart-2: oklch(0.352 0.056 183.511);
--chart-3: oklch(0.222 0.092 270.926);
--chart-4: oklch(0.395 0.064 183.32);
--chart-5: oklch(0.294 0.057 240.334);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.132 0.015 228.259);
--foreground: oklch(0.985 0.001 234.526);
--muted: oklch(0.175 0.007 187.897);
--muted-foreground: oklch(0.754 0.019 188.308);
--popover: oklch(0.132 0.015 228.259);
--popover-foreground: oklch(0.985 0.001 234.526);
--card: oklch(0.132 0.015 228.259);
--card-foreground: oklch(0.985 0.001 234.526);
--border: oklch(0.248 0.005 234.78);
--input: oklch(0.248 0.005 234.78);
--primary: oklch(0.293 0.055 239.966);
--primary-foreground: oklch(0.819 0.07 236.034);
--secondary: oklch(0.352 0.056 183.511);
--secondary-foreground: oklch(0.809 0.128 183.688);
--accent: oklch(0.222 0.092 270.926);
--accent-foreground: oklch(0.733 0.107 277.638);
--destructive: oklch(0.657 0.226 33.965);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.293 0.055 239.966);
--chart-1: oklch(0.293 0.055 239.966);
--chart-2: oklch(0.352 0.056 183.511);
--chart-3: oklch(0.222 0.092 270.926);
--chart-4: oklch(0.395 0.064 183.32);
--chart-5: oklch(0.294 0.057 240.334);
}