0
OP Regular Newbie Apr 20, 2026 8:52pm

/admin/branding now accepts two logo uploads: the existing one (now labelled Dark Theme — default) and a new Light Theme variant.

  • Config keys: general.site_logo + new general.site_logo_light. Unset = fall back to the dark one.
  • Only the light theme picks the light variant. crt-green, crt-amber, c64, vt100 all stay on dark. Mobile is forced to light so the light variant kicks in there too.
  • Each card previews on a theme-appropriate background (dark card on #111, light card on #fff) so contrast issues are obvious before you save.
  • Navbar swap is synchronous pre-paint — no flash, no extra fetch on the initial render.
  • Canonical logo (JSON-LD schema, OG image, Twitter card) stays on the dark variant since those are crawler-facing.

PNG alpha-channel warning

Uploads are checked for a real alpha channel. If a PNG comes in as color-type 2 (RGB) — typical symptom of an image editor flattening its transparency-preview checkerboard into the export — the upload still saves but a warning flash spells out the fix: re-export with alpha preserved (Photoshop "PNG-24 with transparency" / GIMP "Save transparent pixels").

Log in or register to reply to this thread.