umanggarg Claude Sonnet 4.6 commited on
Commit
a2b01fb
·
1 Parent(s): beeed7f

fix(sidebar): brand icon matches favicon — dark bg #09090E + blue compass #5B8FF9

Browse files
ui/src/components/Sidebar.jsx CHANGED
@@ -272,10 +272,15 @@ export default function Sidebar({ repos, reposLoading, activeRepo, onSelectRepo,
272
  {/* Icon container — Raycast-style rounded square with gradient + compass inside */}
273
  <div className="sidebar-brand-icon">
274
  <svg width="22" height="22" viewBox="0 0 24 24" fill="none">
275
- <path d="M12 2 L14.5 7 L12 12 L9.5 7 Z" fill="white"/>
276
- <path d="M12 22 L13.5 17 L12 12 L10.5 17 Z" fill="white" opacity="0.50"/>
277
- <path d="M22 12 L17 10.5 L12 12 L17 13.5 Z" fill="white" opacity="0.50"/>
278
- <path d="M2 12 L7 10.5 L12 12 L7 13.5 Z" fill="white" opacity="0.50"/>
 
 
 
 
 
279
  <circle cx="12" cy="12" r="1.6" fill="white"/>
280
  </svg>
281
  </div>
 
272
  {/* Icon container — Raycast-style rounded square with gradient + compass inside */}
273
  <div className="sidebar-brand-icon">
274
  <svg width="22" height="22" viewBox="0 0 24 24" fill="none">
275
+ {/* Subtle glow behind compass same as favicon */}
276
+ <circle cx="12" cy="12" r="10" fill="rgba(91,143,249,0.10)"/>
277
+ {/* N dominant, full accent blue */}
278
+ <path d="M12 2 L14.5 7 L12 12 L9.5 7 Z" fill="#5B8FF9"/>
279
+ {/* S/E/W — dim */}
280
+ <path d="M12 22 L13.5 17 L12 12 L10.5 17 Z" fill="#5B8FF9" opacity="0.28"/>
281
+ <path d="M22 12 L17 10.5 L12 12 L17 13.5 Z" fill="#5B8FF9" opacity="0.28"/>
282
+ <path d="M2 12 L7 10.5 L12 12 L7 13.5 Z" fill="#5B8FF9" opacity="0.28"/>
283
+ {/* Center pivot — white for contrast */}
284
  <circle cx="12" cy="12" r="1.6" fill="white"/>
285
  </svg>
286
  </div>
ui/src/index.css CHANGED
@@ -258,16 +258,16 @@ textarea:focus-visible {
258
  .sidebar-brand-icon {
259
  width: 36px;
260
  height: 36px;
261
- background: linear-gradient(145deg, #2A5ED8 0%, #4A7FE8 45%, #6B9FFF 100%);
 
262
  border-radius: 10px;
263
  display: flex;
264
  align-items: center;
265
  justify-content: center;
266
- color: #fff;
267
  box-shadow:
268
- 0 0 0 1px rgba(91, 143, 249, 0.35),
269
- 0 4px 20px rgba(91, 143, 249, 0.30),
270
- inset 0 1px 0 rgba(255, 255, 255, 0.25);
271
  flex-shrink: 0;
272
  position: relative;
273
  overflow: hidden;
 
258
  .sidebar-brand-icon {
259
  width: 36px;
260
  height: 36px;
261
+ /* Dark bg + blue border matches favicon exactly */
262
+ background: #09090E;
263
  border-radius: 10px;
264
  display: flex;
265
  align-items: center;
266
  justify-content: center;
 
267
  box-shadow:
268
+ 0 0 0 1px rgba(91, 143, 249, 0.30),
269
+ 0 4px 16px rgba(91, 143, 249, 0.18),
270
+ inset 0 1px 0 rgba(91, 143, 249, 0.12);
271
  flex-shrink: 0;
272
  position: relative;
273
  overflow: hidden;