monaco-editor-core 0.53.0-dev-20250902 → 0.53.0-dev-20250904
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/esm/nls.keys.json +1 -1
- package/esm/nls.messages.de.js +2 -2
- package/esm/nls.messages.es.js +2 -2
- package/esm/nls.messages.fr.js +2 -2
- package/esm/nls.messages.it.js +2 -2
- package/esm/nls.messages.ja.js +2 -2
- package/esm/nls.messages.js +1 -1
- package/esm/nls.messages.json +1 -1
- package/esm/nls.messages.ko.js +2 -2
- package/esm/nls.messages.ru.js +2 -2
- package/esm/nls.messages.zh-cn.js +2 -2
- package/esm/nls.messages.zh-tw.js +2 -2
- package/esm/nls.metadata.json +2 -0
- package/esm/vs/base/browser/domSanitize.js +10 -0
- package/esm/vs/base/browser/domSanitize.js.map +1 -1
- package/esm/vs/editor/common/core/edits/stringEdit.js +1 -1
- package/esm/vs/editor/common/core/edits/stringEdit.js.map +1 -1
- package/esm/vs/platform/contextkey/common/contextkeys.js +2 -1
- package/esm/vs/platform/contextkey/common/contextkeys.js.map +1 -1
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +7 -7
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/package.json +2 -2
|
@@ -154,22 +154,22 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
154
154
|
const commandPick = filteredCommandPicks[i];
|
|
155
155
|
// Separator: recently used
|
|
156
156
|
if (i === 0 && this.commandsHistory.peek(commandPick.commandId)) {
|
|
157
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
157
|
+
commandPicks.push({ type: 'separator', label: localize(1721, "recently used") });
|
|
158
158
|
addOtherSeparator = true;
|
|
159
159
|
}
|
|
160
160
|
if (addSuggestedSeparator && commandPick.tfIdfScore !== undefined) {
|
|
161
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
161
|
+
commandPicks.push({ type: 'separator', label: localize(1722, "similar commands") });
|
|
162
162
|
addSuggestedSeparator = false;
|
|
163
163
|
}
|
|
164
164
|
// Separator: commonly used
|
|
165
165
|
if (addCommonlyUsedSeparator && commandPick.tfIdfScore === undefined && !this.commandsHistory.peek(commandPick.commandId) && this.options.suggestedCommandIds?.has(commandPick.commandId)) {
|
|
166
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
166
|
+
commandPicks.push({ type: 'separator', label: localize(1723, "commonly used") });
|
|
167
167
|
addOtherSeparator = true;
|
|
168
168
|
addCommonlyUsedSeparator = false;
|
|
169
169
|
}
|
|
170
170
|
// Separator: other commands
|
|
171
171
|
if (addOtherSeparator && commandPick.tfIdfScore === undefined && !this.commandsHistory.peek(commandPick.commandId) && !this.options.suggestedCommandIds?.has(commandPick.commandId)) {
|
|
172
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
172
|
+
commandPicks.push({ type: 'separator', label: localize(1724, "other commands") });
|
|
173
173
|
addOtherSeparator = false;
|
|
174
174
|
}
|
|
175
175
|
// Command
|
|
@@ -189,7 +189,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
189
189
|
// Basically, if we haven't already added a separator, we add one before the additional picks so long
|
|
190
190
|
// as one hasn't been added to the start of the array.
|
|
191
191
|
if (addSuggestedSeparator && commandPicks[0]?.type !== 'separator') {
|
|
192
|
-
commandPicks.unshift({ type: 'separator', label: localize(
|
|
192
|
+
commandPicks.unshift({ type: 'separator', label: localize(1725, "similar commands") });
|
|
193
193
|
}
|
|
194
194
|
return commandPicks;
|
|
195
195
|
})()
|
|
@@ -201,7 +201,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
201
201
|
}
|
|
202
202
|
const keybinding = this.keybindingService.lookupKeybinding(commandPick.commandId);
|
|
203
203
|
const ariaLabel = keybinding ?
|
|
204
|
-
localize(
|
|
204
|
+
localize(1726, "{0}, {1}", commandPick.label, keybinding.getAriaLabel()) :
|
|
205
205
|
commandPick.label;
|
|
206
206
|
return {
|
|
207
207
|
...commandPick,
|
|
@@ -224,7 +224,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
224
224
|
}
|
|
225
225
|
catch (error) {
|
|
226
226
|
if (!isCancellationError(error)) {
|
|
227
|
-
this.dialogService.error(localize(
|
|
227
|
+
this.dialogService.error(localize(1727, "Command '{0}' resulted in an error", commandPick.label), toErrorMessage(error));
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
}
|
|
@@ -62,7 +62,7 @@ let HelpQuickAccessProvider = class HelpQuickAccessProvider {
|
|
|
62
62
|
prefix,
|
|
63
63
|
label,
|
|
64
64
|
keybinding: helpEntry.commandId ? this.keybindingService.lookupKeybinding(helpEntry.commandId) : undefined,
|
|
65
|
-
ariaLabel: localize(
|
|
65
|
+
ariaLabel: localize(1728, "{0}, {1}", label, helpEntry.description),
|
|
66
66
|
description: helpEntry.description
|
|
67
67
|
};
|
|
68
68
|
});
|
|
@@ -31,22 +31,22 @@ import { IHoverService, WorkbenchHoverDelegate } from '../../hover/browser/hover
|
|
|
31
31
|
import { ContextKeyExpr, RawContextKey } from '../../contextkey/common/contextkey.js';
|
|
32
32
|
import { observableValue } from '../../../base/common/observable.js';
|
|
33
33
|
export const inQuickInputContextKeyValue = 'inQuickInput';
|
|
34
|
-
export const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, localize(
|
|
34
|
+
export const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, localize(1729, "Whether keyboard focus is inside the quick input control"));
|
|
35
35
|
export const inQuickInputContext = ContextKeyExpr.has(inQuickInputContextKeyValue);
|
|
36
36
|
export const quickInputAlignmentContextKeyValue = 'quickInputAlignment';
|
|
37
|
-
export const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, 'top', localize(
|
|
37
|
+
export const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, 'top', localize(1730, "The alignment of the quick input"));
|
|
38
38
|
export const quickInputTypeContextKeyValue = 'quickInputType';
|
|
39
|
-
export const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, undefined, localize(
|
|
39
|
+
export const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, undefined, localize(1731, "The type of the currently visible quick input"));
|
|
40
40
|
export const endOfQuickInputBoxContextKeyValue = 'cursorAtEndOfQuickInputBox';
|
|
41
|
-
export const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, localize(
|
|
41
|
+
export const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, localize(1732, "Whether the cursor in the quick input is at the end of the input box"));
|
|
42
42
|
export const endOfQuickInputBoxContext = ContextKeyExpr.has(endOfQuickInputBoxContextKeyValue);
|
|
43
43
|
export const backButton = {
|
|
44
44
|
iconClass: ThemeIcon.asClassName(Codicon.quickInputBack),
|
|
45
|
-
tooltip: localize(
|
|
45
|
+
tooltip: localize(1733, "Back"),
|
|
46
46
|
handle: -1 // TODO
|
|
47
47
|
};
|
|
48
48
|
export class QuickInput extends Disposable {
|
|
49
|
-
static { this.noPromptMessage = localize(
|
|
49
|
+
static { this.noPromptMessage = localize(1734, "Press 'Enter' to confirm your input or 'Escape' to cancel"); }
|
|
50
50
|
constructor(ui) {
|
|
51
51
|
super();
|
|
52
52
|
this.ui = ui;
|
|
@@ -314,7 +314,7 @@ export class QuickInput extends Disposable {
|
|
|
314
314
|
}
|
|
315
315
|
getSteps() {
|
|
316
316
|
if (this.step && this.totalSteps) {
|
|
317
|
-
return localize(
|
|
317
|
+
return localize(1735, "{0}/{1}", this.step, this.totalSteps);
|
|
318
318
|
}
|
|
319
319
|
if (this.step) {
|
|
320
320
|
return String(this.step);
|
|
@@ -386,7 +386,7 @@ export class QuickPick extends QuickInput {
|
|
|
386
386
|
this.onDidTriggerItemButton = this.onDidTriggerItemButtonEmitter.event;
|
|
387
387
|
this.onDidTriggerSeparatorButton = this.onDidTriggerSeparatorButtonEmitter.event;
|
|
388
388
|
}
|
|
389
|
-
static { this.DEFAULT_ARIA_LABEL = localize(
|
|
389
|
+
static { this.DEFAULT_ARIA_LABEL = localize(1736, "Type to narrow down results."); }
|
|
390
390
|
get quickNavigate() {
|
|
391
391
|
return this._quickNavigate;
|
|
392
392
|
}
|
|
@@ -570,7 +570,7 @@ export class QuickPick extends QuickInput {
|
|
|
570
570
|
this.update();
|
|
571
571
|
}
|
|
572
572
|
get okLabel() {
|
|
573
|
-
return this._okLabel ?? localize(
|
|
573
|
+
return this._okLabel ?? localize(1737, "OK");
|
|
574
574
|
}
|
|
575
575
|
set okLabel(okLabel) {
|
|
576
576
|
this._okLabel = okLabel;
|
|
@@ -911,7 +911,7 @@ export class InputBox extends QuickInput {
|
|
|
911
911
|
set prompt(prompt) {
|
|
912
912
|
this._prompt = prompt;
|
|
913
913
|
this.noValidationMessage = prompt
|
|
914
|
-
? localize(
|
|
914
|
+
? localize(1738, "{0} (Press 'Enter' to confirm or 'Escape' to cancel)", prompt)
|
|
915
915
|
: QuickInput.noPromptMessage;
|
|
916
916
|
this.update();
|
|
917
917
|
}
|
|
@@ -12,7 +12,7 @@ import { IQuickInputService, QuickPickFocus } from '../common/quickInput.js';
|
|
|
12
12
|
const defaultCommandAndKeybindingRule = {
|
|
13
13
|
weight: 200 /* KeybindingWeight.WorkbenchContrib */,
|
|
14
14
|
when: ContextKeyExpr.and(ContextKeyExpr.or(ContextKeyExpr.equals(quickInputTypeContextKeyValue, "quickPick" /* QuickInputType.QuickPick */), ContextKeyExpr.equals(quickInputTypeContextKeyValue, "quickTree" /* QuickInputType.QuickTree */)), inQuickInputContext),
|
|
15
|
-
metadata: { description: localize(
|
|
15
|
+
metadata: { description: localize(1739, "Used while in the context of the quick pick. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well.") }
|
|
16
16
|
};
|
|
17
17
|
function registerQuickPickCommandAndKeybindingRule(rule, options = {}) {
|
|
18
18
|
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
@@ -71,8 +71,8 @@ registerQuickPickCommandAndKeybindingRule({ id: 'quickInput.previous', primary:
|
|
|
71
71
|
// In this case, we want that modifier key+up/down to navigate to the next/previous item, not the next/previous separator.
|
|
72
72
|
// To handle this, we have a separate command for navigating to the next/previous separator when we are not in quick access mode.
|
|
73
73
|
// If, however, we are in quick access mode, and you hold down an additional modifier key, we will navigate to the next/previous separator.
|
|
74
|
-
const nextSeparatorFallbackDesc = localize(
|
|
75
|
-
const prevSeparatorFallbackDesc = localize(
|
|
74
|
+
const nextSeparatorFallbackDesc = localize(1740, "If we're in quick access mode, this will navigate to the next item. If we are not in quick access mode, this will navigate to the next separator.");
|
|
75
|
+
const prevSeparatorFallbackDesc = localize(1741, "If we're in quick access mode, this will navigate to the previous item. If we are not in quick access mode, this will navigate to the previous separator.");
|
|
76
76
|
if (isMacintosh) {
|
|
77
77
|
registerQuickPickCommandAndKeybindingRule({
|
|
78
78
|
id: 'quickInput.nextSeparatorWithQuickAccessFallback',
|
|
@@ -117,7 +117,7 @@ let QuickInputController = class QuickInputController extends Disposable {
|
|
|
117
117
|
const rightActionBar = this._register(new ActionBar(titleBar, { hoverDelegate: this.options.hoverDelegate }));
|
|
118
118
|
rightActionBar.domNode.classList.add('quick-input-right-action-bar');
|
|
119
119
|
const headerContainer = dom.append(container, $('.quick-input-header'));
|
|
120
|
-
const checkAll = this._register(new TriStateCheckbox(localize(
|
|
120
|
+
const checkAll = this._register(new TriStateCheckbox(localize(1742, "Toggle all checkboxes"), false, { ...defaultCheckboxStyles, size: 15 }));
|
|
121
121
|
dom.append(headerContainer, checkAll.domNode);
|
|
122
122
|
this._register(checkAll.onChange(() => {
|
|
123
123
|
const checked = checkAll.checked;
|
|
@@ -136,21 +136,21 @@ let QuickInputController = class QuickInputController extends Disposable {
|
|
|
136
136
|
const visibleCountContainer = dom.append(filterContainer, $('.quick-input-visible-count'));
|
|
137
137
|
visibleCountContainer.setAttribute('aria-live', 'polite');
|
|
138
138
|
visibleCountContainer.setAttribute('aria-atomic', 'true');
|
|
139
|
-
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: localize(
|
|
139
|
+
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: localize(1743, "{0} Results") }, this.styles.countBadge));
|
|
140
140
|
const countContainer = dom.append(filterContainer, $('.quick-input-count'));
|
|
141
141
|
countContainer.setAttribute('aria-live', 'polite');
|
|
142
|
-
const count = this._register(new CountBadge(countContainer, { countFormat: localize(
|
|
142
|
+
const count = this._register(new CountBadge(countContainer, { countFormat: localize(1744, "{0} Selected") }, this.styles.countBadge));
|
|
143
143
|
const inlineActionBar = this._register(new ActionBar(headerContainer, { hoverDelegate: this.options.hoverDelegate }));
|
|
144
144
|
inlineActionBar.domNode.classList.add('quick-input-inline-action-bar');
|
|
145
145
|
const okContainer = dom.append(headerContainer, $('.quick-input-action'));
|
|
146
146
|
const ok = this._register(new Button(okContainer, this.styles.button));
|
|
147
|
-
ok.label = localize(
|
|
147
|
+
ok.label = localize(1745, "OK");
|
|
148
148
|
this._register(ok.onDidClick(e => {
|
|
149
149
|
this.onDidAcceptEmitter.fire();
|
|
150
150
|
}));
|
|
151
151
|
const customButtonContainer = dom.append(headerContainer, $('.quick-input-action'));
|
|
152
152
|
const customButton = this._register(new Button(customButtonContainer, { ...this.styles.button, supportIcons: true }));
|
|
153
|
-
customButton.label = localize(
|
|
153
|
+
customButton.label = localize(1746, "Custom");
|
|
154
154
|
this._register(customButton.onDidClick(e => {
|
|
155
155
|
this.onDidCustomEmitter.fire();
|
|
156
156
|
}));
|
|
@@ -613,7 +613,7 @@ let QuickInputController = class QuickInputController extends Disposable {
|
|
|
613
613
|
ui.ignoreFocusOut = false;
|
|
614
614
|
ui.inputBox.toggles = undefined;
|
|
615
615
|
const backKeybindingLabel = this.options.backKeybindingLabel();
|
|
616
|
-
backButton.tooltip = backKeybindingLabel ? localize(
|
|
616
|
+
backButton.tooltip = backKeybindingLabel ? localize(1747, "Back ({0})", backKeybindingLabel) : localize(1748, "Back");
|
|
617
617
|
ui.container.style.display = '';
|
|
618
618
|
this.updateLayout();
|
|
619
619
|
this.dndController?.layoutContainer();
|
|
@@ -206,7 +206,7 @@ class QuickInputItemDelegate {
|
|
|
206
206
|
}
|
|
207
207
|
class QuickInputAccessibilityProvider {
|
|
208
208
|
getWidgetAriaLabel() {
|
|
209
|
-
return localize(
|
|
209
|
+
return localize(1749, "Quick Input");
|
|
210
210
|
}
|
|
211
211
|
getAriaLabel(element) {
|
|
212
212
|
return element.separator?.label
|
|
@@ -58,7 +58,7 @@ export function renderQuickInputDescription(description, container, actionHandle
|
|
|
58
58
|
else {
|
|
59
59
|
let title = node.title;
|
|
60
60
|
if (!title && node.href.startsWith('command:')) {
|
|
61
|
-
title = localize(
|
|
61
|
+
title = localize(1750, "Click to execute command '{0}'", node.href.substring('command:'.length));
|
|
62
62
|
}
|
|
63
63
|
else if (!title) {
|
|
64
64
|
title = node.href;
|
|
@@ -13,7 +13,7 @@ export class QuickTreeAccessibilityProvider {
|
|
|
13
13
|
this.onCheckedEvent = onCheckedEvent;
|
|
14
14
|
}
|
|
15
15
|
getWidgetAriaLabel() {
|
|
16
|
-
return localize(
|
|
16
|
+
return localize(1751, "Quick Tree");
|
|
17
17
|
}
|
|
18
18
|
getAriaLabel(element) {
|
|
19
19
|
return element.ariaLabel || [element.label, element.description]
|
|
@@ -51,13 +51,13 @@ class ColorRegistry extends Disposable {
|
|
|
51
51
|
}
|
|
52
52
|
if (needsTransparency) {
|
|
53
53
|
propertySchema.pattern = '^#(?:(?<rgba>[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$';
|
|
54
|
-
propertySchema.patternErrorMessage = nls.localize(
|
|
54
|
+
propertySchema.patternErrorMessage = nls.localize(2000, 'This color must be transparent or it will obscure content');
|
|
55
55
|
}
|
|
56
56
|
this.colorSchema.properties[id] = {
|
|
57
57
|
description,
|
|
58
58
|
oneOf: [
|
|
59
59
|
propertySchema,
|
|
60
|
-
{ type: 'string', const: DEFAULT_COLOR_CONFIG_VALUE, description: nls.localize(
|
|
60
|
+
{ type: 'string', const: DEFAULT_COLOR_CONFIG_VALUE, description: nls.localize(2001, 'Use the default color.') }
|
|
61
61
|
]
|
|
62
62
|
};
|
|
63
63
|
this.colorReferenceSchema.enum.push(id);
|
|
@@ -6,25 +6,25 @@ import * as nls from '../../../../nls.js';
|
|
|
6
6
|
// Import the effects we need
|
|
7
7
|
import { Color } from '../../../../base/common/color.js';
|
|
8
8
|
import { registerColor, transparent } from '../colorUtils.js';
|
|
9
|
-
export const foreground = registerColor('foreground', { dark: '#CCCCCC', light: '#616161', hcDark: '#FFFFFF', hcLight: '#292929' }, nls.localize(
|
|
10
|
-
export const disabledForeground = registerColor('disabledForeground', { dark: '#CCCCCC80', light: '#61616180', hcDark: '#A5A5A5', hcLight: '#7F7F7F' }, nls.localize(
|
|
11
|
-
export const errorForeground = registerColor('errorForeground', { dark: '#F48771', light: '#A1260D', hcDark: '#F48771', hcLight: '#B5200D' }, nls.localize(
|
|
12
|
-
export const descriptionForeground = registerColor('descriptionForeground', { light: '#717171', dark: transparent(foreground, 0.7), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, nls.localize(
|
|
13
|
-
export const iconForeground = registerColor('icon.foreground', { dark: '#C5C5C5', light: '#424242', hcDark: '#FFFFFF', hcLight: '#292929' }, nls.localize(
|
|
14
|
-
export const focusBorder = registerColor('focusBorder', { dark: '#007FD4', light: '#0090F1', hcDark: '#F38518', hcLight: '#006BBD' }, nls.localize(
|
|
15
|
-
export const contrastBorder = registerColor('contrastBorder', { light: null, dark: null, hcDark: '#6FC3DF', hcLight: '#0F4A85' }, nls.localize(
|
|
16
|
-
export const activeContrastBorder = registerColor('contrastActiveBorder', { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, nls.localize(
|
|
17
|
-
export const selectionBackground = registerColor('selection.background', null, nls.localize(
|
|
9
|
+
export const foreground = registerColor('foreground', { dark: '#CCCCCC', light: '#616161', hcDark: '#FFFFFF', hcLight: '#292929' }, nls.localize(1752, "Overall foreground color. This color is only used if not overridden by a component."));
|
|
10
|
+
export const disabledForeground = registerColor('disabledForeground', { dark: '#CCCCCC80', light: '#61616180', hcDark: '#A5A5A5', hcLight: '#7F7F7F' }, nls.localize(1753, "Overall foreground for disabled elements. This color is only used if not overridden by a component."));
|
|
11
|
+
export const errorForeground = registerColor('errorForeground', { dark: '#F48771', light: '#A1260D', hcDark: '#F48771', hcLight: '#B5200D' }, nls.localize(1754, "Overall foreground color for error messages. This color is only used if not overridden by a component."));
|
|
12
|
+
export const descriptionForeground = registerColor('descriptionForeground', { light: '#717171', dark: transparent(foreground, 0.7), hcDark: transparent(foreground, 0.7), hcLight: transparent(foreground, 0.7) }, nls.localize(1755, "Foreground color for description text providing additional information, for example for a label."));
|
|
13
|
+
export const iconForeground = registerColor('icon.foreground', { dark: '#C5C5C5', light: '#424242', hcDark: '#FFFFFF', hcLight: '#292929' }, nls.localize(1756, "The default color for icons in the workbench."));
|
|
14
|
+
export const focusBorder = registerColor('focusBorder', { dark: '#007FD4', light: '#0090F1', hcDark: '#F38518', hcLight: '#006BBD' }, nls.localize(1757, "Overall border color for focused elements. This color is only used if not overridden by a component."));
|
|
15
|
+
export const contrastBorder = registerColor('contrastBorder', { light: null, dark: null, hcDark: '#6FC3DF', hcLight: '#0F4A85' }, nls.localize(1758, "An extra border around elements to separate them from others for greater contrast."));
|
|
16
|
+
export const activeContrastBorder = registerColor('contrastActiveBorder', { light: null, dark: null, hcDark: focusBorder, hcLight: focusBorder }, nls.localize(1759, "An extra border around active elements to separate them from others for greater contrast."));
|
|
17
|
+
export const selectionBackground = registerColor('selection.background', null, nls.localize(1760, "The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor."));
|
|
18
18
|
// ------ text link
|
|
19
|
-
export const textLinkForeground = registerColor('textLink.foreground', { light: '#006AB1', dark: '#3794FF', hcDark: '#21A6FF', hcLight: '#0F4A85' }, nls.localize(
|
|
20
|
-
export const textLinkActiveForeground = registerColor('textLink.activeForeground', { light: '#006AB1', dark: '#3794FF', hcDark: '#21A6FF', hcLight: '#0F4A85' }, nls.localize(
|
|
21
|
-
export const textSeparatorForeground = registerColor('textSeparator.foreground', { light: '#0000002e', dark: '#ffffff2e', hcDark: Color.black, hcLight: '#292929' }, nls.localize(
|
|
19
|
+
export const textLinkForeground = registerColor('textLink.foreground', { light: '#006AB1', dark: '#3794FF', hcDark: '#21A6FF', hcLight: '#0F4A85' }, nls.localize(1761, "Foreground color for links in text."));
|
|
20
|
+
export const textLinkActiveForeground = registerColor('textLink.activeForeground', { light: '#006AB1', dark: '#3794FF', hcDark: '#21A6FF', hcLight: '#0F4A85' }, nls.localize(1762, "Foreground color for links in text when clicked on and on mouse hover."));
|
|
21
|
+
export const textSeparatorForeground = registerColor('textSeparator.foreground', { light: '#0000002e', dark: '#ffffff2e', hcDark: Color.black, hcLight: '#292929' }, nls.localize(1763, "Color for text separators."));
|
|
22
22
|
// ------ text preformat
|
|
23
|
-
export const textPreformatForeground = registerColor('textPreformat.foreground', { light: '#A31515', dark: '#D7BA7D', hcDark: '#000000', hcLight: '#FFFFFF' }, nls.localize(
|
|
24
|
-
export const textPreformatBackground = registerColor('textPreformat.background', { light: '#0000001A', dark: '#FFFFFF1A', hcDark: '#FFFFFF', hcLight: '#09345f' }, nls.localize(
|
|
23
|
+
export const textPreformatForeground = registerColor('textPreformat.foreground', { light: '#A31515', dark: '#D7BA7D', hcDark: '#000000', hcLight: '#FFFFFF' }, nls.localize(1764, "Foreground color for preformatted text segments."));
|
|
24
|
+
export const textPreformatBackground = registerColor('textPreformat.background', { light: '#0000001A', dark: '#FFFFFF1A', hcDark: '#FFFFFF', hcLight: '#09345f' }, nls.localize(1765, "Background color for preformatted text segments."));
|
|
25
25
|
// ------ text block quote
|
|
26
|
-
export const textBlockQuoteBackground = registerColor('textBlockQuote.background', { light: '#f2f2f2', dark: '#222222', hcDark: null, hcLight: '#F2F2F2' }, nls.localize(
|
|
27
|
-
export const textBlockQuoteBorder = registerColor('textBlockQuote.border', { light: '#007acc80', dark: '#007acc80', hcDark: Color.white, hcLight: '#292929' }, nls.localize(
|
|
26
|
+
export const textBlockQuoteBackground = registerColor('textBlockQuote.background', { light: '#f2f2f2', dark: '#222222', hcDark: null, hcLight: '#F2F2F2' }, nls.localize(1766, "Background color for block quotes in text."));
|
|
27
|
+
export const textBlockQuoteBorder = registerColor('textBlockQuote.border', { light: '#007acc80', dark: '#007acc80', hcDark: Color.white, hcLight: '#292929' }, nls.localize(1767, "Border color for block quotes in text."));
|
|
28
28
|
// ------ text code block
|
|
29
|
-
export const textCodeBlockBackground = registerColor('textCodeBlock.background', { light: '#dcdcdc66', dark: '#0a0a0a66', hcDark: Color.black, hcLight: '#F2F2F2' }, nls.localize(
|
|
29
|
+
export const textCodeBlockBackground = registerColor('textCodeBlock.background', { light: '#dcdcdc66', dark: '#0a0a0a66', hcDark: Color.black, hcLight: '#F2F2F2' }, nls.localize(1768, "Background color for code blocks in text."));
|
|
30
30
|
//# sourceMappingURL=baseColors.js.map
|
|
@@ -7,12 +7,12 @@ import { registerColor, transparent } from '../colorUtils.js';
|
|
|
7
7
|
import { foreground } from './baseColors.js';
|
|
8
8
|
import { editorErrorForeground, editorInfoForeground, editorWarningForeground } from './editorColors.js';
|
|
9
9
|
import { minimapFindMatch } from './minimapColors.js';
|
|
10
|
-
export const chartsForeground = registerColor('charts.foreground', foreground, nls.localize(
|
|
11
|
-
export const chartsLines = registerColor('charts.lines', transparent(foreground, .5), nls.localize(
|
|
12
|
-
export const chartsRed = registerColor('charts.red', editorErrorForeground, nls.localize(
|
|
13
|
-
export const chartsBlue = registerColor('charts.blue', editorInfoForeground, nls.localize(
|
|
14
|
-
export const chartsYellow = registerColor('charts.yellow', editorWarningForeground, nls.localize(
|
|
15
|
-
export const chartsOrange = registerColor('charts.orange', minimapFindMatch, nls.localize(
|
|
16
|
-
export const chartsGreen = registerColor('charts.green', { dark: '#89D185', light: '#388A34', hcDark: '#89D185', hcLight: '#374e06' }, nls.localize(
|
|
17
|
-
export const chartsPurple = registerColor('charts.purple', { dark: '#B180D7', light: '#652D90', hcDark: '#B180D7', hcLight: '#652D90' }, nls.localize(
|
|
10
|
+
export const chartsForeground = registerColor('charts.foreground', foreground, nls.localize(1769, "The foreground color used in charts."));
|
|
11
|
+
export const chartsLines = registerColor('charts.lines', transparent(foreground, .5), nls.localize(1770, "The color used for horizontal lines in charts."));
|
|
12
|
+
export const chartsRed = registerColor('charts.red', editorErrorForeground, nls.localize(1771, "The red color used in chart visualizations."));
|
|
13
|
+
export const chartsBlue = registerColor('charts.blue', editorInfoForeground, nls.localize(1772, "The blue color used in chart visualizations."));
|
|
14
|
+
export const chartsYellow = registerColor('charts.yellow', editorWarningForeground, nls.localize(1773, "The yellow color used in chart visualizations."));
|
|
15
|
+
export const chartsOrange = registerColor('charts.orange', minimapFindMatch, nls.localize(1774, "The orange color used in chart visualizations."));
|
|
16
|
+
export const chartsGreen = registerColor('charts.green', { dark: '#89D185', light: '#388A34', hcDark: '#89D185', hcLight: '#374e06' }, nls.localize(1775, "The green color used in chart visualizations."));
|
|
17
|
+
export const chartsPurple = registerColor('charts.purple', { dark: '#B180D7', light: '#652D90', hcDark: '#B180D7', hcLight: '#652D90' }, nls.localize(1776, "The purple color used in chart visualizations."));
|
|
18
18
|
//# sourceMappingURL=chartsColors.js.map
|