feat: switch default variant back to blue, maintain CMYK output for Viaprinto
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 15s
Build & Deploy / 🧪 QA (push) Successful in 1m32s
Build & Deploy / 🏗️ Build (push) Successful in 2m40s
Build & Deploy / 🚀 Deploy (push) Successful in 18s
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-06-11 18:21:16 +02:00
parent f798afe917
commit efe3cbc58e
7 changed files with 2 additions and 2 deletions

View File

@@ -75,12 +75,12 @@ END:VCARD`;
const rgbPath = path.join(CONFIG.outputDir, `RGB_${finalFileName}`);
const finalPath = path.join(CONFIG.outputDir, finalFileName);
console.log(`- Rendering React-PDF layout (RGB ONLY, White Variant)...`);
console.log(`- Rendering React-PDF layout (RGB ONLY, Blue Variant)...`);
const buffer = await renderToBuffer(
React.createElement(PDFBusinessCard, {
person,
qrCodeDataUrl,
variant: 'white', // We only use the white variant now
variant: 'blue', // Explicitly use blue now
}),
);