π¬ A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots π
TypeScript browser-extensionchrome-extensiondocumentationfirefox-extensionguide-generatorlocal-firstmanifest-v3privacy-firstproductivityreactscreenshotstep-by-step-guidetutorialtypescriptworkflowwxt
fix: export colors β subtle badge (wash bg), visible step numbers (#A5B4FC)
Luis Ortiz8dc3988fcca9
diff --git a/src/core/export/html-export.ts b/src/core/export/html-export.tsindex 2e3bec5..ceca6f2 100644--- a/src/core/export/html-export.ts+++ b/src/core/export/html-export.ts@@ -19,9 +19,9 @@ export async function exportGuideAsHTML(const stepNumber = String(step.index + 1).padStart(2, '0');stepSections.push(`- <div style="border-top:2px solid #C7D2FE;padding-top:24px;margin-bottom:40px;">+ <div style="border-top:2px solid #E0E7FF;padding-top:24px;margin-bottom:40px;"><div style="display:flex;gap:16px;align-items:flex-start;">- <span style="font-size:32px;font-weight:700;color:#C7D2FE;line-height:1;flex-shrink:0;min-width:48px;">${stepNumber}</span>+ <span style="font-size:32px;font-weight:700;color:#A5B4FC;line-height:1;flex-shrink:0;min-width:48px;">${stepNumber}</span><div style="flex:1;min-width:0;"><p style="margin:0;font-size:16px;line-height:1.6;color:#1E1B4B;">${escapeHtml(step.description)}</p>${imgHtml}@@ -48,7 +48,7 @@ export async function exportGuideAsHTML(</head><body><div style="margin-bottom:48px;text-align:center;display:flex;flex-direction:column;align-items:center;">- <span style="display:inline-block;background:#4F46E5;color:#fff;font-size:13px;font-weight:600;padding:5px 16px;border-radius:999px;">${steps.length} Step${steps.length === 1 ? '' : 's'}</span>+ <span style="display:inline-block;background:#EEF2FF;color:#4F46E5;font-size:13px;font-weight:600;padding:5px 16px;border-radius:999px;">${steps.length} Step${steps.length === 1 ? '' : 's'}</span><div style="height:3px;width:60%;background:linear-gradient(to right,#4F46E5,#C7D2FE,#38BDF8);border-radius:3px;margin:20px auto;"></div><h1 style="font-size:28px;font-weight:800;color:#1E1B4B;line-height:1.2;margin-bottom:24px;max-width:80%;">${escapeHtml(guide.title)}</h1><div style="display:flex;gap:32px;justify-content:center;">diff --git a/src/core/export/pdf-export.ts b/src/core/export/pdf-export.tsindex 275b7e4..24adc39 100644--- a/src/core/export/pdf-export.ts+++ b/src/core/export/pdf-export.ts@@ -35,10 +35,10 @@ export async function exportGuideAsPDF(const totalBlockH = badgeH + 8 + 1.5 + 10 + titleBlockH + 16 + 12;let y = (pageHeight - totalBlockH) / 2;- doc.setFillColor(79, 70, 229);+ doc.setFillColor(238, 242, 255);doc.roundedRect(centerX - badgeW / 2, y, badgeW, badgeH, 3.5, 3.5, 'F');doc.setFontSize(10);- doc.setTextColor(255, 255, 255);+ doc.setTextColor(79, 70, 229);doc.text(badgeText, centerX, y + 5, { align: 'center' });y += badgeH + 8;@@ -131,7 +131,7 @@ export async function exportGuideAsPDF(y = margin;}- doc.setDrawColor(199, 210, 254);+ doc.setDrawColor(224, 231, 255);doc.setLineWidth(0.3);doc.line(margin, y, margin + contentWidth, y);y += 6;@@ -139,7 +139,7 @@ export async function exportGuideAsPDF(const stepNum = String(step.index + 1).padStart(2, '0');doc.setFontSize(12);doc.setFont('helvetica', 'bold');- doc.setTextColor(199, 210, 254);+ doc.setTextColor(165, 180, 252);doc.text(stepNum, margin, y + 4);doc.setFontSize(11);