Information is a shadcn/ui theme built around a vivid light teal primary color (#b6fcf7) with muted light teal accents (#d2dada). The light mode uses a neutral background (#fbfefe). Dark mode keeps the vivid light teal primary (#b6fcf7) on a teal-tinted background (#050a0a).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #050a0ablack |
| Foreground | #020e0dblack | #f9fbfbghostwhite |
| Card | #fbfefewhite | #050a0ablack |
| Card foreground | #020e0dblack | #f9fbfbghostwhite |
| Popover | #fbfefewhite | #050a0ablack |
| Popover foreground | #020e0dblack | #f9fbfbghostwhite |
| Primary | #b6fcf7paleturquoise | #b6fcf7paleturquoise |
| Primary foreground | #011817black | #011817black |
| Secondary | #d2dadalightgrey | #101818black |
| Secondary foreground | #374343darkslategray | #9dbebcdarkgray |
| Muted | #d6e5e4gainsboro | #1a2928darkslategray |
| Muted foreground | #566766dimgray | #98a9a8darkgray |
| Accent | #d2dadalightgrey | #101818black |
| Accent foreground | #374343darkslategray | #9dbebcdarkgray |
| Destructive | #893606saddlebrown | #f66d1echocolate |
| Destructive foreground | #fdd9c4bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b6fcf7paleturquoise | #b6fcf7paleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.33:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 15.90:1 | AAA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 4.60:1 | AA |
| Accent | 7.23:1 | AAA |
| Destructive | 6.13:1 | AA |
| Text on background | 19.16:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 15.90:1 | AAA |
| Secondary button | 8.99:1 | AAA |
| Muted text | 6.18:1 | AA |
| Accent | 8.99:1 | AAA |
| Destructive | 7.10:1 | AAA |
Paste this into your globals.css to use Information in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 192.357);
--foreground: oklch(0.149 0.022 190.461);
--muted: oklch(0.912 0.016 192.053);
--muted-foreground: oklch(0.499 0.021 191.56);
--popover: oklch(0.995 0.003 192.357);
--popover-foreground: oklch(0.149 0.022 190.461);
--card: oklch(0.995 0.003 192.357);
--card-foreground: oklch(0.149 0.022 190.461);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.943 0.069 190.862);
--primary-foreground: oklch(0.191 0.031 189.128);
--secondary: oklch(0.883 0.009 192.217);
--secondary-foreground: oklch(0.373 0.016 191.529);
--accent: oklch(0.883 0.009 192.217);
--accent-foreground: oklch(0.373 0.016 191.529);
--destructive: oklch(0.443 0.125 43.89);
--destructive-foreground: oklch(0.91 0.049 51.897);
--ring: oklch(0.943 0.069 190.862);
--chart-1: oklch(0.943 0.069 190.862);
--chart-2: oklch(0.883 0.009 192.217);
--chart-3: oklch(0.883 0.009 192.217);
--chart-4: oklch(0.905 0.007 192.262);
--chart-5: oklch(0.945 0.071 190.817);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.01 191.762);
--foreground: oklch(0.986 0.002 192.395);
--muted: oklch(0.266 0.021 190.765);
--muted-foreground: oklch(0.722 0.019 191.874);
--popover: oklch(0.139 0.01 191.762);
--popover-foreground: oklch(0.986 0.002 192.395);
--card: oklch(0.139 0.01 191.762);
--card-foreground: oklch(0.986 0.002 192.395);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.943 0.069 190.862);
--primary-foreground: oklch(0.191 0.031 189.128);
--secondary: oklch(0.203 0.012 191.162);
--secondary-foreground: oklch(0.776 0.035 191.471);
--accent: oklch(0.203 0.012 191.162);
--accent-foreground: oklch(0.776 0.035 191.471);
--destructive: oklch(0.692 0.187 44.997);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.943 0.069 190.862);
--chart-1: oklch(0.943 0.069 190.862);
--chart-2: oklch(0.203 0.012 191.162);
--chart-3: oklch(0.203 0.012 191.162);
--chart-4: oklch(0.24 0.016 191.022);
--chart-5: oklch(0.945 0.071 190.817);
}