Skip to content

Commit 2e12c97

Browse files
authored
rename editor.collapsedText to foldPlaceholderForeground (microsoft#219340)
rename vscode-editor-collapsedText
1 parent aea213b commit 2e12c97

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build/lib/stylelint/vscode-known-variables.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@
128128
"--vscode-dropdown-foreground",
129129
"--vscode-dropdown-listBackground",
130130
"--vscode-editor-background",
131-
"--vscode-editor-collapsedText",
132131
"--vscode-editor-findMatchBackground",
133132
"--vscode-editor-findMatchBorder",
134133
"--vscode-editor-findMatchForeground",
@@ -139,6 +138,7 @@
139138
"--vscode-editor-findRangeHighlightBorder",
140139
"--vscode-editor-focusedStackFrameHighlightBackground",
141140
"--vscode-editor-foldBackground",
141+
"--vscode-editor-foldPlaceholderForeground",
142142
"--vscode-editor-foreground",
143143
"--vscode-editor-hoverHighlightBackground",
144144
"--vscode-editor-inactiveSelectionBackground",

src/vs/editor/contrib/folding/browser/folding.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232

3333
.monaco-editor .inline-folded:after {
34-
color: var(--vscode-editor-collapsedText);
34+
color: var(--vscode-editor-foldPlaceholderForeground);
3535
margin: 0.1em 0.2em 0 0.2em;
3636
content: "\22EF"; /* ellipses unicode character */
3737
display: inline;

src/vs/editor/contrib/folding/browser/foldingDecorations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { themeColorFromId } from 'vs/platform/theme/common/themeService';
1515
import { ThemeIcon } from 'vs/base/common/themables';
1616

1717
const foldBackground = registerColor('editor.foldBackground', { light: transparent(editorSelectionBackground, 0.3), dark: transparent(editorSelectionBackground, 0.3), hcDark: null, hcLight: null }, localize('foldBackgroundBackground', "Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations."), true);
18-
registerColor('editor.collapsedText', { light: '#808080', dark: '#808080', hcDark: null, hcLight: null }, localize('collapsedTextColor', "Color of the collapsed text after the first line of a folded range."));
18+
registerColor('editor.foldPlaceholderForeground', { light: '#808080', dark: '#808080', hcDark: null, hcLight: null }, localize('collapsedTextColor', "Color of the collapsed text after the first line of a folded range."));
1919
registerColor('editorGutter.foldingControlForeground', iconForeground, localize('editorGutter.foldingControlForeground', 'Color of the folding control in the editor gutter.'));
2020

2121
export const foldingExpandedIcon = registerIcon('folding-expanded', Codicon.chevronDown, localize('foldingExpandedIcon', 'Icon for expanded ranges in the editor glyph margin.'));

0 commit comments

Comments
 (0)