Icebreaker is a shadcn/ui theme built around a light yellow primary color (#eaeca1) with muted light yellow accents (#e7e8de). The light mode uses a neutral background (#fefefb). Dark mode keeps the light yellow primary (#eaeca1) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #040401black |
| Foreground | #0f0f05black | #ffffffwhite |
| Card | #fefefbwhite | #040401black |
| Card foreground | #0f0f05black | #ffffffwhite |
| Popover | #fefefbwhite | #040401black |
| Popover foreground | #0f0f05black | #ffffffwhite |
| Primary | #eaeca1palegoldenrod | #eaeca1palegoldenrod |
| Primary foreground | #4b4d0fdarkolivegreen | #4b4d0fdarkolivegreen |
| Secondary | #e7e8degainsboro | #28281fdarkslategray |
| Secondary foreground | #56573ddarkolivegreen | #c5c5b4silver |
| Muted | #f4f5f0whitesmoke | #0f0f0ablack |
| Muted foreground | #4c4c38darkolivegreen | #c6c7b3silver |
| Accent | #e7e8degainsboro | #28281fdarkslategray |
| Accent foreground | #56573ddarkolivegreen | #c5c5b4silver |
| Destructive | #b71c0bfirebrick | #f23621orangered |
| Destructive foreground | #fef6f5lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eaeca1palegoldenrod | #eaeca1palegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.00:1 | AAA |
| Text on card | 19.00:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 6.00:1 | AA |
| Muted text | 7.97:1 | AAA |
| Accent | 6.00:1 | AA |
| Destructive | 6.18:1 | AA |
| Text on background | 20.56:1 | AAA |
| Text on card | 20.56:1 | AAA |
| Primary button | 7.20:1 | AAA |
| Secondary button | 8.47:1 | AAA |
| Muted text | 11.17:1 | AAA |
| Accent | 8.47:1 | AAA |
| Destructive | 3.93:1 | AA Large |
Paste this into your globals.css to use Icebreaker in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 107.999);
--foreground: oklch(0.166 0.022 110.056);
--muted: oklch(0.967 0.006 108.055);
--muted-foreground: oklch(0.411 0.032 109.299);
--popover: oklch(0.995 0.003 107.999);
--popover-foreground: oklch(0.166 0.022 110.056);
--card: oklch(0.995 0.003 107.999);
--card-foreground: oklch(0.166 0.022 110.056);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.925 0.096 109.745);
--primary-foreground: oklch(0.404 0.08 111.428);
--secondary: oklch(0.927 0.013 108.191);
--secondary-foreground: oklch(0.447 0.039 109.469);
--accent: oklch(0.927 0.013 108.191);
--accent-foreground: oklch(0.447 0.039 109.469);
--destructive: oklch(0.501 0.19 30.486);
--destructive-foreground: oklch(0.98 0.009 25.065);
--ring: oklch(0.925 0.096 109.745);
--chart-1: oklch(0.925 0.096 109.745);
--chart-2: oklch(0.927 0.013 108.191);
--chart-3: oklch(0.927 0.013 108.191);
--chart-4: oklch(0.947 0.009 108.118);
--chart-5: oklch(0.93 0.099 109.806);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.011 109.505);
--foreground: oklch(1 0 180);
--muted: oklch(0.167 0.009 108.931);
--muted-foreground: oklch(0.823 0.027 108.537);
--popover: oklch(0.101 0.011 109.505);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.101 0.011 109.505);
--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.925 0.096 109.745);
--primary-foreground: oklch(0.404 0.08 111.428);
--secondary: oklch(0.275 0.016 109.008);
--secondary-foreground: oklch(0.819 0.024 108.462);
--accent: oklch(0.275 0.016 109.008);
--accent-foreground: oklch(0.819 0.024 108.462);
--destructive: oklch(0.627 0.225 30.479);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.925 0.096 109.745);
--chart-1: oklch(0.925 0.096 109.745);
--chart-2: oklch(0.275 0.016 109.008);
--chart-3: oklch(0.275 0.016 109.008);
--chart-4: oklch(0.309 0.019 109.057);
--chart-5: oklch(0.93 0.099 109.806);
}