@vscode/markdown-editor 0.0.2-26 → 0.0.2-28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* (`markdown-language-features/media/markdown.css`): a 14px base with a 22px
|
|
7
7
|
* line box, headings underlined with a 1px rule, a 5px blockquote bar, and
|
|
8
8
|
* code blocks framed by a 1px border on the editor's code-block background.
|
|
9
|
+
* Its heading scale is moderately reduced to better fit narrower editor panes.
|
|
9
10
|
* The sibling `vscode-github.css` (`md-theme-vscode-github`) instead mirrors
|
|
10
11
|
* GitHub's layout (16px base, badge-style inline code, zebra tables).
|
|
11
12
|
*
|
|
@@ -50,6 +51,13 @@
|
|
|
50
51
|
--md-cursor-background: var(--vscode-editorCursor-foreground, #000);
|
|
51
52
|
--md-readonly-accent: var(--vscode-button-background, rgb(45, 92, 180));
|
|
52
53
|
--md-readonly-accent-foreground: var(--vscode-button-foreground, #fff);
|
|
54
|
+
--md-separator-color: color-mix(in srgb,
|
|
55
|
+
var(--vscode-textSeparator-foreground, #d1d9e0) 60%, transparent);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.vscode-high-contrast .md-editor.md-theme-vscode-default,
|
|
59
|
+
.vscode-high-contrast-light .md-editor.md-theme-vscode-default {
|
|
60
|
+
--md-separator-color: var(--vscode-textSeparator-foreground, currentColor);
|
|
53
61
|
}
|
|
54
62
|
|
|
55
63
|
.md-theme-vscode-default .md-heading {
|
|
@@ -60,19 +68,19 @@
|
|
|
60
68
|
}
|
|
61
69
|
|
|
62
70
|
.md-theme-vscode-default h1.md-heading {
|
|
63
|
-
font-size:
|
|
71
|
+
font-size: 1.75em;
|
|
64
72
|
padding-bottom: 0.3em;
|
|
65
|
-
border-bottom: 1px solid var(--
|
|
73
|
+
border-bottom: 1px solid var(--md-separator-color);
|
|
66
74
|
}
|
|
67
75
|
|
|
68
76
|
.md-theme-vscode-default h2.md-heading {
|
|
69
|
-
font-size: 1.
|
|
77
|
+
font-size: 1.4em;
|
|
70
78
|
padding-bottom: 0.3em;
|
|
71
|
-
border-bottom: 1px solid var(--
|
|
79
|
+
border-bottom: 1px solid var(--md-separator-color);
|
|
72
80
|
}
|
|
73
81
|
|
|
74
82
|
.md-theme-vscode-default h3.md-heading {
|
|
75
|
-
font-size: 1.
|
|
83
|
+
font-size: 1.2em;
|
|
76
84
|
}
|
|
77
85
|
|
|
78
86
|
.md-theme-vscode-default h4.md-heading {
|
|
@@ -125,7 +133,7 @@
|
|
|
125
133
|
padding: 0;
|
|
126
134
|
margin: 24px 0;
|
|
127
135
|
border: 0;
|
|
128
|
-
border-bottom: 1px solid var(--
|
|
136
|
+
border-bottom: 1px solid var(--md-separator-color);
|
|
129
137
|
}
|
|
130
138
|
|
|
131
139
|
.md-theme-vscode-default a {
|