Latest

One small part per post: a probe, a daily job, a trick, a trap that cost an afternoon.

All posts

A favicon that follows dark mode, from a PNG logo

My logo is a black letter. In a dark browser tab it vanished. An SVG favicon can carry its own stylesheet and switch colour with the system theme. Tracing the PNG, the five files a Next.js app needs, and the fallbacks for the browsers that ignore all of it.

Christian Drexler