close: fix white text on light bg for render-peer-issues (#8526)

Similar issue to https://github.com/pnpm/pnpm/pull/7454
White text on light background for project name.
This commit is contained in:
Federico Panico authored and GitHub committed 2024-09-22 02:33:46 +02:00
1 parent ce2b420903
commit 9ff7724dd5
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@pnpm/render-peer-issues": patch
---
Fix white text on light background for project name [#8526](https://github.com/pnpm/pnpm/pull/8526).
+1 -1
View File
@@ -80,7 +80,7 @@ export function renderPeerIssues (
`Peer dependencies that should be installed:\n ${cliColumns(Object.entries(intersections).map(([name, version]) => formatNameAndRange(name, version)), cliColumnsOptions)}`
)
}
const title = chalk.white(projectKey)
const title = chalk.reset(projectKey)
let summariesConcatenated = summaries.join('\n')
if (summariesConcatenated) {
summariesConcatenated += '\n'