Use css vars for more webview styling

Fixes #49749
This commit is contained in:
Matt Bierner
2018-05-14 14:35:43 -07:00
parent 49dec8e22a
commit be413aed89
4 changed files with 26 additions and 111 deletions

View File

@@ -98,10 +98,13 @@ img {
}
a {
color: #4080D0;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:focus,
input:focus,
select:focus,
@@ -137,11 +140,6 @@ h6 code {
line-height: auto;
}
a:hover {
color: #4080D0;
text-decoration: underline;
}
table {
border-collapse: collapse;
}
@@ -192,28 +190,10 @@ pre.hljs code > div {
/** Theming */
.vscode-light,
.vscode-light pre code {
color: rgb(30, 30, 30);
pre code {
color: var(--vscode-editor-foreground);
}
.vscode-dark,
.vscode-dark pre code {
color: #DDD;
}
.vscode-high-contrast,
.vscode-high-contrast pre code {
color: white;
}
.vscode-light code {
color: #A31515;
}
.vscode-dark code {
color: #D7BA7D;
}
.vscode-light pre:not(.hljs),
.vscode-light code > div {
@@ -253,14 +233,3 @@ pre.hljs code > div {
.vscode-dark table > tbody > tr + tr > td {
border-color: rgba(255, 255, 255, 0.18);
}
.vscode-light blockquote,
.vscode-dark blockquote {
background: rgba(127, 127, 127, 0.1);
border-color: rgba(0, 122, 204, 0.5);
}
.vscode-high-contrast blockquote {
background: transparent;
border-color: #fff;
}