Skip to content

Commit b16e6e6

Browse files
committed
refactor(svg): improve gruvbox icon in ThemeQuickPresets
1 parent d138b96 commit b16e6e6

1 file changed

Lines changed: 21 additions & 12 deletions

File tree

app/customize/components/ThemeQuickPresets.tsx

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -308,23 +308,32 @@ function IconSynthwave({ bg, text, accent }: IC): ReactElement {
308308
function IconGruvbox({ text, accent }: IC): ReactElement {
309309
return (
310310
<svg width="22" height="22" viewBox="0 0 28 28" fill="none" aria-hidden="true">
311-
{/* lantern body */}
312-
<rect x="10" y="13" width="8" height="10" rx="1.5" fill={text} opacity="0.75" />
313-
{/* lantern top cap */}
314-
<rect x="9" y="12" width="10" height="2.5" rx="1" fill={text} opacity="0.85" />
315-
{/* handle */}
311+
{/* top handle */}
316312
<path
317-
d="M12 12 Q14 6 16 12"
313+
d="M11 9C11 6.8 12.3 5.5 14 5.5C15.7 5.5 17 6.8 17 9"
318314
stroke={text}
319-
strokeWidth="1.4"
315+
strokeWidth="2"
320316
strokeLinecap="round"
321-
fill="none"
322-
opacity="0.6"
317+
opacity="0.85"
323318
/>
319+
{/* handle connectors */}
320+
<path
321+
d="M11.5 9.5L10 12.5M16.5 9.5L18 12.5"
322+
stroke={text}
323+
strokeWidth="1.8"
324+
strokeLinecap="round"
325+
opacity="0.75"
326+
/>
327+
{/* lantern body */}
328+
<rect x="8" y="11" width="12" height="11" rx="2.5" fill={text} opacity="0.82" />
329+
{/* glass chamber */}
330+
<rect x="10.2" y="13" width="7.6" height="6.8" rx="1.5" fill="#1d2021" opacity="0.9" />
324331
{/* warm glow */}
325-
<ellipse cx="14" cy="18" rx="2.8" ry="3.5" fill={accent} opacity="0.85" />
326-
{/* flame core */}
327-
<path d="M14 15 Q12.5 18 14 20 Q15.5 18 14 15 Z" fill={accent} opacity="0.95" />
332+
<ellipse cx="14" cy="16.5" rx="2.8" ry="3.2" fill={accent} opacity="0.95" />
333+
{/* flame */}
334+
<path d="M14 13.8C12.8 15.5 13.1 16.8 14 18.3C14.9 16.8 15.2 15.5 14 13.8Z" fill={accent} />
335+
{/* bottom base */}
336+
<rect x="9.5" y="22" width="9" height="1.8" rx="0.9" fill={text} opacity="0.7" />
328337
</svg>
329338
);
330339
}

0 commit comments

Comments
 (0)