fix: update --interactive for light theme (#7454)

close #7439
This commit is contained in:
Andrey Sitnik authored and GitHub committed 2023-12-24 01:48:19 +01:00
1 parent 8fd4e349a2
commit 619e9ed6f4
2 files changed
+8 -2

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
---
"@pnpm/plugin-commands-installation": patch
"pnpm": patch
---
Better support for light themed terminals by the `pnpm update --interactive` command [#7439](https://github.com/pnpm/pnpm/issues/7439).
@@ -238,9 +238,9 @@ async function interactiveUpdate (
return this.styles.primary(this.selected.name)
},
styles: {
dark: chalk.white,
dark: chalk.reset,
em: chalk.bgBlack.whiteBright,
success: chalk.white,
success: chalk.reset,
},
type: 'multiselect',
validate (value: string[]) {