Skip to content

Commit

Permalink
rename editor.collapsedText to foldPlaceholderForeground (#219340)
Browse files Browse the repository at this point in the history
rename vscode-editor-collapsedText
  • Loading branch information
aeschli authored Jul 1, 2024
1 parent aea213b commit 2e12c97
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/lib/stylelint/vscode-known-variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
"--vscode-dropdown-foreground",
"--vscode-dropdown-listBackground",
"--vscode-editor-background",
"--vscode-editor-collapsedText",
"--vscode-editor-findMatchBackground",
"--vscode-editor-findMatchBorder",
"--vscode-editor-findMatchForeground",
Expand All @@ -139,6 +138,7 @@
"--vscode-editor-findRangeHighlightBorder",
"--vscode-editor-focusedStackFrameHighlightBackground",
"--vscode-editor-foldBackground",
"--vscode-editor-foldPlaceholderForeground",
"--vscode-editor-foreground",
"--vscode-editor-hoverHighlightBackground",
"--vscode-editor-inactiveSelectionBackground",
Expand Down
2 changes: 1 addition & 1 deletion src/vs/editor/contrib/folding/browser/folding.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}

.monaco-editor .inline-folded:after {
color: var(--vscode-editor-collapsedText);
color: var(--vscode-editor-foldPlaceholderForeground);
margin: 0.1em 0.2em 0 0.2em;
content: "\22EF"; /* ellipses unicode character */
display: inline;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { themeColorFromId } from 'vs/platform/theme/common/themeService';
import { ThemeIcon } from 'vs/base/common/themables';

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);
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."));
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."));
registerColor('editorGutter.foldingControlForeground', iconForeground, localize('editorGutter.foldingControlForeground', 'Color of the folding control in the editor gutter.'));

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

0 comments on commit 2e12c97

Please sign in to comment.