The patcher tries to keep the wallpaper visible without making Codex hard to read. The best settings depend on the image.
node src/patch-codex-background.js --image "/path/to/wallpaper.png" --surface auto --mode unpackedauto analyzes the prepared PNG and picks a light or dark glass treatment. It is
only a starting point; busy images can still need manual tuning.
For light images, pastel images, or mostly white backgrounds:
node src/patch-codex-background.js --image "/path/to/wallpaper.png" --surface light --text dark --mode unpackedThis keeps the UI closer to a bright glass style and uses dark text.
For night scenes, dark illustrations, or purple/blue images:
node src/patch-codex-background.js --image "/path/to/wallpaper.png" --surface glass --text light --mode unpackedThis adds a darker translucent layer and uses light text.
Use unpacked mode for large or 4K PNG files:
node src/patch-codex-background.js --image "/path/to/wallpaper.png" --mode unpackedstable mode writes into an existing asset slot and is more size-sensitive. It
is useful when you want a conservative patch shape, but the wallpaper may look
softer because the image has to fit the built-in slot.
For a fuller comparison, see MODES.md.
If the main subject is hidden behind the composer or sidebar, adjust the background position:
node src/patch-codex-background.js --image "/path/to/wallpaper.png" --position "45% 48%" --mode unpackednode src/patch-codex-background.js --test-images image-a.png image-b.png image-c.pngThis creates local preview output under theme-tests/. Do not commit those
files if the images are private or copyrighted.