fix: active activity is now marked
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
--vscode-editor-foreground: #cccccc;
|
--vscode-editor-foreground: #cccccc;
|
||||||
--vscode-sideBar-background: #252526;
|
--vscode-sideBar-background: #252526;
|
||||||
--vscode-activityBar-background: #333333;
|
--vscode-activityBar-background: #333333;
|
||||||
|
--vscode-activityBar-foreground: #ffffff;
|
||||||
--vscode-panel-background: #1e1e1e;
|
--vscode-panel-background: #1e1e1e;
|
||||||
--vscode-titleBar-activeBackground: #252526;
|
--vscode-titleBar-activeBackground: #252526;
|
||||||
--vscode-titleBar-activeForeground: #cccccc;
|
--vscode-titleBar-activeForeground: #cccccc;
|
||||||
@@ -384,6 +385,7 @@ button {
|
|||||||
|
|
||||||
.activity-bar-item:hover {
|
.activity-bar-item:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activity-bar-item.active {
|
.activity-bar-item.active {
|
||||||
|
|||||||
@@ -164,6 +164,16 @@ defmodule BDS.UI.ShellTest do
|
|||||||
assert template =~ "tab-dirty-indicator"
|
assert template =~ "tab-dirty-indicator"
|
||||||
end
|
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
|
test "desktop shell assets keep legacy titlebar menu keyboard and anchoring behavior" do
|
||||||
css = File.read!("/Users/gb/Projects/bDS2/priv/ui/app.css")
|
css = File.read!("/Users/gb/Projects/bDS2/priv/ui/app.css")
|
||||||
live_js = File.read!("/Users/gb/Projects/bDS2/priv/ui/live.js")
|
live_js = File.read!("/Users/gb/Projects/bDS2/priv/ui/live.js")
|
||||||
|
|||||||
Reference in New Issue
Block a user