Skip to content

Commit

Permalink
Fixes #177580 (#177581)
Browse files Browse the repository at this point in the history
fixed the spelling in commentGlyphForground to commentGlyphForeground

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
  • Loading branch information
pouyakary and aeschli authored Mar 24, 2023
1 parent c83f54a commit e367f30
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 @@ -190,7 +190,7 @@
"--vscode-editorGroupHeader-tabsBorder",
"--vscode-editorGutter-addedBackground",
"--vscode-editorGutter-background",
"--vscode-editorGutter-commentGlyphForground",
"--vscode-editorGutter-commentGlyphForeground",
"--vscode-editorGutter-commentRangeForeground",
"--vscode-editorGutter-commentUnresolvedGlyphForeground",
"--vscode-editorGutter-deletedBackground",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { IEditorDecorationsCollection } from 'vs/editor/common/editorCommon';
import { CommentThreadState } from 'vs/editor/common/languages';

export const overviewRulerCommentingRangeForeground = registerColor('editorGutter.commentRangeForeground', { dark: opaque(listInactiveSelectionBackground, editorBackground), light: darken(opaque(listInactiveSelectionBackground, editorBackground), .05), hcDark: Color.white, hcLight: Color.black }, nls.localize('editorGutterCommentRangeForeground', 'Editor gutter decoration color for commenting ranges. This color should be opaque.'));
const editorGutterCommentGlyphForeground = registerColor('editorGutter.commentGlyphForground', { dark: editorForeground, light: editorForeground, hcDark: Color.black, hcLight: Color.white }, nls.localize('editorGutterCommentGlyphForeground', 'Editor gutter decoration color for commenting glyphs.'));
const editorGutterCommentGlyphForeground = registerColor('editorGutter.commentGlyphForeground', { dark: editorForeground, light: editorForeground, hcDark: Color.black, hcLight: Color.white }, nls.localize('editorGutterCommentGlyphForeground', 'Editor gutter decoration color for commenting glyphs.'));
registerColor('editorGutter.commentUnresolvedGlyphForeground', { dark: editorGutterCommentGlyphForeground, light: editorGutterCommentGlyphForeground, hcDark: editorGutterCommentGlyphForeground, hcLight: editorGutterCommentGlyphForeground }, nls.localize('editorGutterCommentUnresolvedGlyphForeground', 'Editor gutter decoration color for commenting glyphs for unresolved comment threads.'));

export class CommentGlyphWidget {
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/comments/browser/media/review.css
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ div.preview.inline .monaco-editor .comment-range-glyph {
width: 9px;
left: -6px;
z-index: 10;
color: var(--vscode-editorGutter-commentGlyphForground);
color: var(--vscode-editorGutter-commentGlyphForeground);
text-align: center;
display: flex;
flex-direction: row;
Expand Down

0 comments on commit e367f30

Please sign in to comment.