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
2024-09-21 21:33:46 -03:00
committed by GitHub
parent ce2b420903
commit 9ff7724dd5
2 changed files with 6 additions and 1 deletions

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).

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'