From 6979edfc0ce0d27c5d1d6641dd1c286c9f993308 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Fri, 26 Jun 2026 19:43:32 -0400 Subject: [PATCH] Fix QR codes missing from printed labels + match app color scheme QR codes were drawn to live elements, which print unreliably (often blank in the printout). The print pages also used hardcoded off-brand colors (#667eea indigo) instead of the app's palette. - PrinterQRBatch.vue + PrinterQRSingle.vue: render each QR (with the GE monogram composited in) to a data-URL instead of a live . Images print every time. - Add `print-color-adjust: exact` so the browser prints the QR images and borders even when the user's "Background graphics" option is off. - Cache the GE logo image once instead of reloading it per code. - Recolor controls/buttons/selection/label borders to the app CSS variables (--primary, --success, --danger, --bg-card, --text...), so the pages match the scheme and adapt to dark mode. Printed labels stay black-on-white. Co-Authored-By: Claude Opus 4.8 --- frontend/src/views/print/PrinterQRBatch.vue | 118 +++++++++++-------- frontend/src/views/print/PrinterQRSingle.vue | 73 ++++++++---- 2 files changed, 118 insertions(+), 73 deletions(-) diff --git a/frontend/src/views/print/PrinterQRBatch.vue b/frontend/src/views/print/PrinterQRBatch.vue index ebb6390..284008c 100644 --- a/frontend/src/views/print/PrinterQRBatch.vue +++ b/frontend/src/views/print/PrinterQRBatch.vue @@ -45,7 +45,7 @@