Skip to content

Commit

Permalink
Merge pull request #103485 from cipacda/master
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Aug 30, 2020
2 parents 70782eb + c89f8ff commit acf79d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/vs/editor/common/modes/supports/tokenization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,10 @@ export function generateTokensCSSForColorMap(colorMap: Color[]): string {
let rules: string[] = [];
for (let i = 1, len = colorMap.length; i < len; i++) {
let color = colorMap[i];
rules[i] = `.mtk${i} { color: ${color}; }`;
rules[i] = `.monaco-editor .mtk${i} { color: ${color}; }`;
}
rules.push('.mtki { font-style: italic; }');
rules.push('.mtkb { font-weight: bold; }');
rules.push('.mtku { text-decoration: underline; text-underline-position: under; }');
rules.push('.monaco-editor .mtki { font-style: italic; }');
rules.push('.monaco-editor .mtkb { font-weight: bold; }');
rules.push('.monaco-editor .mtku { text-decoration: underline; text-underline-position: under; }');
return rules.join('\n');
}

0 comments on commit acf79d9

Please sign in to comment.