Skip to content

Commit

Permalink
#363 Improved support for High Contrast Visual Studio Code Color Them…
Browse files Browse the repository at this point in the history
…e's.
  • Loading branch information
mhutchie committed Aug 11, 2020
1 parent cecc24a commit 7de6727
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
9 changes: 7 additions & 2 deletions web/styles/findWidget.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,10 @@
}

.findMatch{
background-color:var(--git-graph-findMatch);
}
background-color:var(--git-graph-findMatch, transparent);
outline:1px solid var(--vscode-editor-findMatchHighlightBorder, transparent);
outline-offset:-1px;
}
body.vscode-high-contrast .findMatch{
outline:1px dotted var(--vscode-editor-findMatchHighlightBorder, transparent);
}
7 changes: 7 additions & 0 deletions web/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -637,9 +637,16 @@ svg.openFolderIcon, svg.closedFolderIcon, svg.fileIcon{
#commitTable tr.commit.commitDetailsOpen:hover, #commitTable tr.commit.commitDetailsOpen.contextMenuActive, #commitTable tr.commit.commitDetailsOpen.dialogActive, #commitTable tr.commit.commitDetailsOpen.graphVertexActive{
background-color:rgba(128,128,128,0.35);
}

#commitTable tr.commit.findCurrentCommit {
background-image:linear-gradient(var(--git-graph-findMatchCommit), var(--git-graph-findMatchCommit));
outline:1px solid var(--vscode-editor-findMatchHighlightBorder, transparent);
outline-offset:-1px;
}
body.vscode-high-contrast #commitTable tr.commit.findCurrentCommit{
outline:1px dotted var(--vscode-editor-findMatchHighlightBorder, transparent);
}

#commitTable tr.commit.mute.commitDetailsOpen td.text,
#commitTable tr.commit.mute.commitDetailsOpen span.description .text,
#commitTable tr.commit.mute.findCurrentCommit td.text,
Expand Down

0 comments on commit 7de6727

Please sign in to comment.