Console is a shadcn/ui theme built around a muted pink primary color (#6e3f59) with muted blue accents (#3f596e). The light mode uses a neutral background (#fdf6fa). Dark mode keeps the muted pink primary (#6e3f59) on a pink-tinted background (#0e060b).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf6fasnow | #0e060bblack |
| Foreground | #080205black | #f9f6f8whitesmoke |
| Card | #fdf6fasnow | #0e060bblack |
| Card foreground | #080205black | #f9f6f8whitesmoke |
| Popover | #fdf6fasnow | #0e060bblack |
| Popover foreground | #080205black | #f9f6f8whitesmoke |
| Primary | #6e3f59dimgray | #6e3f59dimgray |
| Primary foreground | #f4ecf0whitesmoke | #f4ecf0whitesmoke |
| Secondary | #596e3fdarkolivegreen | #596e3fdarkolivegreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ebeee7linen | #151811black |
| Muted foreground | #40433ddarkslategray | #c0c2bcsilver |
| Accent | #3f596edarkslategray | #3f596edarkslategray |
| Accent foreground | #ecf0f4whitesmoke | #ecf0f4whitesmoke |
| Destructive | #b31914firebrick | #ea4843tomato |
| Destructive foreground | #fefbfasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6e3f59dimgray | #6e3f59dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.39:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 7.16:1 | AAA |
| Secondary button | 5.62:1 | AA |
| Muted text | 8.60:1 | AAA |
| Accent | 6.39:1 | AA |
| Destructive | 6.64:1 | AA |
| Text on background | 18.63:1 | AAA |
| Text on card | 18.63:1 | AAA |
| Primary button | 7.16:1 | AAA |
| Secondary button | 5.62:1 | AA |
| Muted text | 9.96:1 | AAA |
| Accent | 6.39:1 | AA |
| Destructive | 3.80:1 | AA Large |
Paste this into your globals.css to use Console in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.009 342.84);
--foreground: oklch(0.105 0.024 342.58);
--muted: oklch(0.946 0.011 126.577);
--muted-foreground: oklch(0.378 0.011 126.815);
--popover: oklch(0.981 0.009 342.84);
--popover-foreground: oklch(0.105 0.024 342.58);
--card: oklch(0.981 0.009 342.84);
--card-foreground: oklch(0.105 0.024 342.58);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.434 0.074 346.503);
--primary-foreground: oklch(0.95 0.011 342.893);
--secondary: oklch(0.509 0.074 128.517);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.452 0.047 243.735);
--accent-foreground: oklch(0.953 0.007 242.29);
--destructive: oklch(0.492 0.187 28.736);
--destructive-foreground: oklch(0.99 0.004 19.665);
--ring: oklch(0.434 0.074 346.503);
--chart-1: oklch(0.434 0.074 346.503);
--chart-2: oklch(0.509 0.074 128.517);
--chart-3: oklch(0.452 0.047 243.735);
--chart-4: oklch(0.541 0.079 128.54);
--chart-5: oklch(0.433 0.082 346.933);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.02 344.242);
--foreground: oklch(0.975 0.004 342.717);
--muted: oklch(0.204 0.016 127.466);
--muted-foreground: oklch(0.811 0.009 126.577);
--popover: oklch(0.138 0.02 344.242);
--popover-foreground: oklch(0.975 0.004 342.717);
--card: oklch(0.138 0.02 344.242);
--card-foreground: oklch(0.975 0.004 342.717);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.434 0.074 346.503);
--primary-foreground: oklch(0.95 0.011 342.893);
--secondary: oklch(0.509 0.074 128.517);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.452 0.047 243.735);
--accent-foreground: oklch(0.953 0.007 242.29);
--destructive: oklch(0.633 0.199 26.555);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.434 0.074 346.503);
--chart-1: oklch(0.434 0.074 346.503);
--chart-2: oklch(0.509 0.074 128.517);
--chart-3: oklch(0.452 0.047 243.735);
--chart-4: oklch(0.541 0.079 128.54);
--chart-5: oklch(0.433 0.082 346.933);
}