From b1592c49f44d70fd1f1cc1b095203b7c3b0bc6ff Mon Sep 17 00:00:00 2001 From: Chili Palmer Date: Sun, 26 Apr 2026 11:43:31 +0200 Subject: [PATCH] fix: active activity is now marked --- priv/ui/app.css | 2 ++ test/bds/ui/shell_test.exs | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/priv/ui/app.css b/priv/ui/app.css index 524880e..94154bb 100644 --- a/priv/ui/app.css +++ b/priv/ui/app.css @@ -5,6 +5,7 @@ --vscode-editor-foreground: #cccccc; --vscode-sideBar-background: #252526; --vscode-activityBar-background: #333333; + --vscode-activityBar-foreground: #ffffff; --vscode-panel-background: #1e1e1e; --vscode-titleBar-activeBackground: #252526; --vscode-titleBar-activeForeground: #cccccc; @@ -384,6 +385,7 @@ button { .activity-bar-item:hover { opacity: 1; + background: transparent; } .activity-bar-item.active { diff --git a/test/bds/ui/shell_test.exs b/test/bds/ui/shell_test.exs index 4577dae..e208495 100644 --- a/test/bds/ui/shell_test.exs +++ b/test/bds/ui/shell_test.exs @@ -164,6 +164,16 @@ defmodule BDS.UI.ShellTest do assert template =~ "tab-dirty-indicator" end + test "desktop shell css keeps the old activity bar active marker contrast" do + css = File.read!("/Users/gb/Projects/bDS2/priv/ui/app.css") + + assert css =~ "--vscode-activityBar-foreground: #ffffff" + assert css =~ ".activity-bar-item:hover {" + assert css =~ ".activity-bar-item.active::before {" + assert css =~ "width: 2px;" + assert css =~ "background-color: var(--vscode-activityBar-foreground);" + end + test "desktop shell assets keep legacy titlebar menu keyboard and anchoring behavior" do css = File.read!("/Users/gb/Projects/bDS2/priv/ui/app.css") live_js = File.read!("/Users/gb/Projects/bDS2/priv/ui/live.js")