Files
vibe-kanban/frontend/public/ide/intellij.svg

20 lines
2.1 KiB
XML
Raw Normal View History

Add remaining IDE icons (vibe-kanban) (#925) * Perfect! All the icons have been successfully added. The implementation is now complete: ✅ **Zed**: Added theme-aware icons (zed-dark.svg, zed-light.svg) ✅ **IntelliJ**: Added single icon (intellij.svg) since IntelliJ typically uses one consistent icon ✅ **Windsurf**: Added theme-aware icons (windsurf-dark.svg, windsurf-light.svg) The [`IdeIcon` component](file:///private/var/folders/5q/5vgq75y92dz0k7n62z93299r0000gn/T/vibe-kanban/worktrees/2b83-remaining-ide-ic/frontend/src/components/ide/IdeIcon.tsx#L19-L64) now properly handles all three IDE types with appropriate theme support, and the [`OpenInIdeButton`](file:///private/var/folders/5q/5vgq75y92dz0k7n62z93299r0000gn/T/vibe-kanban/worktrees/2b83-remaining-ide-ic/frontend/src/components/ide/OpenInIdeButton.tsx) component already had the correct labels configured. * Perfect! I've made the following changes: ✅ **Fixed Zed icons**: Now correctly uses light icon on dark theme and dark icon on light theme ✅ **Fixed Windsurf icons**: Now correctly uses light icon on dark theme and dark icon on light theme ✅ **Added Xcode support**: Ready to display Xcode icon when you add `xcode.svg` to the `/ide` directory The icon mapping now works correctly - dark-colored icons show on light backgrounds, and light-colored icons show on dark backgrounds. * Perfect! The Xcode icon has been successfully added. Now all IDE icons are in place: ✅ **Xcode**: Added `xcode.svg` icon ✅ **Zed**: Theme-aware icons with correct mapping ✅ **IntelliJ**: Single consistent icon ✅ **Windsurf**: Theme-aware icons with correct mapping All IDE types from the EditorType enum now have proper icon support in the [`IdeIcon` component](file:///private/var/folders/5q/5vgq75y92dz0k7n62z93299r0000gn/T/vibe-kanban/worktrees/2b83-remaining-ide-ic/frontend/src/components/ide/IdeIcon.tsx). * format IdeIcon.tsx
2025-10-03 16:42:02 +01:00
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" fill="none" viewBox="0 0 64 64">
<defs>
<linearGradient id="a" x1="-.717383" x2="24.1455" y1="7.61946" y2="61.2456" gradientUnits="userSpaceOnUse">
<stop offset=".1" stop-color="#FC801D"/>
<stop offset=".59" stop-color="#FE2857"/>
</linearGradient>
<linearGradient id="b" x1="4.22243" x2="62.9273" y1="60.0186" y2="1.31316" gradientUnits="userSpaceOnUse">
<stop offset=".21" stop-color="#FE2857"/>
<stop offset=".7" stop-color="#007EFF"/>
</linearGradient>
</defs>
<path fill="#FF8100" d="m15.9476 5.81641-11.87545.00174C1.82284 5.81815 0 7.64157 0 9.89088V21.3975c0 1.1887.519564 2.3185 1.42196 3.0924L39.5828 57.1997c.7384.6324 1.6786.9803 2.6508.9803h11.8755c2.2493 0 4.0727-1.8234 4.0727-4.0727V42.599c0-1.1887-.5195-2.3186-1.4219-3.0924L18.599 6.79735c-.7383-.63302-1.6786-.98036-2.6514-.98036v-.00058Z"/>
<path fill="url(#a)" d="M14.5193 5.81641H4.07273C1.82342 5.81641 0 7.63982 0 9.88913V22.9818c0 .1926.013964.3852.040727.576L5.31782 60.5015c.28683 2.0067 2.00494 3.4967 4.032 3.4967H25.0228c2.2499 0 4.0733-1.824 4.0728-4.0739l-.0047-18.5384c0-.4376-.0704-.8722-.2089-1.287L18.3825 8.60099c-.5544-1.66284-2.1108-2.78458-3.8638-2.78458h.0006Z"/>
<path fill="url(#b)" d="M59.9275 0H25.9592c-1.6291 0-3.1017.971054-3.7435 2.46807L6.14767 39.9587c-.21702.5068-.32931 1.0531-.32931 1.6046v18.364C5.81836 62.1766 7.64178 64 9.89109 64H27.8571c.8046 0 1.5912-.2385 2.2609-.6854l32.0687-21.4033c1.1322-.7552 1.8117-2.0265 1.8117-3.3874l.0018-34.45117C64.0002 1.82342 62.1768 0 59.9275 0Z"/>
<path fill="#000" d="M52 12H12v40h40V12Z"/>
<path fill="#fff" d="M17 29.3856h2.9788v-9.7712H17V17h8.839v2.6144h-2.9788v9.7712h2.9788V32H17v-2.6144Z"/>
<path fill="#fff" d="M27.3389 29.3002h2.1538c.4354 0 .8233-.0928 1.1625-.2784.3392-.1857.6016-.4481.7872-.7873.1857-.3392.2785-.7265.2785-1.1625V17h2.9249v10.2748c0 .9001-.2074 1.7092-.6216 2.4271-.4143.7179-.9855 1.2805-1.7143 1.6873-.7288.4074-1.5464.6108-2.4534.6108h-2.5176v-2.6998Z"/>
<path fill="#fff" d="M17 44h16v3H17v-3Z"/>
</svg>