Blogger is a shadcn/ui theme built around a blue primary color (#a0beda) with muted light blue accents (#dbe1e6). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#a0beda) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020303black |
| Foreground | #020508black | #ffffffwhite |
| Card | #fcfcfcsnow | #040507black |
| Card foreground | #010304black | #ffffffwhite |
| Popover | #ffffffwhite | #020303black |
| Popover foreground | #020508black | #ffffffwhite |
| Primary | #a0bedalightsteelblue | #a0bedalightsteelblue |
| Primary foreground | #142433darkslategray | #142433darkslategray |
| Secondary | #dbe1e6gainsboro | #1f2429darkslategray |
| Secondary foreground | #3a4855darkslategray | #b3bdc6silver |
| Muted | #d3d9dfgainsboro | #20262cdarkslategray |
| Muted foreground | #62666adimgray | #95999ddarkgray |
| Accent | #dbe1e6gainsboro | #1f2429darkslategray |
| Accent foreground | #3a4855darkslategray | #b3bdc6silver |
| Destructive | #842601saddlebrown | #ef4401orangered |
| Destructive foreground | #ffccb8peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a0bedalightsteelblue | #a0bedalightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.43:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 4.06:1 | AA Large |
| Accent | 7.09:1 | AAA |
| Destructive | 6.46:1 | AA |
| Text on background | 20.69:1 | AAA |
| Text on card | 20.39:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 8.21:1 | AAA |
| Muted text | 5.29:1 | AA |
| Accent | 8.21:1 | AAA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Blogger in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.112 0.012 238.01);
--muted: oklch(0.882 0.011 246.106);
--muted-foreground: oklch(0.508 0.008 246.15);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.112 0.012 238.01);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.089 0.01 238.01);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.788 0.052 246.723);
--primary-foreground: oklch(0.255 0.036 247.838);
--secondary: oklch(0.906 0.01 246.094);
--secondary-foreground: oklch(0.394 0.029 246.806);
--accent: oklch(0.906 0.01 246.094);
--accent-foreground: oklch(0.394 0.029 246.806);
--destructive: oklch(0.412 0.135 37.847);
--destructive-foreground: oklch(0.884 0.064 42.644);
--ring: oklch(0.788 0.052 246.723);
--chart-1: oklch(0.788 0.052 246.723);
--chart-2: oklch(0.906 0.01 246.094);
--chart-3: oklch(0.906 0.01 246.094);
--chart-4: oklch(0.929 0.007 246.06);
--chart-5: oklch(0.787 0.055 246.777);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.09 0.005 241.625);
--foreground: oklch(1 0 180);
--muted: oklch(0.267 0.014 246.577);
--muted-foreground: oklch(0.681 0.008 246.095);
--popover: oklch(0.09 0.005 241.625);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.114 0.007 241.625);
--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.788 0.052 246.723);
--primary-foreground: oklch(0.255 0.036 247.838);
--secondary: oklch(0.257 0.012 246.49);
--secondary-foreground: oklch(0.794 0.017 246.205);
--accent: oklch(0.257 0.012 246.49);
--accent-foreground: oklch(0.794 0.017 246.205);
--destructive: oklch(0.632 0.215 36.254);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.788 0.052 246.723);
--chart-1: oklch(0.788 0.052 246.723);
--chart-2: oklch(0.257 0.012 246.49);
--chart-3: oklch(0.257 0.012 246.49);
--chart-4: oklch(0.288 0.014 246.518);
--chart-5: oklch(0.787 0.055 246.777);
}