@vscode/markdown-editor 0.0.2-48 → 0.0.2-49
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/dist/index.d.ts +32 -0
- package/dist/index.js +1725 -1470
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/view/editor.css +14 -2
- package/src/view/themes/vscode-default.css +13 -0
- package/src/view/themes/vscode-github.css +13 -0
package/package.json
CHANGED
package/src/view/editor.css
CHANGED
|
@@ -31,6 +31,18 @@
|
|
|
31
31
|
caret-color: transparent;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
.md-editor-a11y-status {
|
|
35
|
+
position: absolute;
|
|
36
|
+
width: 1px;
|
|
37
|
+
height: 1px;
|
|
38
|
+
padding: 0;
|
|
39
|
+
margin: -1px;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
clip: rect(0, 0, 0, 0);
|
|
42
|
+
white-space: nowrap;
|
|
43
|
+
border: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
34
46
|
/*
|
|
35
47
|
* The transient empty paragraph — the blank line conjured by pressing Enter at
|
|
36
48
|
* the end of a paragraph (see `PendingParagraph` in the model). It is not part
|
|
@@ -772,8 +784,8 @@ ol.md-list>.md-list-item-active>.md-list-gutter>.md-marker-listItemMarker {
|
|
|
772
784
|
.md-checkbox:checked::after {
|
|
773
785
|
content: '';
|
|
774
786
|
position: absolute;
|
|
775
|
-
left:
|
|
776
|
-
top:
|
|
787
|
+
left: 2.5px;
|
|
788
|
+
top: -1px;
|
|
777
789
|
width: 5px;
|
|
778
790
|
height: 9px;
|
|
779
791
|
border: solid white;
|
|
@@ -49,6 +49,19 @@
|
|
|
49
49
|
* stays visible on dark color themes.
|
|
50
50
|
*/
|
|
51
51
|
--md-cursor-background: var(--vscode-editorCursor-foreground, #000);
|
|
52
|
+
--md-readonly-background: var(--vscode-button-secondaryBackground,
|
|
53
|
+
var(--vscode-editorWidget-background, #f3f3f3));
|
|
54
|
+
--md-readonly-background-hover: var(--vscode-button-secondaryHoverBackground,
|
|
55
|
+
var(--vscode-button-secondaryBackground,
|
|
56
|
+
var(--vscode-editorWidget-background, #e9e9e9)));
|
|
57
|
+
--md-readonly-foreground: var(--vscode-button-secondaryForeground,
|
|
58
|
+
var(--vscode-editorWidget-foreground, #444));
|
|
59
|
+
--md-readonly-border: var(--vscode-button-secondaryBorder,
|
|
60
|
+
var(--vscode-button-border,
|
|
61
|
+
var(--vscode-contrastBorder, var(--vscode-editorWidget-border, #b8b8b8))));
|
|
62
|
+
--md-readonly-border-hover: var(--vscode-button-secondaryBorder,
|
|
63
|
+
var(--vscode-button-border,
|
|
64
|
+
var(--vscode-contrastBorder, var(--vscode-editorWidget-border, #8d8d8d))));
|
|
52
65
|
--md-readonly-accent: var(--vscode-button-background, rgb(45, 92, 180));
|
|
53
66
|
--md-readonly-accent-foreground: var(--vscode-button-foreground, #fff);
|
|
54
67
|
--md-find-widget-background: var(--vscode-editorWidget-background, #f3f3f3);
|
|
@@ -58,6 +58,19 @@
|
|
|
58
58
|
* stays visible on dark color themes.
|
|
59
59
|
*/
|
|
60
60
|
--md-cursor-background: var(--vscode-editorCursor-foreground, #000);
|
|
61
|
+
--md-readonly-background: var(--vscode-button-secondaryBackground,
|
|
62
|
+
var(--vscode-editorWidget-background, #f3f3f3));
|
|
63
|
+
--md-readonly-background-hover: var(--vscode-button-secondaryHoverBackground,
|
|
64
|
+
var(--vscode-button-secondaryBackground,
|
|
65
|
+
var(--vscode-editorWidget-background, #e9e9e9)));
|
|
66
|
+
--md-readonly-foreground: var(--vscode-button-secondaryForeground,
|
|
67
|
+
var(--vscode-editorWidget-foreground, #444));
|
|
68
|
+
--md-readonly-border: var(--vscode-button-secondaryBorder,
|
|
69
|
+
var(--vscode-button-border,
|
|
70
|
+
var(--vscode-contrastBorder, var(--vscode-editorWidget-border, #b8b8b8))));
|
|
71
|
+
--md-readonly-border-hover: var(--vscode-button-secondaryBorder,
|
|
72
|
+
var(--vscode-button-border,
|
|
73
|
+
var(--vscode-contrastBorder, var(--vscode-editorWidget-border, #8d8d8d))));
|
|
61
74
|
--md-readonly-accent: var(--vscode-button-background, rgb(45, 92, 180));
|
|
62
75
|
--md-readonly-accent-foreground: var(--vscode-button-foreground, #fff);
|
|
63
76
|
--md-inline-code-background: color-mix(in srgb,
|