Skip to content

Conversation

@ayosec
Copy link
Contributor

@ayosec ayosec commented Sep 9, 2025

With chalk.white, the text is hard to read on terminals with light backgrounds. chalk.reset works as expected in both dark and light background.

Fixes #751


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

With `chalk.white`, the text is hard to read on terminals with light backgrounds.

Fixes aws#751
@aws-cdk-automation aws-cdk-automation requested a review from a team September 9, 2025 15:28
@mrgrain mrgrain changed the title fix: use chalk.reset instead of chalk.white fix(cli): use chalk.reset instead of chalk.white Sep 9, 2025
@mrgrain mrgrain changed the title fix(cli): use chalk.reset instead of chalk.white fix(cli): text not readable in light terminals Sep 9, 2025
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.03%. Comparing base (0e1dec4) to head (2347038).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #838      +/-   ##
==========================================
+ Coverage   83.22%   84.03%   +0.81%     
==========================================
  Files          65       65              
  Lines        9554     9554              
  Branches     1123     1151      +28     
==========================================
+ Hits         7951     8029      +78     
+ Misses       1581     1499      -82     
- Partials       22       26       +4     
Flag Coverage Δ
suite.unit 84.03% <100.00%> (+0.81%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mrgrain
Copy link
Contributor

mrgrain commented Sep 9, 2025

Looks good, thank you! @ayosec I'm taking care of the PR from here. No need to interact with it anymore, especially don't update the branch.

@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue Sep 9, 2025
Merged via the queue into aws:main with commit c48ec3e Sep 9, 2025
60 of 62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cli: unreadable text due to forced bright colors on light terminals

4 participants