@vscode/markdown-editor 0.0.2-13 → 0.0.2-130

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.
Files changed (79) hide show
  1. package/README.md +644 -0
  2. package/dist/commands.d.ts +67 -0
  3. package/dist/commands.js +185 -0
  4. package/dist/commands.js.map +1 -0
  5. package/dist/config-BGeaJqWk.js +286 -0
  6. package/dist/config-BGeaJqWk.js.map +1 -0
  7. package/dist/config.d.ts +10 -0
  8. package/dist/config.js +6 -0
  9. package/dist/config.js.map +1 -0
  10. package/dist/index.d.ts +1611 -270
  11. package/dist/index.js +7839 -3291
  12. package/dist/index.js.map +1 -1
  13. package/dist/markdown-editor.css +1 -1
  14. package/dist/scrolling-C4GW1cCQ.js +391 -0
  15. package/dist/scrolling-C4GW1cCQ.js.map +1 -0
  16. package/dist/web-editors.d.ts +353 -0
  17. package/dist/web-editors.js +7525 -0
  18. package/dist/web-editors.js.map +1 -0
  19. package/package.json +59 -19
  20. package/src/contrib/comments/commentInput.css +38 -80
  21. package/src/contrib/comments/commentWidget.css +60 -0
  22. package/src/contrib/find/find.css +347 -0
  23. package/src/contrib/rename/rename.css +73 -0
  24. package/src/contrib/suggest/suggest.css +109 -0
  25. package/src/view/editor.css +1677 -111
  26. package/src/view/themes/default.css +21 -4
  27. package/src/view/themes/github.css +25 -13
  28. package/src/view/themes/vscode-default.css +98 -23
  29. package/src/view/themes/vscode-github.css +84 -15
  30. package/dist/_observables/assert.d.ts +0 -2
  31. package/dist/_observables/deps.d.ts +0 -28
  32. package/dist/_observables/disposables.d.ts +0 -19
  33. package/dist/_observables/equals.d.ts +0 -32
  34. package/dist/_observables/index.d.ts +0 -2
  35. package/dist/_observables/observableInternal/base.d.ts +0 -172
  36. package/dist/_observables/observableInternal/changeTracker.d.ts +0 -44
  37. package/dist/_observables/observableInternal/commonFacade/cancellation.d.ts +0 -24
  38. package/dist/_observables/observableInternal/commonFacade/deps.d.ts +0 -24
  39. package/dist/_observables/observableInternal/debugLocation.d.ts +0 -21
  40. package/dist/_observables/observableInternal/debugName.d.ts +0 -33
  41. package/dist/_observables/observableInternal/experimental/deferUnobserve.d.ts +0 -16
  42. package/dist/_observables/observableInternal/experimental/reducer.d.ts +0 -37
  43. package/dist/_observables/observableInternal/experimental/utils.d.ts +0 -15
  44. package/dist/_observables/observableInternal/index.d.ts +0 -25
  45. package/dist/_observables/observableInternal/logging/consoleObservableLogger.d.ts +0 -40
  46. package/dist/_observables/observableInternal/logging/debugGetDependencyGraph.d.ts +0 -4
  47. package/dist/_observables/observableInternal/logging/debugger/debuggerRpc.d.ts +0 -4
  48. package/dist/_observables/observableInternal/logging/debugger/devToolsLogger.d.ts +0 -43
  49. package/dist/_observables/observableInternal/logging/debugger/rpc.d.ts +0 -41
  50. package/dist/_observables/observableInternal/logging/debugger/utils.d.ts +0 -13
  51. package/dist/_observables/observableInternal/logging/logging.d.ts +0 -30
  52. package/dist/_observables/observableInternal/map.d.ts +0 -18
  53. package/dist/_observables/observableInternal/observables/baseObservable.d.ts +0 -58
  54. package/dist/_observables/observableInternal/observables/constObservable.d.ts +0 -5
  55. package/dist/_observables/observableInternal/observables/derived.d.ts +0 -46
  56. package/dist/_observables/observableInternal/observables/derivedImpl.d.ts +0 -83
  57. package/dist/_observables/observableInternal/observables/lazyObservableValue.d.ts +0 -27
  58. package/dist/_observables/observableInternal/observables/observableFromEvent.d.ts +0 -37
  59. package/dist/_observables/observableInternal/observables/observableSignal.d.ts +0 -11
  60. package/dist/_observables/observableInternal/observables/observableSignalFromEvent.d.ts +0 -5
  61. package/dist/_observables/observableInternal/observables/observableValue.d.ts +0 -37
  62. package/dist/_observables/observableInternal/observables/observableValueOpts.d.ts +0 -8
  63. package/dist/_observables/observableInternal/reactions/autorun.d.ts +0 -56
  64. package/dist/_observables/observableInternal/reactions/autorunImpl.d.ts +0 -53
  65. package/dist/_observables/observableInternal/set.d.ts +0 -17
  66. package/dist/_observables/observableInternal/transaction.d.ts +0 -27
  67. package/dist/_observables/observableInternal/utils/promise.d.ts +0 -75
  68. package/dist/_observables/observableInternal/utils/runOnChange.d.ts +0 -7
  69. package/dist/_observables/observableInternal/utils/utils.d.ts +0 -43
  70. package/dist/_observables/observableInternal/utils/utilsCancellation.d.ts +0 -10
  71. package/dist/_observables/observableInternal/utils/valueWithChangeEvent.d.ts +0 -10
  72. package/dist/_observables/utils.d.ts +0 -15
  73. package/dist/observables.d.ts +0 -4
  74. package/dist/observables.js +0 -439
  75. package/dist/observables.js.map +0 -1
  76. package/dist/runOnChange-C00UIwqQ.js +0 -1538
  77. package/dist/runOnChange-C00UIwqQ.js.map +0 -1
  78. package/src/contrib/comments/comments.css +0 -129
  79. package/src/contrib/commentsVscode/vscodeCommentWidgetV2.css +0 -166
