From 877f2e10efcd572d80c3dc4d4dfed9b8f8028263 Mon Sep 17 00:00:00 2001 From: Yuhan Lei Date: Sun, 26 Apr 2026 01:54:04 +0800 Subject: [PATCH 1/2] refactor(app): simplify sidebar active state and tighten density Drop the 2px orange left-bar marker on the active session row and unify active/hover backgrounds to surface-raised-base-hover. The previous surface-base-active token (alpha 0.059) was lighter than the hover background (alpha 0.078), so active would have looked weaker than hover once the brand bar was removed. Polish surrounding density to align with Codex / ChatGPT: - Leading indicator gutter 24px -> 20px - Row corner radius rounded-md -> rounded-xl - Row gap 4px -> 2px in pinned, time, and project sections - Skeleton radius matches new row radius to avoid load-state jump --- packages/app/src/pages/layout/pawwork-sidebar.tsx | 6 +++--- packages/app/src/pages/layout/sidebar-items.tsx | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/app/src/pages/layout/pawwork-sidebar.tsx b/packages/app/src/pages/layout/pawwork-sidebar.tsx index c697fc663..4a3ede4c8 100644 --- a/packages/app/src/pages/layout/pawwork-sidebar.tsx +++ b/packages/app/src/pages/layout/pawwork-sidebar.tsx @@ -295,9 +295,9 @@ export const PawworkSidebar = (props: { when={props.sessions().length > 0} fallback={
{language.t("sidebar.pawwork.empty.sessions")}
} > -