Skip to content

Commit

Permalink
fix(pkg): Add support for PKG background images in dark mode (#4489)
Browse files Browse the repository at this point in the history
  • Loading branch information
merwaaan authored and develar committed Jan 16, 2020
1 parent bc68444 commit a23e3d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/app-builder-lib/src/targets/pkg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export class PkgTarget extends Target {
// noinspection SpellCheckingInspection
const scaling = options.background.scaling || "tofit"
distInfo = distInfo.substring(0, insertIndex) + ` <background file="${background}" alignment="${alignment}" scaling="${scaling}"/>\n` + distInfo.substring(insertIndex)
distInfo = distInfo.substring(0, insertIndex) + ` <background-darkAqua file="${background}" alignment="${alignment}" scaling="${scaling}"/>\n` + distInfo.substring(insertIndex)
}
}

Expand Down

0 comments on commit a23e3d2

Please sign in to comment.