From cab6262415a58e2aaf775439ae8f173fd9c5a9d9 Mon Sep 17 00:00:00 2001 From: Keith Daulton Date: Fri, 3 Mar 2023 15:56:09 -0500 Subject: [PATCH] Fixes #2504 graph header theme colors --- src/webviews/apps/plus/graph/graph.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/webviews/apps/plus/graph/graph.scss b/src/webviews/apps/plus/graph/graph.scss index 59432ff..0641742 100644 --- a/src/webviews/apps/plus/graph/graph.scss +++ b/src/webviews/apps/plus/graph/graph.scss @@ -11,11 +11,13 @@ .vscode-high-contrast, .vscode-dark { --popover-bg: var(--color-background--lighten-15); + --titlebar-bg: var(--color-background--lighten-075); } .vscode-high-contrast-light, .vscode-light { --popover-bg: var(--color-background--darken-15); + --titlebar-bg: var(--color-background--darken-075); } body { @@ -34,6 +36,7 @@ body { } } + --titlebar-fg: var(--color-foreground--65); --color-graph-contrast-border: var(--vscode-list-focusOutline); --color-graph-selected-row: var(--vscode-list-activeSelectionBackground); --color-graph-hover-row: var(--vscode-list-hoverBackground); @@ -248,7 +251,7 @@ button:not([disabled]), width: 0.1rem; height: 2.2rem; vertical-align: middle; - background-color: var(--vscode-titleBar-inactiveForeground); + background-color: var(--titlebar-fg); opacity: 0.4; margin: { // left: 0.2rem; @@ -573,8 +576,8 @@ button:not([disabled]), } .titlebar { - background: var(--vscode-titleBar-inactiveBackground); - color: var(--vscode-titleBar-inactiveForeground); + background: var(--titlebar-bg); + color: var(--titlebar-fg); padding: { left: 0.8rem; right: 0.8rem;