Menu ▾ ▴

#47 New look for Home and About (1.3 edition)

open
nobody
None
2026-11-07
2026-11-07
Anonymous
No

Originally created by: rohanvijaykumar

The look the owner picked from the design mockups, built into the app.

What changes

  • Home: a pearly sheen over a near-white page in light. In dark, a deep iridescent glow on #16151b, and the tool cards (and "Open a PDF to get started") stay exactly the app's own dark cards: same colour, border and shadow.
  • About Paperwing: a ribbon-wave picture across the top (rainbow on white in light, neon sunset on near-black in dark), with the details on a frosted-glass panel over its lower part. The panel has no outline; only a soft shadow and glow set it apart. All content, links and the BentoPDF credit are unchanged. The picture is decorative (aria-hidden, alt=""), and the dialog keeps its name, focus handling and Escape. Without backdrop-filter, or with reduced transparency, the panel is solid.

Edition folder

The look lives in src/acro/edition/, so a later release only swaps these files:

  • about-light.webp and about-dark.webp: 1600×686, 94 KB and 123 KB
  • edition.css: the --home-* and --about-* tokens for light and dark
  • index.ts: imports the pictures
  • README.md: how to make the next edition (sizes, safe areas, contrast check)

app.css uses the tokens. The old Home glow (--glow-*, .home-glow) is removed. dialog() takes an optional decoration node for About's picture.

Tests

  • New desktop/bench/check-edition.mjs (added to the macOS workflow). In light and dark it checks:
  • Home has the edition's background and sheen
  • in dark, the cards are the app's own colour and shadow
  • About shows the theme's picture, loaded, and decorative
  • the panel has no border or outline
  • all credits and links are present, and Escape closes it
  • text contrast is at least 4.5:1, measured on the rendered pixels (About's lowest is 6.4:1 in light and 5.4:1 in dark; Home's is 4.6:1 in light and 5.5:1 in dark)
  • with Reduce transparency on (as on the macOS runners), the panel is solid instead of frosted, and contrast still passes (lowest 6.4:1 there)
  • Run locally on Windows: tsc clean, npm run lint with 0 errors, the desktop e2e suite against vite preview of the build (25/25), print.test.mjs (23/23), and check-shell, check-qol, check-ui12, check-branding and check-edition, all passing.
  • npx vitest run: 1343 passed, 7 failed. The same failures happen on untouched origin/main on this machine: Vite's fs-deny on the node_modules junction (katex), Windows paths in the i18n check, and a timeout under load. CI decides.

Merging into rc/1.3.0: the only conflict is the table in desktop/bench/README.md, which 1.3.0 re-pads. Keep 1.3.0's table and add the check-edition.mjs row. app.ts, app.css, CHANGELOG.md and the workflow merge cleanly.

Note: docs/screenshots/home.png (in the README) still shows the old Home. It has not been regenerated here.

🤖 Generated with Claude Code

Discussion


Log in to post a comment.