Blogger is a shadcn/ui theme built around a deep orange primary color (#160d08) with deep yellow accents (#161408). The light mode uses a neutral background (#fefcfb). Dark mode keeps the deep orange primary (#160d08) on a neutral background (#080402).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #080402black |
| Foreground | #040201black | #fbfaf9snow |
| Card | #fefcfbsnow | #080402black |
| Card foreground | #040201black | #fbfaf9snow |
| Popover | #fefcfbsnow | #080402black |
| Popover foreground | #040201black | #fbfaf9snow |
| Primary | #160d08black | #160d08black |
| Primary foreground | #d09c80darksalmon | #d09c80darksalmon |
| Secondary | #16080ablack | #16080ablack |
| Secondary foreground | #d0808cpalevioletred | #d0808cpalevioletred |
| Muted | #efe6e7linen | #191011black |
| Muted foreground | #71565adimgray | #a98e92rosybrown |
| Accent | #161408black | #161408black |
| Accent foreground | #ab9b3fperu | #ab9b3fperu |
| Destructive | #c64110firebrick | #d44511chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #160d08black | #160d08black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 7.97:1 | AAA |
| Secondary button | 6.64:1 | AA |
| Muted text | 5.39:1 | AA |
| Accent | 6.57:1 | AA |
| Destructive | 5.04:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 7.97:1 | AAA |
| Secondary button | 6.64:1 | AA |
| Muted text | 6.21:1 | AA |
| Accent | 6.57:1 | AA |
| Destructive | 4.49:1 | AA Large |
Paste this into your globals.css to use Blogger in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 50.625);
--foreground: oklch(0.091 0.01 58.787);
--muted: oklch(0.932 0.01 6.874);
--muted-foreground: oklch(0.482 0.037 8.533);
--popover: oklch(0.992 0.003 50.625);
--popover-foreground: oklch(0.091 0.01 58.787);
--card: oklch(0.992 0.003 50.625);
--card-foreground: oklch(0.091 0.01 58.787);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.171 0.019 49.827);
--primary-foreground: oklch(0.736 0.073 49.482);
--secondary: oklch(0.159 0.026 10.37);
--secondary-foreground: oklch(0.688 0.099 10.284);
--accent: oklch(0.191 0.022 99.552);
--accent-foreground: oklch(0.686 0.113 99.316);
--destructive: oklch(0.56 0.178 37.366);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.171 0.019 49.827);
--chart-1: oklch(0.171 0.019 49.827);
--chart-2: oklch(0.159 0.026 10.37);
--chart-3: oklch(0.191 0.022 99.552);
--chart-4: oklch(0.19 0.036 11.641);
--chart-5: oklch(0.171 0.02 49.98);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.115 0.012 58.107);
--foreground: oklch(0.985 0.002 50.636);
--muted: oklch(0.185 0.016 8.767);
--muted-foreground: oklch(0.672 0.034 7.858);
--popover: oklch(0.115 0.012 58.107);
--popover-foreground: oklch(0.985 0.002 50.636);
--card: oklch(0.115 0.012 58.107);
--card-foreground: oklch(0.985 0.002 50.636);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.171 0.019 49.827);
--primary-foreground: oklch(0.736 0.073 49.482);
--secondary: oklch(0.159 0.026 10.37);
--secondary-foreground: oklch(0.688 0.099 10.284);
--accent: oklch(0.191 0.022 99.552);
--accent-foreground: oklch(0.686 0.113 99.316);
--destructive: oklch(0.589 0.188 37.283);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.171 0.019 49.827);
--chart-1: oklch(0.171 0.019 49.827);
--chart-2: oklch(0.159 0.026 10.37);
--chart-3: oklch(0.191 0.022 99.552);
--chart-4: oklch(0.19 0.036 11.641);
--chart-5: oklch(0.171 0.02 49.98);
}