Presidential Cereal Flake is a shadcn/ui theme built around a light orange primary color (#f1d9ac) with light violet accents (#d9acf1). The light mode uses a neutral background (#fcfbf8). Dark mode keeps the light orange primary (#f1d9ac) on an orange-tinted background (#0b0905).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbf8snow | #0b0905black |
| Foreground | #090602black | #faf8f5whitesmoke |
| Card | #fbf8f4floralwhite | #0e0b06black |
| Card foreground | #040301black | #fbfaf8snow |
| Popover | #fcfbf8snow | #0b0905black |
| Popover foreground | #090602black | #faf8f5whitesmoke |
| Primary | #f1d9acwheat | #f1d9acwheat |
| Primary foreground | #5c410fsaddlebrown | #5c410fsaddlebrown |
| Secondary | #acf1d9paleturquoise | #acf1d9paleturquoise |
| Secondary foreground | #0f5c41darkslategray | #0f5c41darkslategray |
| Muted | #d1eae2gainsboro | #152e25darkslategray |
| Muted foreground | #566761dimgray | #98a9a3darkgray |
| Accent | #d9acf1plum | #d9acf1plum |
| Accent foreground | #410f5cindigo | #410f5cindigo |
| Destructive | #c50a07firebrick | #e20c08red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #ecebe9linen | #272521darkslategray |
| Input | #ecebe9linen | #272521darkslategray |
| Ring | #f1d9acwheat | #f1d9acwheat |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.48:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 6.23:1 | AA |
| Muted text | 4.74:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 6.14:1 | AA |
| Text on background | 18.81:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 6.88:1 | AA |
| Secondary button | 6.23:1 | AA |
| Muted text | 5.91:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 4.88:1 | AA |
Paste this into your globals.css to use Presidential Cereal Flake in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 83.059);
--foreground: oklch(0.124 0.017 90.366);
--muted: oklch(0.917 0.029 172.621);
--muted-foreground: oklch(0.497 0.023 172.178);
--popover: oklch(0.987 0.004 83.059);
--popover-foreground: oklch(0.124 0.017 90.366);
--card: oklch(0.981 0.006 83.061);
--card-foreground: oklch(0.099 0.013 90.366);
--border: oklch(0.941 0.003 83.058);
--input: oklch(0.941 0.003 83.058);
--primary: oklch(0.894 0.065 82.845);
--primary-foreground: oklch(0.396 0.074 78.347);
--secondary: oklch(0.906 0.077 170.773);
--secondary-foreground: oklch(0.423 0.084 163.781);
--accent: oklch(0.808 0.107 313.476);
--accent-foreground: oklch(0.299 0.129 310.166);
--destructive: oklch(0.52 0.209 29.095);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.894 0.065 82.845);
--chart-1: oklch(0.894 0.065 82.845);
--chart-2: oklch(0.906 0.077 170.773);
--chart-3: oklch(0.808 0.107 313.476);
--chart-4: oklch(0.92 0.066 171.29);
--chart-5: oklch(0.896 0.068 82.82);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.011 87.528);
--foreground: oklch(0.98 0.004 83.059);
--muted: oklch(0.277 0.036 168.875);
--muted-foreground: oklch(0.72 0.021 172.706);
--popover: oklch(0.138 0.011 87.528);
--popover-foreground: oklch(0.98 0.004 83.059);
--card: oklch(0.153 0.013 84.927);
--card-foreground: oklch(0.986 0.003 83.057);
--border: oklch(0.263 0.007 83.056);
--input: oklch(0.263 0.007 83.056);
--primary: oklch(0.894 0.065 82.845);
--primary-foreground: oklch(0.396 0.074 78.347);
--secondary: oklch(0.906 0.077 170.773);
--secondary-foreground: oklch(0.423 0.084 163.781);
--accent: oklch(0.808 0.107 313.476);
--accent-foreground: oklch(0.299 0.129 310.166);
--destructive: oklch(0.577 0.233 29.12);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.894 0.065 82.845);
--chart-1: oklch(0.894 0.065 82.845);
--chart-2: oklch(0.906 0.077 170.773);
--chart-3: oklch(0.808 0.107 313.476);
--chart-4: oklch(0.92 0.066 171.29);
--chart-5: oklch(0.896 0.068 82.82);
}