Presidential Cereal Flake for shadcn/ui

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).

Color palette

TokenLightDark
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

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.48:1AAA
Text on card19.49:1AAA
Primary button6.88:1AA
Secondary button6.23:1AA
Muted text4.74:1AA
Accent7.66:1AAA
Destructive6.14:1AA
Dark mode
Text on background18.81:1AAA
Text on card18.78:1AAA
Primary button6.88:1AA
Secondary button6.23:1AA
Muted text5.91:1AA
Accent7.66:1AAA
Destructive4.88:1AA

CSS variables

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);
}