Skip to content

fix: preserve day-color backgrounds when printing worksheets - #73

Merged
clates merged 1 commit into
mainfrom
fix/worksheet-print-colors
May 26, 2026
Merged

fix: preserve day-color backgrounds when printing worksheets#73
clates merged 1 commit into
mainfrom
fix/worksheet-print-colors

Conversation

@clates

@clates clates commented May 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds print-color-adjust: exact (and -webkit- vendor prefix) to the @media print block in worksheet_html_renderer.py
  • Browsers strip background colors by default when printing; this flag forces the day-palette accent colors (Monday blue, Tuesday green, etc.) to render on paper and in PDF export

Test Plan

  • Open a worksheet packet in the browser and print/export to PDF
  • Confirm the day-header bar retains its color accent (e.g., blue for Monday)

🤖 Generated with Claude Code

Browsers strip background colors/images by default when printing.
Adding print-color-adjust: exact forces the day palette accents to
render on paper and in PDF export.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@clates
clates merged commit 9953435 into main May 26, 2026
2 checks passed
@clates
clates deleted the fix/worksheet-print-colors branch May 26, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant