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 all mascot SVGs to electric purple with diagonal split

Luis Ortiz3ce07d9801f9
diff --git a/public/mascot.svg b/public/mascot.svg
index 7eae20d..078d5e5 100644
--- a/public/mascot.svg
+++ b/public/mascot.svg
@@ -1,18 +1,20 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200">
<defs>
<clipPath id="cc"><circle cx="100" cy="100" r="95"/></clipPath>
+ <clipPath id="ds"><path d="M30 95 L170 60 L170 95 Z"/></clipPath>
</defs>
<g clip-path="url(#cc)">
- <rect x="-50" y="-50" width="300" height="300" fill="#FDE68A"/>
- <rect x="30" y="-80" width="50" height="400" fill="#F59E0B" transform="rotate(45, 100, 100)" opacity="0.15"/>
- <rect x="90" y="-80" width="50" height="400" fill="#D97706" transform="rotate(45, 100, 100)" opacity="0.12"/>
- <rect x="-30" y="-80" width="50" height="400" fill="#FCD34D" transform="rotate(45, 100, 100)" opacity="0.15"/>
- <rect x="150" y="-80" width="50" height="400" fill="#FBBF24" transform="rotate(45, 100, 100)" opacity="0.1"/>
+ <rect x="-50" y="-50" width="300" height="300" fill="#DDD6FE"/>
+ <rect x="30" y="-80" width="50" height="400" fill="#8B5CF6" transform="rotate(45, 100, 100)" opacity="0.15"/>
+ <rect x="90" y="-80" width="50" height="400" fill="#7C3AED" transform="rotate(45, 100, 100)" opacity="0.12"/>
+ <rect x="-30" y="-80" width="50" height="400" fill="#A78BFA" transform="rotate(45, 100, 100)" opacity="0.15"/>
+ <rect x="150" y="-80" width="50" height="400" fill="#C4B5FD" transform="rotate(45, 100, 100)" opacity="0.1"/>
</g>
- <rect x="30" y="95" width="140" height="68" rx="5" fill="#451a03"/>
- <path d="M30 95 L30 80 Q30 60, 100 60 Q170 60, 170 80 L170 95 Z" fill="#572508"/>
- <rect x="30" y="93" width="140" height="3" fill="#FDE68A"/>
- <path d="M68 122 Q76 112 84 122" stroke="#FDE68A" stroke-width="5" fill="none" stroke-linecap="round"/>
- <path d="M116 122 Q124 112 132 122" stroke="#FDE68A" stroke-width="5" fill="none" stroke-linecap="round"/>
- <path d="M84 138 Q100 148 116 138" stroke="#FDE68A" stroke-width="3.5" fill="none" stroke-linecap="round"/>
+ <rect x="30" y="95" width="140" height="68" rx="5" fill="#4C1D95"/>
+ <path d="M30 95 L30 80 Q30 60, 100 60 Q170 60, 170 80 L170 95 Z" fill="#6D28D9"/>
+ <path d="M30 95 L30 80 Q30 60, 100 60 Q170 60, 170 80 L170 95 Z" fill="#8B5CF6" clip-path="url(#ds)"/>
+ <rect x="30" y="93" width="140" height="3" fill="#DDD6FE"/>
+ <path d="M68 122 Q76 112 84 122" stroke="#DDD6FE" stroke-width="5" fill="none" stroke-linecap="round"/>
+ <path d="M116 122 Q124 112 132 122" stroke="#DDD6FE" stroke-width="5" fill="none" stroke-linecap="round"/>
+ <path d="M84 138 Q100 148 116 138" stroke="#DDD6FE" stroke-width="3.5" fill="none" stroke-linecap="round"/>
</svg>
diff --git a/src/ui/fullview/components/MascotIcon.tsx b/src/ui/fullview/components/MascotIcon.tsx
index 6b3b03a..8fdd311 100644
--- a/src/ui/fullview/components/MascotIcon.tsx
+++ b/src/ui/fullview/components/MascotIcon.tsx
@@ -7,8 +7,14 @@ export default function MascotIcon({ size = 22 }: { size?: number }) {
height={Math.round((size * 120) / 160)}
className="block shrink-0"
>
+ <defs>
+ <clipPath id="fds">
+ <path d="M30 95 L170 60 L170 95 Z" />
+ </clipPath>
+ </defs>
<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-violet-mid" />
+ <path d="M30 95 L30 80 Q30 60, 100 60 Q170 60, 170 80 L170 95 Z" className="fill-accent" clipPath="url(#fds)" />
<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
diff --git a/src/ui/sidepanel/App.tsx b/src/ui/sidepanel/App.tsx
index e7c9f9f..6c2b148 100644
--- a/src/ui/sidepanel/App.tsx
+++ b/src/ui/sidepanel/App.tsx
@@ -32,6 +32,9 @@ function MascotIcon({ size = 44 }: { size?: number }) {
<clipPath id="cc">
<circle cx="100" cy="100" r="95" />
</clipPath>
+ <clipPath id="ds">
+ <path d="M30 95 L170 60 L170 95 Z" />
+ </clipPath>
</defs>
<g clipPath="url(#cc)">
<rect x="-50" y="-50" width="300" height="300" className="fill-lavender" />
@@ -44,20 +47,13 @@ function MascotIcon({ size = 44 }: { size?: number }) {
transform="rotate(45, 100, 100)"
opacity="0.15"
/>
- <rect x="90" y="-80" width="50" height="400" fill="#D97706" transform="rotate(45, 100, 100)" opacity="0.12" />
- <rect x="-30" y="-80" width="50" height="400" fill="#FCD34D" transform="rotate(45, 100, 100)" opacity="0.15" />
- <rect
- x="150"
- y="-80"
- width="50"
- height="400"
- className="fill-violet-light"
- transform="rotate(45, 100, 100)"
- opacity="0.1"
- />
+ <rect x="90" y="-80" width="50" height="400" fill="#7C3AED" transform="rotate(45, 100, 100)" opacity="0.12" />
+ <rect x="-30" y="-80" width="50" height="400" fill="#A78BFA" transform="rotate(45, 100, 100)" opacity="0.15" />
+ <rect x="150" y="-80" width="50" height="400" fill="#C4B5FD" 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-violet-mid" />
+ <path d="M30 95 L30 80 Q30 60, 100 60 Q170 60, 170 80 L170 95 Z" className="fill-accent" clipPath="url(#ds)" />
<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