From b40c94ca64b1078284dfdff37c26494ca594c494 Mon Sep 17 00:00:00 2001 From: pekth <5535435+pekth@users.noreply.github.com> Date: Sat, 17 Oct 2026 23:59:30 -0400 Subject: [PATCH] fix: center Grok provider marks --- CHANGELOG.md | 5 +++++ docs/KB.md | 4 ++++ src/renderer/app.tsx | 2 +- src/renderer/style.css | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c39c1bc..826c6c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ follows [Semantic Versioning](https://semver.org/). ## [Unreleased] +### Fixed + +- Optically center the Grok mark in provider rings, menu items, cards and + Settings. Preserve the original provider artwork and existing icon sizes. + ## [0.3.0-beta.3] - 2026-10-17 ### Release diff --git a/docs/KB.md b/docs/KB.md index 7fb59d5..e591734 100644 --- a/docs/KB.md +++ b/docs/KB.md @@ -236,6 +236,10 @@ Release documentation refresh: 2026-10-17; build 61 executable inputs are unchan synthetic proof do not establish live availability or universal cloud, device or product coverage. See [ADR 0022](adr/0022-codex-account-token-history.md). +- Electron provider marks share one renderer. The Grok mask has a one-pixel + optical offset to balance its right-heavy artwork at both icon sizes. The + original logo files, ring centers and notch geometry stay unchanged. + ## Verification gaps - The Electron candidate still needs native GUI launch/relaunch, preferences/account/offline journeys, tray/focus/accessibility, notification/login/share/updater paths, drag/display persistence and two different-height notch captures. Verified packaging and headless JSON cannot close migration or cutover. diff --git a/src/renderer/app.tsx b/src/renderer/app.tsx index 90cd45e..32dd194 100644 --- a/src/renderer/app.tsx +++ b/src/renderer/app.tsx @@ -22,7 +22,7 @@ function Mark({ slot, state }: { slot: Slot; state: ViewState }) { const id = useId(); const status = extract(state.snapshot.statuses[slot.provider])?.severity; const tint = status === undefined || status === "operational" ? colours[slot.provider] : status === "degraded" ? "var(--warn)" : status === "unknown" ? "var(--muted)" : "var(--alert)"; - if (logos[slot.provider]) return