Skip to content

Commit 2c587c6

Browse files
grimmerkclaude
andcommitted
feat: SVG starburst icon for Sessions tab header
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8acf951 commit 2c587c6

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

src/switcher-ui.tsx

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,30 @@ function SwitcherApp() {
743743
fontSize: '18px',
744744
}}
745745
>
746-
{mode === 'projects' ? '📂' : mode === 'terminal' ? '💻' : '🤖'}
746+
{mode === 'sessions' ? (
747+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" style={{ verticalAlign: 'middle' }}>
748+
{/* Anthropic-style starburst — organic, varied ray lengths */}
749+
{[
750+
{ angle: 0, len: 10 }, { angle: 30, len: 5.5 }, { angle: 55, len: 7 },
751+
{ angle: 90, len: 9.5 }, { angle: 125, len: 6 }, { angle: 155, len: 8 },
752+
{ angle: 180, len: 10 }, { angle: 210, len: 5 }, { angle: 240, len: 7.5 },
753+
{ angle: 270, len: 9 }, { angle: 305, len: 6.5 }, { angle: 335, len: 7 },
754+
].map(({ angle, len }) => {
755+
const rad = (angle * Math.PI) / 180;
756+
return (
757+
<line
758+
key={angle}
759+
x1="12" y1="12"
760+
x2={12 + Math.cos(rad) * len}
761+
y2={12 + Math.sin(rad) * len}
762+
stroke="#CE93D8"
763+
strokeWidth="1.8"
764+
strokeLinecap="round"
765+
/>
766+
);
767+
})}
768+
</svg>
769+
) : mode === 'terminal' ? '💻' : '📂'}
747770
</span>
748771
CodeV Quick Switcher
749772
</div>

0 commit comments

Comments
 (0)