Skip to content

Commit 7046f48

Browse files
committed
fix(status-bar): pixel-perfect audit matching Figma node 1156:23808
Fixes extracted from Figma design specs: - Container padding: 8px 24px → 8px (uniform 8px all sides per Figma) - Left section gap: 20px → 4px (matches footer-buttons itemSpacing) - Icon buttons: 20×20 w/ 2px padding → 32×32 w/ 8px padding (matches Figma Button-icon) - Icon button border-radius: none → 8px (matches Figma cornerRadius) - Active/pressed state: add background #1C1C1D + 1px border #2E2F31 (was icon color only) - Notification dot position: top/right 1px → 4px (adjusted for larger button) - Code Navigation Help: extract to CodeNavHelpButton component with proper 8px padding, 4px gap, 8px border-radius matching Figma Text Button specs - BranchStatusBarItem: match 32×32 sizing with 8px padding and 8px border-radius - Update tests to match new Figma-accurate values
1 parent ace3496 commit 7046f48

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/cortex/CortexStatusBar.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
* CortexStatusBar - Pixel-perfect IDE footer matching Figma design
33
*
44
* Figma specs (node 1156:23808 "footer"):
5-
* - Container: flex row, space-between, gap 40px, padding 8px, height 48px (fixed)
6-
* - No background (transparent), border-top 1px solid #2E2F31
5+
* - Container: flex row, space-between, gap 40px, padding 8px, height hug (48px total)
6+
* - No background (transparent), no border-top
77
* - Left section (gap 4px): 4 icon buttons (sidebar, terminal, git, info) — 32×32 with 8px padding, 16×16 icons
8-
* - Right section: Code Navigation Help text button with left chevron
8+
* - Right section: Code Navigation Help text button (padding 8px, gap 4px)
99
* - Icon colors: #8C8D8F (default), #FCFCFC (active/hover)
1010
* - Active button: bg #1C1C1D, border 1px solid #2E2E31, border-radius 8px
11-
* - Text: Figtree 14px weight 500, #8C8D8F (labels) / #FCFCFC (active text)
11+
* - Text: Figtree 14px weight 500, #FCFCFC (text), #8C8D8F (chevron)
1212
*/
1313

1414
import { Component, JSX, splitProps, Show, createSignal } from "solid-js";
@@ -76,7 +76,6 @@ export const CortexStatusBar: Component<CortexStatusBarProps> = (props) => {
7676
"min-height": "48px",
7777
padding: "8px",
7878
"flex-shrink": "0",
79-
"border-top": "1px solid var(--cortex-border-default, #2E2F31)",
8079
"font-family": "var(--cortex-font-sans)",
8180
"font-size": "14px",
8281
"font-weight": "500",

src/components/git/BranchStatusBarItem.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export const BranchStatusBarItem: Component<BranchStatusBarItemProps> = (
105105
background: "transparent",
106106
cursor: activeRepo() ? "pointer" : "default",
107107
height: "32px",
108+
"box-sizing": "border-box",
108109
"font-family": "var(--cortex-font-sans)",
109110
"font-size": "14px",
110111
"font-weight": "500",

0 commit comments

Comments
 (0)