Skip to content

Commit e790b93

Browse files
authored
Merge pull request #106312 from mjbvz/fix-release-notes-coloring
Revert more specific class names for editor tokens
2 parents f7c5fc7 + 9a94e29 commit e790b93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/vs/editor/common/modes/supports/tokenization.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -399,10 +399,10 @@ export function generateTokensCSSForColorMap(colorMap: Color[]): string {
399399
let rules: string[] = [];
400400
for (let i = 1, len = colorMap.length; i < len; i++) {
401401
let color = colorMap[i];
402-
rules[i] = `.monaco-editor .mtk${i} { color: ${color}; }`;
402+
rules[i] = `.mtk${i} { color: ${color}; }`;
403403
}
404-
rules.push('.monaco-editor .mtki { font-style: italic; }');
405-
rules.push('.monaco-editor .mtkb { font-weight: bold; }');
406-
rules.push('.monaco-editor .mtku { text-decoration: underline; text-underline-position: under; }');
404+
rules.push('.mtki { font-style: italic; }');
405+
rules.push('.mtkb { font-weight: bold; }');
406+
rules.push('.mtku { text-decoration: underline; text-underline-position: under; }');
407407
return rules.join('\n');
408408
}

0 commit comments

Comments
 (0)