Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

feat: rename amber/gold/brown Tailwind classes to violet/lavender/purple

Luis Ortiz4ee821e47111
diff --git a/src/ui/fullview/GuideContent.tsx b/src/ui/fullview/GuideContent.tsx
index 1a27143..321ffa2 100644
--- a/src/ui/fullview/GuideContent.tsx
+++ b/src/ui/fullview/GuideContent.tsx
@@ -126,7 +126,7 @@ export default function GuideContent({ guideId }: GuideContentProps) {
</div>
</div>
);
- if (!data) return <p className="text-sm py-12 text-center text-warm">Guide not found.</p>;
+ if (!data) return <p className="text-sm py-12 text-center text-purple">Guide not found.</p>;
const domain = getMostCommonDomain(data.steps);
const blurScreenshot = blurringStepId ? data.screenshots.get(blurringStepId) : undefined;
@@ -139,7 +139,7 @@ export default function GuideContent({ guideId }: GuideContentProps) {
<div className={title === 'Untitled Guide' && !typingTitle && data.steps.length > 0 ? 'min-h-[88px]' : ''}>
{title === 'Untitled Guide' && !typingTitle && data.steps.length > 0 ? (
- <div className="text-[32px] font-extrabold leading-tight animate-gradient-text bg-[length:300%_100%] bg-clip-text text-transparent bg-gradient-to-r from-muted-foreground via-amber to-muted-foreground max-w-[480px]">
+ <div className="text-[32px] font-extrabold leading-tight animate-gradient-text bg-[length:300%_100%] bg-clip-text text-transparent bg-gradient-to-r from-muted-foreground via-violet to-muted-foreground max-w-[480px]">
Writing a title from your captured steps...
</div>
) : typingTitle ? (
@@ -160,7 +160,7 @@ export default function GuideContent({ guideId }: GuideContentProps) {
speed={70}
cursor={false}
/>
- <span className="inline-block w-[3px] h-[30px] bg-amber ml-0.5 align-text-bottom animate-blink" />
+ <span className="inline-block w-[3px] h-[30px] bg-violet ml-0.5 align-text-bottom animate-blink" />
</div>
</div>
) : (
diff --git a/src/ui/fullview/LibraryContent.tsx b/src/ui/fullview/LibraryContent.tsx
index b3ded74..81b9fd5 100644
--- a/src/ui/fullview/LibraryContent.tsx
+++ b/src/ui/fullview/LibraryContent.tsx
@@ -204,7 +204,7 @@ export default function LibraryContent({ category }: LibraryContentProps) {
<div ref={sortRef} className="relative">
<button
onClick={() => setSortOpen(!sortOpen)}
- className="flex items-center gap-1.5 text-xs font-medium text-muted-foreground px-3 py-1.5 rounded-lg border border-border bg-card hover:border-amber hover:text-warm transition-colors"
+ className="flex items-center gap-1.5 text-xs font-medium text-muted-foreground px-3 py-1.5 rounded-lg border border-border bg-card hover:border-violet hover:text-purple transition-colors"
>
<ArrowDownWideNarrow size={13} />
{sortLabels[sort]}
@@ -230,7 +230,7 @@ export default function LibraryContent({ category }: LibraryContentProps) {
</div>
<button
onClick={toggleDisplay}
- className="flex items-center justify-center w-8 h-8 rounded-lg border border-border bg-card text-muted-foreground hover:border-amber hover:text-warm transition-colors"
+ className="flex items-center justify-center w-8 h-8 rounded-lg border border-border bg-card text-muted-foreground hover:border-violet hover:text-purple transition-colors"
title={display === 'list' ? 'Grid view' : 'List view'}
>
{display === 'list' ? <LayoutGrid size={15} /> : <LayoutList size={15} />}
@@ -238,7 +238,7 @@ export default function LibraryContent({ category }: LibraryContentProps) {
</div>
{loading ? (
- <p className="text-sm py-12 text-center text-warm">Loading...</p>
+ <p className="text-sm py-12 text-center text-purple">Loading...</p>
) : allGuidesRef.current.length === 0 ? (
<div className="text-center py-20">
<FileText size={40} className="mx-auto mb-3 text-border" />
@@ -261,7 +261,7 @@ export default function LibraryContent({ category }: LibraryContentProps) {
<button
onClick={() => applyPage(page - 1)}
disabled={page === 0}
- className="flex items-center justify-center w-8 h-8 rounded-lg border border-border bg-card text-muted-foreground hover:border-amber hover:text-warm transition-colors disabled:opacity-30 disabled:pointer-events-none"
+ className="flex items-center justify-center w-8 h-8 rounded-lg border border-border bg-card text-muted-foreground hover:border-violet hover:text-purple transition-colors disabled:opacity-30 disabled:pointer-events-none"
>
<ChevronLeft size={15} />
</button>
@@ -271,7 +271,7 @@ export default function LibraryContent({ category }: LibraryContentProps) {
<button
onClick={() => applyPage(page + 1)}
disabled={page >= totalPages - 1}
- className="flex items-center justify-center w-8 h-8 rounded-lg border border-border bg-card text-muted-foreground hover:border-amber hover:text-warm transition-colors disabled:opacity-30 disabled:pointer-events-none"
+ className="flex items-center justify-center w-8 h-8 rounded-lg border border-border bg-card text-muted-foreground hover:border-violet hover:text-purple transition-colors disabled:opacity-30 disabled:pointer-events-none"
>
<ChevronRight size={15} />
</button>
diff --git a/src/ui/fullview/SearchModal.tsx b/src/ui/fullview/SearchModal.tsx
index cb3b582..415d15c 100644
--- a/src/ui/fullview/SearchModal.tsx
+++ b/src/ui/fullview/SearchModal.tsx
@@ -97,7 +97,7 @@ export default function SearchModal() {
className="flex-1 text-[15px] font-medium border-0 bg-transparent p-0 shadow-none focus-visible:ring-0 h-auto text-foreground"
/>
{query && (
- <button onClick={() => setQuery('')} className="p-0.5 rounded text-warm">
+ <button onClick={() => setQuery('')} className="p-0.5 rounded text-purple">
<X size={14} />
</button>
)}
diff --git a/src/ui/fullview/TopNav.tsx b/src/ui/fullview/TopNav.tsx
index a4c4d5b..002fd5d 100644
--- a/src/ui/fullview/TopNav.tsx
+++ b/src/ui/fullview/TopNav.tsx
@@ -32,7 +32,7 @@ export default function TopNav({ route }: TopNavProps) {
}));
return (
- <header className="flex items-center gap-5 px-7 h-16 shrink-0 bg-gradient-to-br from-amber to-amber-light">
+ <header className="flex items-center gap-5 px-7 h-16 shrink-0 bg-gradient-to-br from-violet to-violet-light">
{/* Brand */}
<button
onClick={() => navigate({ page: 'library', category: 'all' })}
@@ -71,12 +71,12 @@ export default function TopNav({ route }: TopNavProps) {
key={item.key}
onClick={() => navigate({ page: 'library', category: item.key })}
className={`flex items-center gap-1.5 text-[13px] h-8 px-3 rounded-md transition-all
- ${active ? 'bg-primary text-primary-foreground font-semibold' : 'text-brown font-medium hover:bg-foreground/10'}`}
+ ${active ? 'bg-primary text-primary-foreground font-semibold' : 'text-deep font-medium hover:bg-foreground/10'}`}
>
<item.icon size={13.5} />
{item.label}
{count > 0 && (
- <span className={`text-[11px] ml-0.5 ${active ? 'text-primary-foreground/70' : 'text-amber-dark'}`}>
+ <span className={`text-[11px] ml-0.5 ${active ? 'text-primary-foreground/70' : 'text-violet-dark'}`}>
{count}
</span>
)}
@@ -91,9 +91,9 @@ export default function TopNav({ route }: TopNavProps) {
onClick={() => setSearchOpen(true)}
className="flex items-center gap-2 px-3 h-8 rounded-lg w-52 cursor-pointer bg-white/40 border-0 hover:bg-white/60"
>
- <Search size={14} className="shrink-0 text-amber-dark" />
- <span className="text-[12px] flex-1 text-left text-amber-dark">Search guides...</span>
- <span className="text-[9px] font-semibold px-1.5 py-0.5 rounded bg-foreground/10 text-amber-dark">⌘K</span>
+ <Search size={14} className="shrink-0 text-violet-dark" />
+ <span className="text-[12px] flex-1 text-left text-violet-dark">Search guides...</span>
+ <span className="text-[9px] font-semibold px-1.5 py-0.5 rounded bg-foreground/10 text-violet-dark">⌘K</span>
</Button>
{route.page === 'guide' && exportData && (
<ExportMenu
diff --git a/src/ui/fullview/components/GuideListView.tsx b/src/ui/fullview/components/GuideListView.tsx
index f546429..485743e 100644
--- a/src/ui/fullview/components/GuideListView.tsx
+++ b/src/ui/fullview/components/GuideListView.tsx
@@ -34,14 +34,14 @@ export default function GuideListView({ category, onStar, onTrash, onRestore, on
<>
<button
onClick={(e) => onStar(e, guide.id)}
- className="p-1.5 rounded-lg transition-colors text-warm hover:text-accent"
+ className="p-1.5 rounded-lg transition-colors text-purple hover:text-accent"
title={guide.starred ? 'Unstar' : 'Star'}
>
<Star size={14} fill={guide.starred ? 'currentColor' : 'none'} />
</button>
<button
onClick={(e) => onTrash(e, guide.id)}
- className="p-1.5 rounded-lg transition-colors text-warm hover:text-red-600"
+ className="p-1.5 rounded-lg transition-colors text-purple hover:text-red-600"
title="Move to trash"
>
<Trash2 size={14} />
@@ -51,14 +51,14 @@ export default function GuideListView({ category, onStar, onTrash, onRestore, on
<>
<button
onClick={(e) => onRestore(e, guide.id)}
- className="p-1.5 rounded-lg transition-colors text-warm hover:text-green-600"
+ className="p-1.5 rounded-lg transition-colors text-purple hover:text-green-600"
title="Restore"
>
<RotateCcw size={14} />
</button>
<button
onClick={(e) => onPermanentDelete(e, guide.id)}
- className="p-1.5 rounded-lg transition-colors text-warm hover:text-red-600"
+ className="p-1.5 rounded-lg transition-colors text-purple hover:text-red-600"
title="Delete permanently"
>
<Trash2 size={14} />
diff --git a/src/ui/fullview/components/KeyboardHints.tsx b/src/ui/fullview/components/KeyboardHints.tsx
index e518a05..29c8693 100644
--- a/src/ui/fullview/components/KeyboardHints.tsx
+++ b/src/ui/fullview/components/KeyboardHints.tsx
@@ -9,8 +9,10 @@ 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-gold text-muted-foreground">{h.key}</span>
- <span className="text-[10px] text-warm">{h.label}</span>
+ <span className="text-[9px] font-semibold px-1.5 py-0.5 rounded bg-lavender text-muted-foreground">
+ {h.key}
+ </span>
+ <span className="text-[10px] text-purple">{h.label}</span>
</span>
))}
</div>
diff --git a/src/ui/fullview/components/MascotIcon.tsx b/src/ui/fullview/components/MascotIcon.tsx
index e208c07..6b3b03a 100644
--- a/src/ui/fullview/components/MascotIcon.tsx
+++ b/src/ui/fullview/components/MascotIcon.tsx
@@ -8,11 +8,23 @@ export default function MascotIcon({ size = 22 }: { size?: number }) {
className="block shrink-0"
>
<rect x="30" y="95" width="140" height="68" rx="5" className="fill-primary" />
- <path d="M30 95 L30 80 Q30 60, 100 60 Q170 60, 170 80 L170 95 Z" className="fill-brown-dark" />
- <rect x="30" y="93" width="140" height="3" className="fill-gold" />
- <path d="M68 122 Q76 112 84 122" className="stroke-gold" strokeWidth="5" fill="none" strokeLinecap="round" />
- <path d="M116 122 Q124 112 132 122" className="stroke-gold" strokeWidth="5" fill="none" strokeLinecap="round" />
- <path d="M84 138 Q100 148 116 138" className="stroke-gold" strokeWidth="3.5" fill="none" strokeLinecap="round" />
+ <path d="M30 95 L30 80 Q30 60, 100 60 Q170 60, 170 80 L170 95 Z" className="fill-violet-mid" />
+ <rect x="30" y="93" width="140" height="3" className="fill-lavender" />
+ <path d="M68 122 Q76 112 84 122" className="stroke-lavender" strokeWidth="5" fill="none" strokeLinecap="round" />
+ <path
+ d="M116 122 Q124 112 132 122"
+ className="stroke-lavender"
+ strokeWidth="5"
+ fill="none"
+ strokeLinecap="round"
+ />
+ <path
+ d="M84 138 Q100 148 116 138"
+ className="stroke-lavender"
+ strokeWidth="3.5"
+ fill="none"
+ strokeLinecap="round"
+ />
</svg>
);
}
diff --git a/src/ui/fullview/components/SearchResults.tsx b/src/ui/fullview/components/SearchResults.tsx
index 217b8d9..cf2df94 100644
--- a/src/ui/fullview/components/SearchResults.tsx
+++ b/src/ui/fullview/components/SearchResults.tsx
@@ -18,7 +18,7 @@ export default function SearchResults({ results, query, selected, onSelect, onHo
if (results.length === 0) {
return (
<div className="py-8 text-center">
- <p className="text-sm text-warm">{query ? 'No matching guides' : 'No guides yet'}</p>
+ <p className="text-sm text-purple">{query ? 'No matching guides' : 'No guides yet'}</p>
</div>
);
}
diff --git a/src/ui/shared/EmptyGuideState.tsx b/src/ui/shared/EmptyGuideState.tsx
index daa0784..44fd000 100644
--- a/src/ui/shared/EmptyGuideState.tsx
+++ b/src/ui/shared/EmptyGuideState.tsx
@@ -4,13 +4,13 @@ export default function EmptyGuideState() {
<div className="relative">
<svg width="72" height="54" viewBox="20 50 160 120" className="block">
<rect x="30" y="95" width="140" height="68" rx="5" className="fill-primary" />
- <path d="M30 95 L30 80 Q30 60, 100 60 Q170 60, 170 80 L170 95 Z" className="fill-brown-dark" />
- <rect x="30" y="93" width="140" height="3" className="fill-gold" />
- <line x1="66" y1="120" x2="86" y2="120" className="stroke-gold" strokeWidth="4" strokeLinecap="round" />
- <line x1="114" y1="120" x2="134" y2="120" className="stroke-gold" strokeWidth="4" strokeLinecap="round" />
+ <path d="M30 95 L30 80 Q30 60, 100 60 Q170 60, 170 80 L170 95 Z" className="fill-violet-mid" />
+ <rect x="30" y="93" width="140" height="3" className="fill-lavender" />
+ <line x1="66" y1="120" x2="86" y2="120" className="stroke-lavender" strokeWidth="4" strokeLinecap="round" />
+ <line x1="114" y1="120" x2="134" y2="120" className="stroke-lavender" strokeWidth="4" strokeLinecap="round" />
<path
d="M88 140 Q100 145 112 140"
- className="stroke-gold"
+ className="stroke-lavender"
strokeWidth="3"
fill="none"
strokeLinecap="round"
diff --git a/src/ui/shared/SettingsView.tsx b/src/ui/shared/SettingsView.tsx
index 9336e93..f78cfbe 100644
--- a/src/ui/shared/SettingsView.tsx
+++ b/src/ui/shared/SettingsView.tsx
@@ -108,7 +108,7 @@ export default function SettingsView({ onBack }: SettingsViewProps) {
{/* Privacy note */}
<div className="flex items-start gap-2 px-3 py-2.5 rounded-lg bg-secondary text-[10px] text-muted-foreground leading-relaxed">
- <Shield size={12} className="shrink-0 mt-0.5 text-amber" />
+ <Shield size={12} className="shrink-0 mt-0.5 text-violet" />
<span>
Your API key is stored locally and only sent to the selected AI provider. No data leaves your browser
otherwise.
diff --git a/src/ui/sidepanel/App.tsx b/src/ui/sidepanel/App.tsx
index b575b18..e7c9f9f 100644
--- a/src/ui/sidepanel/App.tsx
+++ b/src/ui/sidepanel/App.tsx
@@ -34,7 +34,7 @@ function MascotIcon({ size = 44 }: { size?: number }) {
</clipPath>
</defs>
<g clipPath="url(#cc)">
- <rect x="-50" y="-50" width="300" height="300" className="fill-gold" />
+ <rect x="-50" y="-50" width="300" height="300" className="fill-lavender" />
<rect
x="30"
y="-80"
@@ -51,17 +51,29 @@ function MascotIcon({ size = 44 }: { size?: number }) {
y="-80"
width="50"
height="400"
- className="fill-amber-light"
+ className="fill-violet-light"
transform="rotate(45, 100, 100)"
opacity="0.1"
/>
</g>
<rect x="30" y="95" width="140" height="68" rx="5" className="fill-primary" />
- <path d="M30 95 L30 80 Q30 60, 100 60 Q170 60, 170 80 L170 95 Z" className="fill-brown-dark" />
- <rect x="30" y="93" width="140" height="3" className="fill-gold" />
- <path d="M68 122 Q76 112 84 122" className="stroke-gold" strokeWidth="5" fill="none" strokeLinecap="round" />
- <path d="M116 122 Q124 112 132 122" className="stroke-gold" strokeWidth="5" fill="none" strokeLinecap="round" />
- <path d="M84 138 Q100 148 116 138" className="stroke-gold" strokeWidth="3.5" fill="none" strokeLinecap="round" />
+ <path d="M30 95 L30 80 Q30 60, 100 60 Q170 60, 170 80 L170 95 Z" className="fill-violet-mid" />
+ <rect x="30" y="93" width="140" height="3" className="fill-lavender" />
+ <path d="M68 122 Q76 112 84 122" className="stroke-lavender" strokeWidth="5" fill="none" strokeLinecap="round" />
+ <path
+ d="M116 122 Q124 112 132 122"
+ className="stroke-lavender"
+ strokeWidth="5"
+ fill="none"
+ strokeLinecap="round"
+ />
+ <path
+ d="M84 138 Q100 148 116 138"
+ className="stroke-lavender"
+ strokeWidth="3.5"
+ fill="none"
+ strokeLinecap="round"
+ />
</svg>
);
}
@@ -181,14 +193,14 @@ export default function App() {
return (
<div className="min-h-screen bg-card flex flex-col">
{/* Header */}
- <div className="relative overflow-hidden px-6 pt-6 pb-7 bg-gradient-to-br from-amber to-amber-light">
- <div className="absolute -top-12 -right-8 w-44 h-44 rounded-full opacity-15 blur-[40px] bg-gradient-to-br from-gold to-white" />
+ <div className="relative overflow-hidden px-6 pt-6 pb-7 bg-gradient-to-br from-violet to-violet-light">
+ <div className="absolute -top-12 -right-8 w-44 h-44 rounded-full opacity-15 blur-[40px] bg-gradient-to-br from-lavender to-white" />
<div className="relative flex items-center justify-between mb-6">
<span className="text-[17px] font-bold tracking-tight text-foreground">Mimik</span>
<div className="flex items-center gap-2">
<span
- className={`text-[10px] font-medium px-2.5 py-0.5 rounded-full ${isAlive ? 'text-foreground bg-white/30' : 'text-brown/50 bg-white/15'}`}
+ className={`text-[10px] font-medium px-2.5 py-0.5 rounded-full ${isAlive ? 'text-foreground bg-white/30' : 'text-deep/50 bg-white/15'}`}
>
{isAlive ? 'Connected' : 'Connecting...'}
</span>
@@ -206,7 +218,7 @@ export default function App() {
<MascotIcon size={44} />
</div>
<h3 className="text-base font-medium text-foreground">What would you like to capture?</h3>
- <p className="text-xs mt-1 text-amber-dark">Record any workflow automatically</p>
+ <p className="text-xs mt-1 text-violet-dark">Record any workflow automatically</p>
</div>
<Button
@@ -222,7 +234,7 @@ export default function App() {
{/* Body */}
<div className="flex-1 px-5 pt-5">
<div className="relative mb-5">
- <Search size={15} className="absolute left-3.5 top-1/2 -translate-y-1/2 text-warm" />
+ <Search size={15} className="absolute left-3.5 top-1/2 -translate-y-1/2 text-purple" />
<Input
type="text"
placeholder="Search guides..."
diff --git a/src/ui/sidepanel/BlurCanvas.tsx b/src/ui/sidepanel/BlurCanvas.tsx
index bf07dd1..a697853 100644
--- a/src/ui/sidepanel/BlurCanvas.tsx
+++ b/src/ui/sidepanel/BlurCanvas.tsx
@@ -209,7 +209,7 @@ export default function BlurCanvas({ screenshot, onSave, onCancel }: BlurCanvasP
</button>
<button
onClick={handleSave}
- className="flex items-center gap-1 px-3 py-1.5 text-sm text-white bg-amber-600 hover:bg-amber-700 rounded"
+ className="flex items-center gap-1 px-3 py-1.5 text-sm text-white bg-violet-600 hover:bg-violet-700 rounded"
title="Save blurred screenshot"
>
<Check size={14} />
diff --git a/src/ui/sidepanel/GuideEditor.tsx b/src/ui/sidepanel/GuideEditor.tsx
index 627419b..6cfb1dd 100644
--- a/src/ui/sidepanel/GuideEditor.tsx
+++ b/src/ui/sidepanel/GuideEditor.tsx
@@ -102,12 +102,12 @@ export default function GuideEditor({ guideId, onBack, onGuideMe }: GuideEditorP
[blurringStepId, data],
);
- if (loading) return <p className="text-sm text-warm p-4">Loading...</p>;
+ if (loading) return <p className="text-sm text-purple p-4">Loading...</p>;
if (notFound || !data) {
return (
<div className="p-4">
- <button onClick={onBack} className="flex items-center gap-1 text-sm text-warm hover:text-foreground mb-4">
+ <button onClick={onBack} className="flex items-center gap-1 text-sm text-purple hover:text-foreground mb-4">
<ArrowLeft size={18} />
Back
</button>
@@ -127,7 +127,7 @@ export default function GuideEditor({ guideId, onBack, onGuideMe }: GuideEditorP
<div className="flex items-center gap-2">
<button
onClick={onBack}
- className="shrink-0 p-1 rounded text-warm hover:text-foreground"
+ className="shrink-0 p-1 rounded text-purple hover:text-foreground"
title="Back to library"
>
<ArrowLeft size={18} />
@@ -150,7 +150,7 @@ export default function GuideEditor({ guideId, onBack, onGuideMe }: GuideEditorP
}
});
}}
- className="shrink-0 p-1.5 rounded-md transition-colors text-warm hover:text-accent hover:bg-secondary"
+ className="shrink-0 p-1.5 rounded-md transition-colors text-purple hover:text-accent hover:bg-secondary"
title="Open in full view"
>
<Maximize2 size={15} />
@@ -162,7 +162,7 @@ export default function GuideEditor({ guideId, onBack, onGuideMe }: GuideEditorP
onGuideMe?.(guideId);
}}
disabled={!data.steps.some((s) => s.elementMeta)}
- className="shrink-0 p-1.5 rounded-md transition-colors text-warm hover:text-accent hover:bg-secondary disabled:opacity-30 disabled:cursor-not-allowed"
+ className="shrink-0 p-1.5 rounded-md transition-colors text-purple hover:text-accent hover:bg-secondary disabled:opacity-30 disabled:cursor-not-allowed"
title="Guide Me"
>
<Play size={15} />
diff --git a/src/ui/sidepanel/GuideMeView.tsx b/src/ui/sidepanel/GuideMeView.tsx
index 88981d0..fa39873 100644
--- a/src/ui/sidepanel/GuideMeView.tsx
+++ b/src/ui/sidepanel/GuideMeView.tsx
@@ -154,8 +154,8 @@ export default function GuideMeView({ guideId, onExit, onComplete }: GuideMeView
};
}, [viewedStep, viewedScreenshot]);
- if (loading) return <p className="text-sm text-warm p-4">Loading...</p>;
- if (!data) return <p className="text-sm text-warm p-4">Guide not found</p>;
+ if (loading) return <p className="text-sm text-purple p-4">Loading...</p>;
+ if (!data) return <p className="text-sm text-purple p-4">Guide not found</p>;
const totalSteps = data.steps.length;
@@ -165,7 +165,7 @@ export default function GuideMeView({ guideId, onExit, onComplete }: GuideMeView
<div className="px-4 pt-3 pb-2 flex items-center gap-2">
<button
onClick={() => setShowExitConfirm(true)}
- className="shrink-0 p-1 rounded text-warm hover:text-foreground"
+ className="shrink-0 p-1 rounded text-purple hover:text-foreground"
>
<ArrowLeft size={18} />
</button>
@@ -181,7 +181,7 @@ export default function GuideMeView({ guideId, onExit, onComplete }: GuideMeView
<div
key={step.id}
className={`flex-1 h-[3px] rounded-[1.5px] ${
- idx < activeStepIndex ? 'bg-success' : idx === activeStepIndex ? 'bg-amber' : 'bg-border'
+ idx < activeStepIndex ? 'bg-success' : idx === activeStepIndex ? 'bg-violet' : 'bg-border'
}`}
/>
))}
@@ -190,8 +190,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-amber-800 px-2.5 py-1 rounded-full mb-2.5">
- <span className="w-5 h-5 rounded-full bg-amber 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-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">
{viewedStepIndex + 1}
</span>
Step {viewedStepIndex + 1} of {totalSteps}
@@ -226,7 +226,10 @@ export default function GuideMeView({ guideId, onExit, onComplete }: GuideMeView
className="w-full block"
/>
{highlightStyle && (
- <div className="absolute border-2 border-amber rounded-sm pointer-events-none" style={highlightStyle} />
+ <div
+ className="absolute border-2 border-violet rounded-sm pointer-events-none"
+ style={highlightStyle}
+ />
)}
</div>
)}
@@ -235,7 +238,7 @@ export default function GuideMeView({ guideId, onExit, onComplete }: GuideMeView
<button
onClick={() => setViewedStepIndex((i) => Math.max(0, i - 1))}
disabled={viewedStepIndex === 0}
- className="flex items-center gap-1 text-xs font-medium text-warm hover:text-foreground disabled:opacity-30 disabled:cursor-not-allowed"
+ className="flex items-center gap-1 text-xs font-medium text-purple hover:text-foreground disabled:opacity-30 disabled:cursor-not-allowed"
>
<ChevronLeft size={14} />
Prev
@@ -250,7 +253,7 @@ export default function GuideMeView({ guideId, onExit, onComplete }: GuideMeView
}
}}
disabled={viewedStepIndex === totalSteps - 1 && viewedStepIndex !== activeStepIndex}
- className="flex items-center gap-1 text-xs font-medium text-warm hover:text-foreground disabled:opacity-30 disabled:cursor-not-allowed"
+ className="flex items-center gap-1 text-xs font-medium text-purple hover:text-foreground disabled:opacity-30 disabled:cursor-not-allowed"
>
{viewedStepIndex === totalSteps - 1 && viewedStepIndex === activeStepIndex ? 'Finish' : 'Next'}
<ChevronRight size={14} />
@@ -276,7 +279,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-amber 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-violet 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.tsx
index a30f356..051de0e 100644
--- a/src/ui/sidepanel/LibraryView.tsx
+++ b/src/ui/sidepanel/LibraryView.tsx
@@ -83,17 +83,17 @@ export default function LibraryView({ onOpen, searchQuery = '' }: LibraryViewPro
: guides;
if (loading) {
- return <p className="text-sm py-4 text-warm">Loading...</p>;
+ return <p className="text-sm py-4 text-purple">Loading...</p>;
}
if (guides.length === 0) {
return (
<div className="py-10 text-center">
- <div className="w-12 h-12 rounded-lg flex items-center justify-center mx-auto mb-3 bg-gold border border-amber-light">
+ <div className="w-12 h-12 rounded-lg flex items-center justify-center mx-auto mb-3 bg-lavender border border-violet-light">
<FileText size={20} className="text-muted-foreground" />
</div>
<p className="text-sm font-medium text-foreground">No guides yet</p>
- <p className="text-xs mt-1 text-warm">Start a capture to create your first guide</p>
+ <p className="text-xs mt-1 text-purple">Start a capture to create your first guide</p>
</div>
);
}
@@ -101,7 +101,7 @@ export default function LibraryView({ onOpen, searchQuery = '' }: LibraryViewPro
if (filtered.length === 0) {
return (
<div className="py-8 text-center">
- <p className="text-sm text-warm">No matching guides</p>
+ <p className="text-sm text-purple">No matching guides</p>
</div>
);
}
@@ -113,7 +113,7 @@ export default function LibraryView({ onOpen, searchQuery = '' }: LibraryViewPro
return (
<div
key={guide.id}
- className="flex items-start gap-3 px-3.5 py-2.5 rounded-xl cursor-pointer group transition-all bg-card border border-border hover:border-amber hover:shadow-sm"
+ className="flex items-start gap-3 px-3.5 py-2.5 rounded-xl cursor-pointer group transition-all bg-card border border-border hover:border-violet hover:shadow-sm"
onClick={() => onOpen(guide.id)}
>
<div className="w-7 h-7 mt-0.5 rounded-full flex items-center justify-center shrink-0 overflow-hidden">
diff --git a/src/ui/sidepanel/RecordingView.tsx b/src/ui/sidepanel/RecordingView.tsx
index 32ad97c..7b10631 100644
--- a/src/ui/sidepanel/RecordingView.tsx
+++ b/src/ui/sidepanel/RecordingView.tsx
@@ -113,7 +113,7 @@ export default function RecordingView({ guideId, onStop }: RecordingViewProps) {
<ellipse cx="146" cy="64" rx="10" ry="8" fill="#451a03" />
</svg>
<div className="text-center">
- <p className="text-sm font-semibold text-amber">Ready to capture!</p>
+ <p className="text-sm font-semibold text-violet">Ready to capture!</p>
<p className="text-xs text-border mt-0.5">Click on the page to start</p>
</div>
</div>
@@ -138,7 +138,7 @@ export default function RecordingView({ guideId, onStop }: RecordingViewProps) {
<p className="text-[13px] font-medium leading-snug text-foreground">
{liveStep.step.description}
</p>
- <span className="text-[10px] text-warm">
+ <span className="text-[10px] text-purple">
{timeAgo(liveStep.step.timestamp)} Β· {extractDomain(liveStep.step.url || siteUrl)}
</span>
</div>
@@ -167,7 +167,7 @@ export default function RecordingView({ guideId, onStop }: RecordingViewProps) {
</Button>
<button
onClick={onStop}
- className="w-10 h-10 rounded-full border border-border flex items-center justify-center transition-colors text-warm 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-red-300 hover:text-red-400"
title="Discard"
>
<X size={16} />
diff --git a/src/ui/sidepanel/StepCard.tsx b/src/ui/sidepanel/StepCard.tsx
index 4d87b8b..45f6d09 100644
--- a/src/ui/sidepanel/StepCard.tsx
+++ b/src/ui/sidepanel/StepCard.tsx
@@ -81,7 +81,9 @@ export default function StepCard({
className="!rounded-none !border-0"
/>
) : (
- <div className="w-full h-32 flex items-center justify-center text-sm bg-secondary text-warm">No screenshot</div>
+ <div className="w-full h-32 flex items-center justify-center text-sm bg-secondary text-purple">
+ No screenshot
+ </div>
)}
<div className="px-3 pt-2 pb-2">