Look at the Bright Side Krill is a shadcn/ui theme built around a vivid yellow primary color (#ffc000) with teal accents (#74d8c1). The light mode uses a neutral background (#ffffff). Dark mode switches to a near-white primary (#f9fafb) on a blue-tinted background (#030712).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030712black |
| Foreground | #2b3648darkslategray | #f9fafbghostwhite |
| Card | #ffffffwhite | #030712black |
| Card foreground | #2b3648darkslategray | #f9fafbghostwhite |
| Popover | #ffffffwhite | #030712black |
| Popover foreground | #2b3648darkslategray | #f9fafbghostwhite |
| Primary | #ffc000gold | #f9fafbghostwhite |
| Primary foreground | #f9fafbghostwhite | #111827black |
| Secondary | #fbf9f1floralwhite | #1f2937darkslategray |
| Secondary foreground | #2b3648darkslategray | #f9fafbghostwhite |
| Muted | #f3f4f6whitesmoke | #1f2937darkslategray |
| Muted foreground | #6b7280slategray | #9ca3afdarkgray |
| Accent | #74d8c1mediumaquamarine | #1f2937darkslategray |
| Accent foreground | #014135darkslategray | #f9fafbghostwhite |
| Destructive | #b13039brown | #7f1d1dmaroon |
| Destructive foreground | #f9fafbghostwhite | #f9fafbghostwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2b3648darkslategray | #d1d5dblightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 12.18:1 | AAA |
| Text on card | 12.18:1 | AAA |
| Primary button | 1.57:1 | Fail |
| Secondary button | 11.55:1 | AAA |
| Muted text | 4.39:1 | AA Large |
| Accent | 6.81:1 | AA |
| Destructive | 5.99:1 | AA |
| Text on background | 19.27:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 16.96:1 | AAA |
| Secondary button | 14.02:1 | AAA |
| Muted text | 5.77:1 | AA |
| Accent | 14.02:1 | AAA |
| Destructive | 9.58:1 | AAA |
Paste this into your globals.css to use Look at the Bright Side Krill in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.331 0.035 260.117);
--muted: oklch(0.967 0.003 264.542);
--muted-foreground: oklch(0.551 0.023 264.365);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.331 0.035 260.117);
--card: oklch(1 0 180);
--card-foreground: oklch(0.331 0.035 260.117);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.842 0.173 84.583);
--primary-foreground: oklch(0.984 0.002 247.84);
--secondary: oklch(0.981 0.011 95.161);
--secondary-foreground: oklch(0.331 0.035 260.117);
--accent: oklch(0.815 0.101 176.872);
--accent-foreground: oklch(0.335 0.063 175.249);
--destructive: oklch(0.51 0.165 21.645);
--destructive-foreground: oklch(0.984 0.002 247.84);
--ring: oklch(0.331 0.035 260.117);
--chart-1: oklch(0.842 0.173 84.583);
--chart-2: oklch(0.981 0.011 95.161);
--chart-3: oklch(0.815 0.101 176.872);
--chart-4: oklch(0.997 0.002 95.053);
--chart-5: oklch(0.85 0.175 84.17);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.129 0.027 261.671);
--foreground: oklch(0.984 0.002 247.84);
--muted: oklch(0.278 0.03 256.848);
--muted-foreground: oklch(0.714 0.019 261.333);
--popover: oklch(0.129 0.027 261.671);
--popover-foreground: oklch(0.984 0.002 247.84);
--card: oklch(0.129 0.027 261.671);
--card-foreground: oklch(0.984 0.002 247.84);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.984 0.002 247.84);
--primary-foreground: oklch(0.21 0.032 264.652);
--secondary: oklch(0.278 0.03 256.848);
--secondary-foreground: oklch(0.984 0.002 247.84);
--accent: oklch(0.278 0.03 256.848);
--accent-foreground: oklch(0.984 0.002 247.84);
--destructive: oklch(0.396 0.133 25.721);
--destructive-foreground: oklch(0.984 0.002 247.84);
--ring: oklch(0.872 0.009 258.338);
--chart-1: oklch(0.984 0.002 247.84);
--chart-2: oklch(0.278 0.03 256.848);
--chart-3: oklch(0.278 0.03 256.848);
--chart-4: oklch(0.308 0.034 256.852);
--chart-5: oklch(0.984 0.002 247.843);
}