Skip to content

feat: colorblind mode updates config theme#18

Merged
marksie1988 merged 3 commits intomainfrom
update-pr-12
Mar 9, 2026
Merged

feat: colorblind mode updates config theme#18
marksie1988 merged 3 commits intomainfrom
update-pr-12

Conversation

@marksie1988
Copy link
Copy Markdown
Contributor

@marksie1988 marksie1988 commented Mar 9, 2026

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

The --colorblind flag was only available on the scan command and did not persist the setting. Users had to provide the flag every time they ran a scan, and it was not available for other commands or the TUI launch.

Issue Number: N/A

What is the new behavior?

The --colorblind flag has been moved to the global CLI options, making it available for all commands. When used, it now permanently updates the theme setting in config.yaml to colorblind, ensuring the accessibility preference is remembered across all future sessions.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Simon Morley and others added 3 commits March 6, 2026 13:44
Adds a colorblind.yaml skin using the Okabe-Ito (2008) palette —
the scientific standard for colorblind accessibility, safe for
deuteranopia, protanopia, and tritanopia.

Sky blue replaces cyan, orange replaces yellow warnings, vermillion
replaces red for danger, and all icons fall back to ASCII text forms
([OK], [X], [!]) so meaning is never conveyed by color alone.

--colorblind hot-swaps the theme before the scan runs so all
output including results, risk grades, and CVE badges renders in
the safe palette.
this avoids a user having to run --colorblind every time they use the tool
@marksie1988 marksie1988 merged commit 23afc5b into main Mar 9, 2026
10 checks passed
@marksie1988 marksie1988 deleted the update-pr-12 branch March 9, 2026 16:45
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant