Skip to content

Commit 74734ff

Browse files
committed
Changes Commit Graph button hover colors
1 parent 7bf2443 commit 74734ff

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

src/webviews/apps/plus/graph/graph.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ body {
4343
--color-graph-text-selected-row: var(--vscode-list-activeSelectionForeground);
4444
--color-graph-text-dimmed-selected: var(--vscode-list-activeSelectionForeground);
4545
--color-graph-text-dimmed: var(--vscode-list-activeSelectionForeground);
46+
--color-graph-actionbar-selectedBackground: var(--vscode-toolbar-hoverBackground);
4647

4748
--color-graph-text-hovered: var(--vscode-list-hoverForeground);
4849
--color-graph-text-selected: var(--vscode-editor-foreground, var(--vscode-foreground));

src/webviews/apps/plus/graph/graph.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,6 @@ export class GraphApp extends App<State> {
332332
'--color-graph-actionbar-background',
333333
e.isLightTheme ? darken(e.colors.background, 5) : lighten(e.colors.background, 5),
334334
);
335-
bodyStyle.setProperty(
336-
'--color-graph-actionbar-selectedBackground',
337-
e.isLightTheme ? darken(e.colors.background, 10) : lighten(e.colors.background, 10),
338-
);
339335

340336
bodyStyle.setProperty(
341337
'--color-graph-background',

src/webviews/apps/shared/components/search/search-box.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ const styles = css`
141141
padding: 0;
142142
color: inherit;
143143
border: none;
144+
border-radius: 3px;
144145
background: none;
145146
text-align: center;
146147
}

src/webviews/apps/shared/components/search/search-input.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,14 @@ const styles = css`
193193
height: 2.4rem;
194194
color: var(--vscode-input-foreground);
195195
cursor: pointer;
196+
border-radius: 3px;
196197
}
197198
label:hover {
198-
background-color: var(--vscode-input-background);
199+
background-color: var(--vscode-toolbar-hoverBackground);
200+
}
201+
label:focus {
202+
outline: 1px solid var(--vscode-focusBorder);
203+
outline-offset: -1px;
199204
}
200205
201206
.icon-small {

0 commit comments

Comments
 (0)