π¬ 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: standardize color system β replace off-palette colors with design tokens
Luis Ortiz48d8a4a154a1
diff --git a/src/core/export/html-export.ts b/src/core/export/html-export.tsindex fb6aa43..53d287d 100644--- a/src/core/export/html-export.ts+++ b/src/core/export/html-export.ts@@ -50,7 +50,7 @@ export async function exportGuideAsHTML(<body><div style="margin-bottom:48px;text-align:center;display:flex;flex-direction:column;align-items:center;"><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>+ <div style="height:3px;width:60%;background:linear-gradient(to right,#4F46E5,#C7D2FE,#818CF8);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;"><div style="text-align:left;">diff --git a/src/ui/fullview/LibraryContent.tsx b/src/ui/fullview/LibraryContent.tsxindex 4951112..36e1224 100644--- a/src/ui/fullview/LibraryContent.tsx+++ b/src/ui/fullview/LibraryContent.tsx@@ -42,7 +42,7 @@ function NoGuidesMascot() {@keyframes sparkle{0%,100%{opacity:.3;transform:scale(.8)}50%{opacity:1;transform:scale(1.1)}}`}</style><circle cx="45" cy="80" r="3" fill="#818CF8" style={{ animation: 'sparkle 1.5s ease-in-out infinite' }} />- <circle cx="160" cy="70" r="2.5" fill="#38BDF8" style={{ animation: 'sparkle 1.5s ease-in-out infinite 0.3s' }} />+ <circle cx="160" cy="70" r="2.5" fill="#818CF8" style={{ animation: 'sparkle 1.5s ease-in-out infinite 0.3s' }} /><circle cx="50" cy="140" r="2" fill="#A5B4FC" style={{ animation: 'sparkle 1.5s ease-in-out infinite 0.6s' }} /><circlecx="155"@@ -109,7 +109,7 @@ function TrashMascot() {<line x1="155" y1="75" x2="155" y2="140" stroke="#A5B4FC" strokeWidth="3" strokeLinecap="round" /><path d="M147 140 Q155 135 163 140 L160 155 Q155 158 150 155Z" fill="#818CF8" /></g>- <circle cx="165" cy="155" r="2" fill="#38BDF8" style={{ animation: 'sparkle 1s ease-in-out infinite' }} />+ <circle cx="165" cy="155" r="2" fill="#818CF8" style={{ animation: 'sparkle 1s ease-in-out infinite' }} /><circle cx="148" cy="160" r="1.5" fill="#818CF8" style={{ animation: 'sparkle 1s ease-in-out infinite 0.3s' }} /></svg>);diff --git a/src/ui/fullview/components/GuideListView.tsx b/src/ui/fullview/components/GuideListView.tsxindex 485743e..bb24d8b 100644--- a/src/ui/fullview/components/GuideListView.tsx+++ b/src/ui/fullview/components/GuideListView.tsx@@ -41,7 +41,7 @@ export default function GuideListView({ category, onStar, onTrash, onRestore, on</button><buttononClick={(e) => onTrash(e, guide.id)}- className="p-1.5 rounded-lg transition-colors text-purple hover:text-red-600"+ className="p-1.5 rounded-lg transition-colors text-purple hover:text-destructive"title="Move to trash"><Trash2 size={14} />@@ -51,14 +51,14 @@ export default function GuideListView({ category, onStar, onTrash, onRestore, on<><buttononClick={(e) => onRestore(e, guide.id)}- className="p-1.5 rounded-lg transition-colors text-purple hover:text-green-600"+ className="p-1.5 rounded-lg transition-colors text-purple hover:text-success"title="Restore"><RotateCcw size={14} /></button><buttononClick={(e) => onPermanentDelete(e, guide.id)}- className="p-1.5 rounded-lg transition-colors text-purple hover:text-red-600"+ className="p-1.5 rounded-lg transition-colors text-purple hover:text-destructive"title="Delete permanently"><Trash2 size={14} />diff --git a/src/ui/fullview/components/KeyboardHints.tsx b/src/ui/fullview/components/KeyboardHints.tsxindex 29c8693..e38c908 100644--- a/src/ui/fullview/components/KeyboardHints.tsx+++ b/src/ui/fullview/components/KeyboardHints.tsx@@ -9,9 +9,7 @@ export default function KeyboardHints() {<div className="flex items-center gap-3 px-4 py-2 border-t border-border">{hints.map((h) => (<span key={h.key} className="contents">- <span className="text-[9px] font-semibold px-1.5 py-0.5 rounded bg-lavender text-muted-foreground">- {h.key}- </span>+ <span className="text-[9px] font-semibold px-1.5 py-0.5 rounded bg-lavender text-foreground">{h.key}</span><span className="text-[10px] text-purple">{h.label}</span></span>))}diff --git a/src/ui/fullview/components/SearchResults.tsx b/src/ui/fullview/components/SearchResults.tsxindex 6709d4a..0fbc5b1 100644--- a/src/ui/fullview/components/SearchResults.tsx+++ b/src/ui/fullview/components/SearchResults.tsx@@ -45,7 +45,7 @@ export default function SearchResults({ results, query, selected, onSelect, onHo? {background: 'rgba(199,210,254,0.15)',border: '1px solid rgba(199,210,254,0.2)',- color: 'var(--color-gold)',+ color: 'var(--color-lavender)',}: {background: 'var(--color-secondary)',@@ -59,13 +59,13 @@ export default function SearchResults({ results, query, selected, onSelect, onHo<div className="flex-1 min-w-0"><pclassName="text-[13px] font-medium truncate"- style={{ color: i === selected ? 'var(--color-gold)' : 'var(--color-foreground)' }}+ style={{ color: i === selected ? 'var(--color-lavender)' : 'var(--color-foreground)' }}>{r.guide.title}</p><pclassName="text-[10px] mt-0.5"- style={{ color: i === selected ? 'rgba(199,210,254,0.6)' : 'var(--color-warm)' }}+ style={{ color: i === selected ? 'rgba(199,210,254,0.6)' : 'var(--color-muted-foreground)' }}>{r.guide.stepIds.length} step{r.guide.stepIds.length !== 1 ? 's' : ''} Β·{' '}{formatDateShort(r.guide.updatedAt)}diff --git a/src/ui/global.css b/src/ui/global.cssindex 081899d..217d0e7 100644--- a/src/ui/global.css+++ b/src/ui/global.css@@ -29,7 +29,7 @@--color-ring: #4F46E5;--radius: 0.5rem;- --color-violet: #38BDF8;+ --color-violet: #818CF8;--color-violet-light: #A78BFA;--color-violet-dark: #3730A3;--color-violet-mid: #3730A3;diff --git a/src/ui/onboarding/App.tsx b/src/ui/onboarding/App.tsxindex 787bd93..b8879e7 100644--- a/src/ui/onboarding/App.tsx+++ b/src/ui/onboarding/App.tsx@@ -8,7 +8,7 @@ function MascotLarge({ size = 280 }: { size?: number }) {return (<svg viewBox="0 0 200 200" width={size} height={size}><circle cx="40" cy="70" r="4" fill="#818CF8" style={{ animation: 'sparkle 1.5s ease-in-out infinite' }} />- <circle cx="165" cy="60" r="3.5" fill="#38BDF8" style={{ animation: 'sparkle 1.5s ease-in-out infinite 0.3s' }} />+ <circle cx="165" cy="60" r="3.5" fill="#818CF8" style={{ animation: 'sparkle 1.5s ease-in-out infinite 0.3s' }} /><circle cx="42" cy="155" r="3" fill="#A5B4FC" style={{ animation: 'sparkle 1.5s ease-in-out infinite 0.6s' }} /><circlecx="162"@@ -334,7 +334,7 @@ function SmartBlurStep({ onNext, onSkip }: { onNext: () => void; onSkip: () => v].map((row, i, arr) => (<divkey={row.label}- className={`flex items-center gap-3 py-2.5 ${i < arr.length - 1 ? 'border-b border-gray-100' : ''}`}+ className={`flex items-center gap-3 py-2.5 ${i < arr.length - 1 ? 'border-b border-border' : ''}`}><div className="w-6 h-6 rounded-md bg-secondary flex items-center justify-center text-[10px] font-semibold text-accent">{row.icon}@@ -347,7 +347,7 @@ function SmartBlurStep({ onNext, onSkip }: { onNext: () => void; onSkip: () => v</span></div>))}- <div className="inline-flex items-center gap-1.5 text-[10px] font-semibold text-green-600 bg-green-50 px-2.5 py-1 rounded mt-3">+ <div className="inline-flex items-center gap-1.5 text-[10px] font-semibold text-success bg-success/10 px-2.5 py-1 rounded mt-3"><svgwidth="13"height="13"diff --git a/src/ui/options/App.tsx b/src/ui/options/App.tsxindex 8f23dfc..37a62d4 100644--- a/src/ui/options/App.tsx+++ b/src/ui/options/App.tsx@@ -18,7 +18,7 @@ export default function App() {maxWidth: '28rem',background: 'white',borderRadius: '16px',- border: '1px solid #E8E2DA',+ border: '1px solid var(--color-border)',boxShadow: '0 8px 40px rgba(30,27,75,0.08)',overflow: 'hidden',}}diff --git a/src/ui/shared/SettingsView.tsx b/src/ui/shared/SettingsView.tsxindex ca84593..4babc43 100644--- a/src/ui/shared/SettingsView.tsx+++ b/src/ui/shared/SettingsView.tsx@@ -146,7 +146,7 @@ export default function SettingsView({ onBack }: SettingsViewProps) {onClick={handleSave}disabled={saved}className="w-full transition-all duration-300"- style={saved ? { backgroundColor: '#059669', color: '#d4edda', opacity: 0.9 } : undefined}+ style={saved ? { backgroundColor: 'var(--color-success)', color: '#fff', opacity: 0.9 } : undefined}>{saved && <Check size={16} />}{saved ? 'Saved' : 'Save Settings'}diff --git a/src/ui/sidepanel/BlurCanvas.tsx b/src/ui/sidepanel/BlurCanvas.tsxindex dd4b13e..69ed4ab 100644--- a/src/ui/sidepanel/BlurCanvas.tsx+++ b/src/ui/sidepanel/BlurCanvas.tsx@@ -108,7 +108,7 @@ export default function BlurCanvas({ screenshot, onSave, onCancel }: BlurCanvasPif (previewRect && previewRect.w !== 0 && previewRect.h !== 0) {ctx.save();- ctx.strokeStyle = 'rgba(59, 130, 246, 0.8)';+ ctx.strokeStyle = 'rgba(79, 70, 229, 0.8)';ctx.lineWidth = 2;ctx.setLineDash([4, 4]);ctx.strokeRect(previewRect.x, previewRect.y, previewRect.w, previewRect.h);@@ -210,7 +210,7 @@ export default function BlurCanvas({ screenshot, onSave, onCancel }: BlurCanvasP</button><buttononClick={onCancel}- className="flex items-center gap-1 px-3 py-1.5 text-[11px] font-semibold text-primary-foreground rounded-lg border border-primary-foreground/10 bg-primary-foreground/[0.06] hover:bg-red-500/15 hover:text-red-300 transition-colors"+ className="flex items-center gap-1 px-3 py-1.5 text-[11px] font-semibold text-primary-foreground rounded-lg border border-primary-foreground/10 bg-primary-foreground/[0.06] hover:bg-destructive/15 hover:text-destructive transition-colors"><X size={12} />Canceldiff --git a/src/ui/sidepanel/GuideMeView.tsx b/src/ui/sidepanel/GuideMeView.tsxindex e482734..bca9bbe 100644--- a/src/ui/sidepanel/GuideMeView.tsx+++ b/src/ui/sidepanel/GuideMeView.tsx@@ -171,8 +171,8 @@ export default function GuideMeView({ guideId, onExit, onComplete }: GuideMeView<ArrowLeft size={18} /></button><span className="flex-1 text-sm font-semibold text-foreground truncate">{data.guide.title}</span>- <span className="shrink-0 flex items-center gap-1.5 text-[11px] font-medium px-2 py-0.5 rounded-full bg-emerald-100 text-emerald-700">- <span className="w-1.5 h-1.5 rounded-full bg-emerald-500" />+ <span className="shrink-0 flex items-center gap-1.5 text-[11px] font-medium px-2 py-0.5 rounded-full bg-success/10 text-success">+ <span className="w-1.5 h-1.5 rounded-full bg-success" />Live</span></div>@@ -182,7 +182,7 @@ export default function GuideMeView({ guideId, onExit, onComplete }: GuideMeView<divkey={step.id}className={`flex-1 h-[3px] rounded-[1.5px] ${- idx < activeStepIndex ? 'bg-success' : idx === activeStepIndex ? 'bg-violet' : 'bg-border'+ idx < activeStepIndex ? 'bg-success' : idx === activeStepIndex ? 'bg-accent' : 'bg-border'}`}/>))}@@ -191,8 +191,8 @@ export default function GuideMeView({ guideId, onExit, onComplete }: GuideMeView<div className="px-4 pb-3"><div className="bg-card rounded-2xl border border-border shadow-sm overflow-hidden"><div className="p-4 pb-3">- <span className="inline-flex items-center gap-1.5 text-[11px] font-semibold bg-secondary text-violet-800 px-2.5 py-1 rounded-full mb-2.5">- <span className="w-5 h-5 rounded-full bg-violet text-white flex items-center justify-center text-[10px] font-bold">+ <span className="inline-flex items-center gap-1.5 text-[11px] font-semibold bg-secondary text-accent px-2.5 py-1 rounded-full mb-2.5">+ <span className="w-5 h-5 rounded-full bg-accent text-white flex items-center justify-center text-[10px] font-bold">{viewedStepIndex + 1}</span>Step {viewedStepIndex + 1} of {totalSteps}@@ -217,7 +217,7 @@ export default function GuideMeView({ guideId, onExit, onComplete }: GuideMeView/>{highlightStyle && (<div- className="absolute border-2 border-violet rounded-sm pointer-events-none"+ className="absolute border-2 border-accent rounded-sm pointer-events-none"style={highlightStyle}/>)}@@ -269,7 +269,7 @@ export default function GuideMeView({ guideId, onExit, onComplete }: GuideMeView<Check size={12} className="text-white" strokeWidth={3} /></span>) : isActive ? (- <span className="shrink-0 w-5 h-5 rounded-full bg-violet flex items-center justify-center text-[10px] font-bold text-white mt-0.5">+ <span className="shrink-0 w-5 h-5 rounded-full bg-accent flex items-center justify-center text-[10px] font-bold text-white mt-0.5">{idx + 1}</span>) : (diff --git a/src/ui/sidepanel/LibraryView.tsx b/src/ui/sidepanel/LibraryView.tsxindex 8234516..3ada343 100644--- a/src/ui/sidepanel/LibraryView.tsx+++ b/src/ui/sidepanel/LibraryView.tsx@@ -98,7 +98,7 @@ export default function LibraryView({ onOpen, searchQuery = '' }: LibraryViewProcx="160"cy="70"r="2.5"- fill="#38BDF8"+ fill="#818CF8"style={{ animation: 'sparkle 1.5s ease-in-out infinite 0.3s' }}/><circle@@ -175,7 +175,7 @@ export default function LibraryView({ onOpen, searchQuery = '' }: LibraryViewPro</button><buttononClick={(e) => handleDelete(e, guide.id)}- className="p-1.5 rounded-lg transition-all text-border hover:text-red-500"+ className="p-1.5 rounded-lg transition-all text-border hover:text-destructive"title="Move to trash"><Trash2 size={13} />diff --git a/src/ui/sidepanel/RecordingView.tsx b/src/ui/sidepanel/RecordingView.tsxindex e7e8fe4..3be6b90 100644--- a/src/ui/sidepanel/RecordingView.tsx+++ b/src/ui/sidepanel/RecordingView.tsx@@ -102,7 +102,7 @@ export default function RecordingView({ guideId, onStop }: RecordingViewProps) {<div className="flex flex-col h-screen bg-card relative">{/* Floating recording pill */}<div className="absolute top-3 left-1/2 -translate-x-1/2 z-10 flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/90 backdrop-blur-sm border border-border shadow-sm">- <span className={`w-2 h-2 rounded-full ${isBlurring ? 'bg-amber-400' : 'bg-red-500 animate-pulse'}`} />+ <span className={`w-2 h-2 rounded-full ${isBlurring ? 'bg-accent' : 'bg-destructive animate-pulse'}`} /><span className="text-xs font-semibold text-foreground">{isBlurring ? 'Capture paused' : `Recording Β· ${steps.length} ${steps.length === 1 ? 'step' : 'steps'}`}</span>@@ -161,7 +161,7 @@ export default function RecordingView({ guideId, onStop }: RecordingViewProps) {</div><buttononClick={() => handleDeleteStep(liveStep.step.id)}- className="opacity-0 group-hover:opacity-100 transition-opacity p-1 rounded text-border hover:text-red-500"+ className="opacity-0 group-hover:opacity-100 transition-opacity p-1 rounded text-border hover:text-destructive"title="Delete step"><X size={13} />@@ -185,14 +185,14 @@ export default function RecordingView({ guideId, onStop }: RecordingViewProps) {<buttononClick={handleBlur}disabled={isBlurring}- className="w-10 h-10 rounded-full border border-border flex items-center justify-center transition-colors text-warm hover:border-purple-300 hover:text-purple-500 disabled:opacity-50 disabled:cursor-not-allowed"+ className="w-10 h-10 rounded-full border border-border flex items-center justify-center transition-colors text-muted-foreground hover:border-accent hover:text-accent disabled:opacity-50 disabled:cursor-not-allowed"title="Smart Blur"><EyeOff size={16} /></button><buttononClick={onStop}- className="w-10 h-10 rounded-full border border-border flex items-center justify-center transition-colors text-purple hover:border-red-300 hover:text-red-400"+ className="w-10 h-10 rounded-full border border-border flex items-center justify-center transition-colors text-purple hover:border-destructive/30 hover:text-destructive"title="Discard"><X size={16} />diff --git a/src/ui/sidepanel/StepCard.tsx b/src/ui/sidepanel/StepCard.tsxindex 45f6d09..6cf6a2d 100644--- a/src/ui/sidepanel/StepCard.tsx+++ b/src/ui/sidepanel/StepCard.tsx@@ -112,7 +112,7 @@ export default function StepCard({</button><buttononClick={handleCopy}- className={`p-1 rounded-md transition-colors ${copied ? 'text-green-600' : 'text-border hover:text-green-600'}`}+ className={`p-1 rounded-md transition-colors ${copied ? 'text-success' : 'text-border hover:text-success'}`}title="Copy screenshot">{copied ? <Check size={13} /> : <Copy size={13} />}@@ -121,7 +121,7 @@ export default function StepCard({)}<buttononClick={handleDelete}- className="p-1 rounded-md transition-colors text-border hover:text-red-500"+ className="p-1 rounded-md transition-colors text-border hover:text-destructive"title="Delete step"><Trash2 size={13} />diff --git a/src/ui/sidepanel/ZoomScreenshot.tsx b/src/ui/sidepanel/ZoomScreenshot.tsxindex 70feebf..8db31ab 100644--- a/src/ui/sidepanel/ZoomScreenshot.tsx+++ b/src/ui/sidepanel/ZoomScreenshot.tsx@@ -188,7 +188,7 @@ export default function ZoomScreenshot({if (!fullUrl) {return (- <div className={`rounded-lg bg-[#f2f4fa] p-4 flex flex-col gap-2.5 ${className}`} style={{ aspectRatio: ratio }}>+ <div className={`rounded-lg bg-secondary p-4 flex flex-col gap-2.5 ${className}`} style={{ aspectRatio: ratio }}><div className="h-7 rounded-md bg-border/60 animate-pulse" /><div className="flex-1 flex gap-3"><div className="w-[30%] flex flex-col gap-2">@@ -209,7 +209,7 @@ export default function ZoomScreenshot({}return (- <div className={`relative overflow-hidden rounded-lg border border-gray-200 ${className}`}>+ <div className={`relative overflow-hidden rounded-lg border border-border ${className}`}><img src={croppedUrl || fullUrl} alt={alt} className="w-full block" />{croppedUrl && (<img