style: tighten PDF print options copy and color swatch#2297
Merged
Conversation
- Changelog entry leads with "PDF export" (matches in-product naming), drops "before you download" filler, and uses "page color" for the background option. - Color picker shrinks from full-width to a 3rem swatch paired with a muted hex readout so it reads as a control, not a billboard. - "Background color" label becomes "Page background" — the color is the page, not generic chrome. Designer pass on #2296. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
Designer-pass polish on #2296.
Printable PDFs — pick background color, paper size (A4, Letter, Legal), orientation, and margins before you download→PDF export — pick paper size (A4, Letter, Legal), orientation, margins, and page color.#FFFFFF).Background color→Page background.Why
Three things landed in #2296 that drifted from the existing in-product voice and the rest of the changelog file:
before you downloadis filler — the reader of the What's New page already knows when settings apply.<input type="color">swatch alongside three selects reads visually heavier than the selects and breaks the restrained productivity-tool feel.How
web/src/pages/WhatsNewPage/changelog.ts.<input type="color">plus a<span>showing the uppercase hex in--color-text-secondary, tabular-nums for digit alignment.Testing
pnpm --filter 2anki-web typecheck— green.pnpm --filter 2anki-web lint— green.Risks
None — defaults preserved, FormData wiring unchanged, validation untouched.
Goal alignment
Mission: the print page is cleaner and the changelog reads consistently with the rest of the file. No behaviour change.
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmithwith what you need.