Skip to content

Commit

Permalink
fix: convert script
Browse files Browse the repository at this point in the history
  • Loading branch information
fisenkodv committed Aug 11, 2023
1 parent cbd9101 commit dc86fd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-intellij-darcula-theme",
"displayName": "IntelliJ IDEA Darcula Theme",
"description": "Visual Studio Code theme based on IntelliJ IDEA Darcula theme",
"version": "1.0.6",
"version": "1.0.7",
"publisher": "fisenkodv",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function mapToTheme(scheme: Scheme) {
const token = {
scope: mapping.scope,
settings: {
foreground: `#${mapping.color}` ?? `#${foregroundValue.protanopia ?? foregroundValue.value}`,
foreground: mapping.color ? `#${mapping.color}` : `#${foregroundValue.protanopia ?? foregroundValue.value}`,
fontStyle: fontTypeValue?.protanopia ?? fontTypeValue?.deuteranopia ?? ''
}
};
Expand Down

0 comments on commit dc86fd6

Please sign in to comment.