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: update hardcoded background colors and UI one-offs to purple

Luis Ortiz66b199de3894
diff --git a/src/core/guideme/overlay.ts b/src/core/guideme/overlay.ts
index 95f2d79..3046178 100644
--- a/src/core/guideme/overlay.ts
+++ b/src/core/guideme/overlay.ts
@@ -12,9 +12,9 @@ const STYLES = `
.highlight {
position: fixed;
- border: 2px solid #F59E0B;
+ border: 2px solid #8B5CF6;
border-radius: 4px;
- box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15), 0 0 12px rgba(245, 158, 11, 0.2);
+ box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15), 0 0 12px rgba(139, 92, 246, 0.2);
pointer-events: none;
transition: all 0.3s ease;
}
@@ -37,20 +37,20 @@ const STYLES = `
width: 22px;
height: 22px;
border-radius: 50%;
- background: #F59E0B;
+ background: #8B5CF6;
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
font-weight: 800;
- color: #451a03;
+ color: #2E1065;
flex-shrink: 0;
}
.label .text {
font-size: 12px;
font-weight: 600;
- color: #451a03;
+ color: #2E1065;
line-height: 1.35;
}
`;
diff --git a/src/ui/fullview/GuideContent.tsx b/src/ui/fullview/GuideContent.tsx
index 321ffa2..903ec71 100644
--- a/src/ui/fullview/GuideContent.tsx
+++ b/src/ui/fullview/GuideContent.tsx
@@ -114,7 +114,7 @@ export default function GuideContent({ guideId }: GuideContentProps) {
{[0, 1, 2].map((i) => (
<div key={i} className="rounded-xl border border-border/50 p-4">
<div
- className="aspect-video rounded-lg bg-[#f5f2ee] animate-pulse mb-3"
+ className="aspect-video rounded-lg bg-[#f5f2f9] animate-pulse mb-3"
style={{ animationDelay: `${i * 150}ms` }}
/>
<div
diff --git a/src/ui/fullview/components/SearchResults.tsx b/src/ui/fullview/components/SearchResults.tsx
index cf2df94..0e2d030 100644
--- a/src/ui/fullview/components/SearchResults.tsx
+++ b/src/ui/fullview/components/SearchResults.tsx
@@ -42,8 +42,8 @@ export default function SearchResults({ results, query, selected, onSelect, onHo
style={
i === selected
? {
- background: 'rgba(253,230,138,0.15)',
- border: '1px solid rgba(253,230,138,0.2)',
+ background: 'rgba(221,214,254,0.15)',
+ border: '1px solid rgba(221,214,254,0.2)',
color: 'var(--color-gold)',
}
: {
@@ -75,7 +75,7 @@ export default function SearchResults({ results, query, selected, onSelect, onHo
</p>
<p
className="text-[10px] mt-0.5"
- style={{ color: i === selected ? 'rgba(253,230,138,0.6)' : 'var(--color-warm)' }}
+ style={{ color: i === selected ? 'rgba(221,214,254,0.6)' : 'var(--color-warm)' }}
>
{r.guide.stepIds.length} step{r.guide.stepIds.length !== 1 ? 's' : ''} Β·{' '}
{formatDateShort(r.guide.updatedAt)}
diff --git a/src/ui/options/App.tsx b/src/ui/options/App.tsx
index 9c59dd4..0cdc0ec 100644
--- a/src/ui/options/App.tsx
+++ b/src/ui/options/App.tsx
@@ -9,7 +9,7 @@ export default function App() {
justifyContent: 'center',
minHeight: '100vh',
width: '100%',
- background: 'radial-gradient(ellipse at center, #fffdf8 0%, #f5f0e8 60%, #ede5d8 100%)',
+ background: 'radial-gradient(ellipse at center, #fcfaff 0%, #f5f0fa 60%, #ede5f4 100%)',
}}
>
<div
@@ -19,7 +19,7 @@ export default function App() {
background: 'white',
borderRadius: '16px',
border: '1px solid #E8E2DA',
- boxShadow: '0 8px 40px rgba(69,26,3,0.08)',
+ boxShadow: '0 8px 40px rgba(46,16,101,0.08)',
overflow: 'hidden',
}}
>
diff --git a/src/ui/options/index.css b/src/ui/options/index.css
index 50aacd7..471b0ff 100644
--- a/src/ui/options/index.css
+++ b/src/ui/options/index.css
@@ -11,6 +11,6 @@ html, body, #root {
display: flex;
align-items: center;
justify-content: center;
- background: radial-gradient(ellipse at center, #fffdf8 0%, #f5f0e8 60%, #ede5d8 100%);
+ background: radial-gradient(ellipse at center, #fcfaff 0%, #f5f0fa 60%, #ede5f4 100%);
min-height: 100vh;
}
diff --git a/src/ui/sidepanel/LibraryView.tsx b/src/ui/sidepanel/LibraryView.tsx
index 051de0e..c8a75a6 100644
--- a/src/ui/sidepanel/LibraryView.tsx
+++ b/src/ui/sidepanel/LibraryView.tsx
@@ -133,10 +133,10 @@ export default function LibraryView({ onOpen, searchQuery = '' }: LibraryViewPro
</div>
<div className="flex-1 min-w-0">
- <p className={`text-[13px] font-medium truncate ${isEmpty ? 'text-[#b8a48e]' : 'text-foreground'}`}>
+ <p className={`text-[13px] font-medium truncate ${isEmpty ? 'text-[#9B8BB4]' : 'text-foreground'}`}>
{guide.title}
</p>
- <p className="text-[10px] mt-0.5 text-[#b8a48e]">{formatRelativeTime(guide.updatedAt)}</p>
+ <p className="text-[10px] mt-0.5 text-[#9B8BB4]">{formatRelativeTime(guide.updatedAt)}</p>
</div>
{guide.stepIds.length > 0 && (
diff --git a/src/ui/sidepanel/ZoomScreenshot.tsx b/src/ui/sidepanel/ZoomScreenshot.tsx
index 0263260..30c6054 100644
--- a/src/ui/sidepanel/ZoomScreenshot.tsx
+++ b/src/ui/sidepanel/ZoomScreenshot.tsx
@@ -59,7 +59,7 @@ async function renderScreenshot(
const bw = bounds.width * dpr;
const bh = bounds.height * dpr;
- fullCtx.strokeStyle = '#F59E0B';
+ fullCtx.strokeStyle = '#8B5CF6';
fullCtx.lineWidth = 3.5;
fullCtx.setLineDash([8, 5]);
drawRoundedRect(fullCtx, bx, by, bw, bh, 12);
@@ -100,7 +100,7 @@ async function renderScreenshot(
const scaleX = imgW / visW;
const scaleY = imgH / visH;
- cropCtx.strokeStyle = '#F59E0B';
+ cropCtx.strokeStyle = '#8B5CF6';
cropCtx.lineWidth = 3.5;
cropCtx.setLineDash([8, 5]);
drawRoundedRect(cropCtx, (bx - cropX) * scaleX, (by - cropY) * scaleY, bw * scaleX, bh * scaleY, 12);
@@ -187,7 +187,7 @@ export default function ZoomScreenshot({
if (!fullUrl) {
return (
- <div className={`rounded-lg bg-[#f5f2ee] p-4 flex flex-col gap-2.5 ${className}`} style={{ aspectRatio: ratio }}>
+ <div className={`rounded-lg bg-[#f5f2f9] 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">