Skip to content

Commit

Permalink
Merge pull request #30 from primer/enable-semantic-highlighting
Browse files Browse the repository at this point in the history
Enable semantic highlighting
  • Loading branch information
simurai authored May 13, 2020
2 parents 71691fb + fce9fb4 commit 8f8fd90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ function getTheme({ style, name }) {
"welcomePage.buttonBackground": primer.gray[1],
"welcomePage.buttonHoverBackground": primer.gray[2],
},
semanticHighlighting: true,
tokenColors: [
{
scope: ["comment", "punctuation.definition.comment", "string.comment"],
Expand Down
1 change: 1 addition & 0 deletions themes/dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
"welcomePage.buttonBackground": "#2f363d",
"welcomePage.buttonHoverBackground": "#444d56"
},
"semanticHighlighting": true,
"tokenColors": [
{
"scope": [
Expand Down
1 change: 1 addition & 0 deletions themes/light.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
"welcomePage.buttonBackground": "#f6f8fa",
"welcomePage.buttonHoverBackground": "#e1e4e8"
},
"semanticHighlighting": true,
"tokenColors": [
{
"scope": [
Expand Down

0 comments on commit 8f8fd90

Please sign in to comment.