Skip to content

Commit

Permalink
fix: small build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dsifford committed Nov 24, 2020
1 parent dd38195 commit eb442db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Fix

- Fix another small issue impacting the build of the soft theme. #165

## 2.22.2

### Patch
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const transformSoft = theme => {
}
}
soft.tokenColors = soft.tokenColors.map((value) => {
if (brightColors.includes(value.settings?.foreground)) {
if (brightColors.includes(value.settings.foreground)) {
value.settings.foreground = tinycolor(value.settings.foreground).desaturate(20).toHexString();
}
return value;
Expand Down

0 comments on commit eb442db

Please sign in to comment.