@@ -0,0 +1,347 @@
1
+ .md-editor {
2
+ --md-find-widget-background: light-dark(#f3f3f3, #252526);
3
+ --md-find-widget-foreground: light-dark(#616161, #cccccc);
4
+ --md-find-widget-border: light-dark(#c8c8c8, #454545);
5
+ --md-find-widget-shadow: rgba(0, 0, 0, 0.24);
6
+ --md-find-input-background: light-dark(#ffffff, #313131);
7
+ --md-find-input-foreground: light-dark(#3b3b3b, #cccccc);
8
+ --md-find-placeholder-foreground: light-dark(#767676, #a6a6a6);
9
+ --md-find-input-caret: currentColor;
10
+ --md-find-input-border: light-dark(#cecece, #3c3c3c);
11
+ --md-find-count-foreground: light-dark(#616161, #cccccc);
12
+ --md-find-focus-border: light-dark(#0090f1, #007fd4);
13
+ --md-find-button-hover-background: light-dark(rgba(184, 184, 184, 0.31), rgba(90, 93, 94, 0.5));
14
+ --md-find-option-background: light-dark(rgba(0, 144, 241, 0.2), rgba(0, 127, 212, 0.4));
15
+ --md-find-option-border: light-dark(#007acc, #1c9cf0);
16
+ --md-find-option-foreground: light-dark(#000000, #ffffff);
17
+ --md-find-disabled-foreground: light-dark(#9d9d9d, rgba(204, 204, 204, 0.5));
18
+ --md-find-error-border: light-dark(#be1100, #be1100);
19
+ --md-find-error-foreground: light-dark(#a1260d, #f48771);
20
+ --md-find-editor-background: light-dark(#ffffff, #1e1e1e);
21
+ --md-find-match-background: rgba(234, 92, 0, 0.33);
22
+ --md-find-match-fill: color-mix(
23
+ in srgb,
24
+ var(--md-find-editor-background) 85%,
25
+ var(--md-find-match-background)
26
+ );
27
+ --md-find-match-border: color-mix(
28
+ in srgb,
29
+ var(--md-find-widget-foreground) 55%,
30
+ #ea5c00
31
+ );
32
+ --md-find-current-background: light-dark(#a8ac94, #515c6a);
33
+ --md-find-current-fill: color-mix(
34
+ in srgb,
35
+ var(--md-find-editor-background) 90%,
36
+ var(--md-find-current-background)
37
+ );
38
+ --md-find-current-border: color-mix(
39
+ in srgb,
40
+ var(--md-find-widget-foreground) 55%,
41
+ var(--md-find-current-background)
42
+ );
43
+ }
44
+
45
+ ::highlight(md-editor-find-match) {
46
+ background-color: var(--md-find-match-fill);
47
+ }
48
+
49
+ ::highlight(md-editor-find-current) {
50
+ background-color: var(--md-find-current-fill);
51
+ }
52
+
53
+ .md-find-highlight-layer {
54
+ position: absolute;
55
+ inset: 0;
56
+ width: 100%;
57
+ height: 100%;
58
+ overflow: visible;
59
+ pointer-events: none;
60
+ }
61
+
62
+ .md-find-match-rect,
63
+ .md-find-current-rect {
64
+ position: absolute;
65
+ border-radius: 2px;
66
+ }
67
+
68
+ .md-find-match-rect {
69
+ background: transparent;
70
+ outline: 1px solid var(--md-find-match-border);
71
+ outline-offset: -1px;
72
+ }
73
+
74
+ .md-find-current-rect {
75
+ background: transparent;
76
+ outline: 2px solid var(--md-find-current-border);
77
+ outline-offset: -1px;
78
+ }
79
+
80
+ .md-find-zero-width-rect.md-find-match-rect {
81
+ background: var(--md-find-match-fill);
82
+ }
83
+
84
+ .md-find-zero-width-rect.md-find-current-rect {
85
+ background: var(--md-find-current-fill);
86
+ }
87
+
88
+ .md-find-widget-host {
89
+ position: sticky;
90
+ top: 0;
91
+ z-index: 30;
92
+ display: flex;
93
+ height: 0;
94
+ justify-content: flex-end;
95
+ overflow: visible;
96
+ pointer-events: none;
97
+ }
98
+
99
+ .md-find-widget-host[hidden] {
100
+ display: none;
101
+ }
102
+
103
+ .md-editor.md-find-visible .md-find-widget-host {
104
+ height: auto;
105
+ }
106
+
107
+ .md-find-widget {
108
+ display: flex;
109
+ box-sizing: border-box;
110
+ width: min(420px, calc(100% - 8px));
111
+ margin: 4px 4px 0 0;
112
+ padding: 3px 4px;
113
+ align-self: flex-start;
114
+ flex: none;
115
+ flex-direction: column;
116
+ gap: 0;
117
+ color: var(--md-find-widget-foreground);
118
+ background: var(--md-find-widget-background);
119
+ border: 1px solid var(--md-find-widget-border);
120
+ border-radius: var(--vscode-cornerRadius-large, 8px);
121
+ box-shadow: 0 2px 8px var(--md-find-widget-shadow);
122
+ font: 13px/1.4 var(--vscode-font-family, system-ui, sans-serif);
123
+ pointer-events: auto;
124
+ }
125
+
126
+ .md-find-row {
127
+ display: flex;
128
+ min-width: 0;
129
+ align-items: center;
130
+ gap: 2px;
131
+ }
132
+
133
+ .md-find-input-shell {
134
+ display: flex;
135
+ box-sizing: border-box;
136
+ height: 26px;
137
+ min-width: 0;
138
+ flex: 1 1 auto;
139
+ align-items: center;
140
+ color: var(--md-find-input-foreground);
141
+ background: var(--md-find-input-background);
142
+ border: 1px solid var(--md-find-input-border);
143
+ border-radius: var(--vscode-cornerRadius-small, 2px);
144
+ }
145
+
146
+ .md-find-input-shell:focus-within {
147
+ border-color: var(--md-find-focus-border);
148
+ outline: 1px solid var(--md-find-focus-border);
149
+ outline-offset: -1px;
150
+ }
151
+
152
+ .md-find-input-shell.md-find-input-invalid {
153
+ border-color: var(--md-find-error-border);
154
+ outline-color: var(--md-find-error-border);
155
+ }
156
+
157
+ .md-find-input {
158
+ box-sizing: border-box;
159
+ width: 100%;
160
+ min-width: 48px;
161
+ height: 24px;
162
+ min-height: 24px;
163
+ max-height: 80px;
164
+ margin: 0;
165
+ padding: 2px 4px;
166
+ flex: 1 1 auto;
167
+ resize: none;
168
+ overflow: auto;
169
+ color: inherit;
170
+ caret-color: var(--md-find-input-caret);
171
+ background: transparent;
172
+ border: 0;
173
+ border-radius: inherit;
174
+ outline: 0;
175
+ font: inherit;
176
+ line-height: 20px;
177
+ }
178
+
179
+ .md-find-input:focus {
180
+ outline: 0;
181
+ }
182
+
183
+ .md-find-input::placeholder {
184
+ color: var(--md-find-placeholder-foreground);
185
+ opacity: 1;
186
+ }
187
+
188
+ .md-find-input[aria-invalid='true'] {
189
+ outline: 0;
190
+ }
191
+
192
+ .md-find-options {
193
+ display: flex;
194
+ flex: 0 0 auto;
195
+ align-items: center;
196
+ gap: 0;
197
+ padding-right: 1px;
198
+ }
199
+
200
+ .md-find-button {
201
+ display: inline-flex;
202
+ width: 24px;
203
+ height: 24px;
204
+ padding: 0;
205
+ align-items: center;
206
+ justify-content: center;
207
+ color: inherit;
208
+ background: transparent;
209
+ border: 1px solid transparent;
210
+ border-radius: var(--vscode-cornerRadius-small, 5px);
211
+ font: inherit;
212
+ flex: 0 0 24px;
213
+ cursor: pointer;
214
+ }
215
+
216
+ .md-find-button:hover:not(:disabled) {
217
+ background: var(--md-find-button-hover-background);
218
+ }
219
+
220
+ .md-find-button:focus-visible {
221
+ border-color: var(--md-find-focus-border);
222
+ outline: none;
223
+ }
224
+
225
+ .md-find-button:disabled {
226
+ color: var(--md-find-disabled-foreground);
227
+ cursor: default;
228
+ }
229
+
230
+ .md-find-option {
231
+ width: 24px;
232
+ font-size: 11px;
233
+ font-weight: 600;
234
+ letter-spacing: -0.04em;
235
+ }
236
+
237
+ .md-find-option-whole-word {
238
+ text-decoration: underline;
239
+ text-decoration-thickness: 1px;
240
+ text-underline-offset: 2px;
241
+ }
242
+
243
+ .md-find-option-active {
244
+ color: var(--md-find-option-foreground);
245
+ background: var(--md-find-option-background);
246
+ border-color: var(--md-find-option-border);
247
+ }
248
+
249
+ .md-find-option-active:hover:not(:disabled) {
250
+ background: var(--md-find-option-background);
251
+ }
252
+
253
+ .md-find-count {
254
+ min-width: 54px;
255
+ padding-inline: 2px;
256
+ color: var(--md-find-count-foreground, inherit);
257
+ font-variant-numeric: tabular-nums;
258
+ line-height: 22px;
259
+ text-align: center;
260
+ white-space: nowrap;
261
+ }
262
+
263
+ .md-find-error {
264
+ padding: 2px 6px 3px;
265
+ color: var(--md-find-error-foreground);
266
+ font-size: 12px;
267
+ overflow-wrap: anywhere;
268
+ }
269
+
270
+ .md-find-no-results .md-find-count {
271
+ color: var(--md-find-error-foreground);
272
+ }
273
+
274
+ .md-editor.md-find-widget-focused .md-cursor {
275
+ visibility: hidden;
276
+ animation: none;
277
+ }
278
+
279
+ .md-find-has-current-match .md-selection-path {
280
+ fill: transparent;
281
+ }
282
+
283
+ .md-editor.md-find-visible .md-readonly-toggle-host {
284
+ visibility: hidden;
285
+ pointer-events: none;
286
+ }
287
+
288
+ .md-find-compact .md-find-widget {
289
+ width: calc(100% - 4px);
290
+ margin-right: 2px;
291
+ }
292
+
293
+ .md-find-compact .md-find-row {
294
+ flex-wrap: wrap;
295
+ justify-content: flex-end;
296
+ }
297
+
298
+ .md-find-compact .md-find-input {
299
+ width: 100%;
300
+ min-width: 0;
301
+ flex: 1 1 100%;
302
+ }
303
+
304
+ .md-find-compact .md-find-count {
305
+ min-width: 40px;
306
+ margin-right: auto;
307
+ padding-inline: 0;
308
+ }
309
+
310
+ .md-find-compact .md-find-options {
311
+ display: none;
312
+ }
313
+
314
+ .md-find-compact .md-find-input-shell {
315
+ flex: 1 1 100%;
316
+ }
317
+
318
+ @media (forced-colors: active) {
319
+ ::highlight(md-editor-find-match),
320
+ ::highlight(md-editor-find-current) {
321
+ background-color: transparent;
322
+ }
323
+
324
+ .md-find-match-rect {
325
+ forced-color-adjust: none;
326
+ background: transparent;
327
+ outline: 1px solid Highlight;
328
+ }
329
+
330
+ .md-find-current-rect {
331
+ forced-color-adjust: none;
332
+ background: transparent;
333
+ opacity: 1;
334
+ outline: 2px solid Highlight;
335
+ }
336
+
337
+ .md-find-widget,
338
+ .md-find-input,
339
+ .md-find-button {
340
+ border-color: ButtonText;
341
+ }
342
+
343
+ .md-find-option-active {
344
+ color: HighlightText;
345
+ background: Highlight;
346
+ }
347
+ }
@@ -0,0 +1,73 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ * Visual design adapted from VS Code src/vs/editor/contrib/rename/browser/renameWidget.css.
5
+ */
6
+
7
+ .md-rename-widget {
8
+ box-sizing: border-box;
9
+ width: 280px;
10
+ max-width: 100%;
11
+ max-height: 100%;
12
+ overflow: auto;
13
+ padding: 4px 4px 0;
14
+ border: 1px solid var(--vscode-widget-border, transparent);
15
+ border-radius: 4px;
16
+ box-shadow: var(--vscode-shadow-lg, 0 2px 8px var(--vscode-widget-shadow, #0003));
17
+ color: var(--vscode-editorWidget-foreground, #333);
18
+ background: var(--vscode-editorWidget-background, #f3f3f3);
19
+ font-family: var(--vscode-font-family, sans-serif);
20
+ font-size: var(--vscode-font-size, 13px);
21
+ }
22
+
23
+ .md-rename-widget[hidden] {
24
+ display: none;
25
+ }
26
+
27
+ .md-rename-widget.md-rename-overlay {
28
+ position: absolute;
29
+ z-index: 100;
30
+ }
31
+
32
+ .md-rename-widget .md-rename-input-shell {
33
+ display: flex;
34
+ padding: 3px;
35
+ border: 1px solid var(--vscode-input-border, transparent);
36
+ border-radius: 4px;
37
+ background: var(--vscode-input-background, #fff);
38
+ }
39
+
40
+ .md-rename-widget .md-rename-input-shell:focus-within {
41
+ border-color: var(--vscode-focusBorder, #007acc);
42
+ }
43
+
44
+ .md-rename-widget .md-rename-input {
45
+ box-sizing: border-box;
46
+ width: 100%;
47
+ min-width: 0;
48
+ padding: 0;
49
+ border: 0;
50
+ outline: none;
51
+ color: var(--vscode-input-foreground, #333);
52
+ caret-color: var(--vscode-editorCursor-foreground, currentColor);
53
+ background: transparent;
54
+ font-family: var(--vscode-editor-font-family, monospace);
55
+ font-size: var(--vscode-editor-font-size, 14px);
56
+ line-height: 20px;
57
+ }
58
+
59
+ .md-rename-widget .md-rename-message {
60
+ padding: 3px 0;
61
+ font-size: 11px;
62
+ line-height: 16px;
63
+ overflow-wrap: anywhere;
64
+ }
65
+
66
+ .md-rename-widget.md-rename-invalid .md-rename-input-shell {
67
+ border-color: var(--vscode-inputValidation-errorBorder, #be1100);
68
+ }
69
+
70
+ .md-rename-widget.md-rename-invalid .md-rename-message {
71
+ color: var(--vscode-inputValidation-errorForeground, var(--vscode-errorForeground, #be1100));
72
+ background: var(--vscode-inputValidation-errorBackground, transparent);
73
+ }
@@ -0,0 +1,109 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See LICENSE in the repository root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ /* Adapted from VS Code's src/vs/editor/contrib/suggest/browser/media/suggest.css. */
7
+ @import '@vscode/codicons/dist/codicon.css';
8
+
9
+ .md-suggest-widget {
10
+ box-sizing: border-box;
11
+ width: 432px;
12
+ padding-bottom: 2px;
13
+ max-width: 100%;
14
+ overflow: hidden;
15
+ border: 1px solid var(--vscode-editorSuggestWidget-border, var(--vscode-editorWidget-border, #454545));
16
+ border-radius: var(--vscode-cornerRadius-large, 4px);
17
+ background: var(--vscode-editorSuggestWidget-background, var(--vscode-editorWidget-background, #252526));
18
+ color: var(--vscode-editorSuggestWidget-foreground, var(--vscode-editor-foreground, #cccccc));
19
+ box-shadow: 0 2px 8px var(--vscode-widget-shadow, #00000036);
20
+ font-family: var(--vscode-editor-font-family, monospace);
21
+ font-size: var(--vscode-editor-font-size, 14px);
22
+ line-height: var(--md-suggest-line-height, 19px);
23
+ }
24
+
25
+ .md-suggest-widget[hidden],
26
+ .md-suggest-widget [hidden] {
27
+ display: none;
28
+ }
29
+
30
+ .md-suggest-widget .md-suggest-list {
31
+ position: relative;
32
+ max-height: min(calc(var(--md-suggest-line-height, 19px) * 12), var(--md-suggest-max-height, 100vh));
33
+ overflow-y: auto;
34
+ overscroll-behavior: contain;
35
+ scrollbar-width: thin;
36
+ scrollbar-color: var(--vscode-scrollbarSlider-background, #79797966) transparent;
37
+ user-select: none;
38
+ }
39
+
40
+ .md-suggest-widget .md-suggest-row {
41
+ box-sizing: border-box;
42
+ display: flex;
43
+ height: var(--md-suggest-line-height, 19px);
44
+ align-items: center;
45
+ padding: 0 10px 0 2px;
46
+ white-space: pre;
47
+ cursor: pointer;
48
+ }
49
+
50
+ .md-suggest-widget .md-suggest-row[aria-selected="true"] {
51
+ background: var(--vscode-editorSuggestWidget-selectedBackground, var(--vscode-list-activeSelectionBackground, #04395e));
52
+ color: var(--vscode-editorSuggestWidget-selectedForeground, var(--vscode-list-activeSelectionForeground, #ffffff));
53
+ outline: 1px solid var(--vscode-editorSuggestWidget-focusOutline, var(--vscode-contrastActiveBorder, transparent));
54
+ outline-offset: -1px;
55
+ }
56
+
57
+ .md-suggest-widget .md-suggest-label,
58
+ .md-suggest-widget .md-suggest-detail,
59
+ .md-suggest-widget .md-suggest-icon {
60
+ min-width: 0;
61
+ overflow: hidden;
62
+ text-overflow: ellipsis;
63
+ }
64
+
65
+ .md-suggest-widget .md-suggest-label {
66
+ flex: 0 1 auto;
67
+ }
68
+
69
+ .md-suggest-widget .md-suggest-detail {
70
+ display: none;
71
+ flex: 0 1 auto;
72
+ margin-left: auto;
73
+ padding-left: 1.1em;
74
+ font-size: 85%;
75
+ }
76
+
77
+ .md-suggest-widget .md-suggest-row[aria-selected="true"] .md-suggest-detail {
78
+ display: inline;
79
+ }
80
+
81
+ .md-suggest-widget .md-suggest-icon {
82
+ flex: 0 0 16px;
83
+ width: 16px;
84
+ margin-right: 4px;
85
+ font-size: 16px;
86
+ }
87
+
88
+ .md-suggest-widget .md-suggest-row[aria-selected="true"] .md-suggest-icon {
89
+ color: var(--vscode-editorSuggestWidget-selectedIconForeground, inherit);
90
+ }
91
+
92
+ .md-suggest-widget .md-suggest-match {
93
+ font-weight: bold;
94
+ color: var(--vscode-editorSuggestWidget-highlightForeground, inherit);
95
+ }
96
+
97
+ .md-suggest-widget .md-suggest-row[aria-selected="true"] .md-suggest-match {
98
+ color: var(--vscode-editorSuggestWidget-focusHighlightForeground, inherit);
99
+ }
100
+
101
+ .md-suggest-widget .md-suggest-message {
102
+ padding: 4px 10px 4px 22px;
103
+ white-space: pre-wrap;
104
+ overflow-wrap: anywhere;
105
+ }
106
+
107
+ .md-suggest-widget[data-state="error"] .md-suggest-message {
108
+ color: var(--vscode-errorForeground, #f48771);
109
+ }