Skip to content

Commit

Permalink
Fix light vs dark, fix var color references
Browse files Browse the repository at this point in the history
  • Loading branch information
alexr00 committed Jan 19, 2024
2 parents d90a5c2 + aaa4061 commit 8dbd6c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2687,8 +2687,8 @@
{
"id": "pullRequests.statusOpenForeground",
"defaults": {
"dark": "#000000",
"light": "#ffffff",
"dark": "#ffffff",
"light": "#000000",
"highContrast": "editor.foreground",
"highContrastLight": "editor.foreground"
},
Expand Down
9 changes: 4 additions & 5 deletions webviews/editorWebview/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,6 @@ body button .icon {
#status {
box-sizing: border-box;
line-height: 18px;
color: var(--vscode-button-foreground);
border-radius: 18px;
padding: 4px 12px;
margin-right: 10px;
Expand All @@ -488,22 +487,22 @@ body button .icon {

.status-badge-merged {
background-color: var(--vscode-pullRequests-merged);
color: var(--vscode-pullRequests-status-merged-foreground);
color: var(--vscode-pullRequests-statusMergedForeground);
}

.status-badge-open {
background-color: var(--vscode-pullRequests-open);
color: var(--vscode-pullRequests-status-open-foreground);
color: var(--vscode-pullRequests-statusOpenForeground);
}

.status-badge-closed {
background-color: var(--vscode-pullRequests-closed);
color: var(--vscode-pullRequests-status-closed-foreground);
color: var(--vscode-pullRequests-statusClosedForeground);
}

.status-badge-draft {
background-color: var(--vscode-pullRequests-draft);
color: var(--vscode-pullRequests-status-draft-foreground);
color: var(--vscode-pullRequests-statusDraftForeground);
}

.section {
Expand Down

0 comments on commit 8dbd6c2

Please sign in to comment.