Skip to content

Commit

Permalink
feat(token-colors): improve JavaScript highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
latipun7 committed Aug 4, 2021
1 parent c613c72 commit fa6dfec
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions src/themes/syntax-highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -741,13 +741,6 @@ const syntaxHighlight = [
foreground: text.green,
},
},
{
name: 'Inherited Class',
scope: 'entity.other.inherited-class',
settings: {
foreground: text.chalky,
},
},
{
name: 'Constant other symbol',
scope: 'constant.other.symbol',
Expand Down Expand Up @@ -1785,6 +1778,27 @@ const syntaxHighlight = [
foreground: text.lightWhite,
},
},
{
name: 'variable.other.object',
scope: ['variable.other.object'],
settings: {
foreground: text.chalky,
},
},
{
name: 'variable.other.constant.property',
scope: ['variable.other.constant.property'],
settings: {
foreground: text.coral,
},
},
{
name: 'entity.other.inherited-class',
scope: ['entity.other.inherited-class'],
settings: {
foreground: text.chalky,
},
},
];

module.exports = syntaxHighlight;

0 comments on commit fa6dfec

Please sign in to comment.