Skip to content

Accessible colors #489

@vancura

Description

@vancura

The colors defined in terminal-colors.ts (line range) don't meet accessibility standards. The current ANSI colors fail WCAG contrast requirements on both light and dark backgrounds, making terminal output difficult to read for many users.

I've created an interactive analysis showing the current colors alongside AAA-compliant alternatives: https://codepen.io/vancura/full/emZEXQK.

The recommended palette uses theme-aware colors - base colors optimized for light backgrounds and bright variants for dark backgrounds. I made sure that the 7:1 contrast ratios are used across both themes, and that there's a nice visual difference between log levels.

Thoughts?

/cc @MariaLeonova @feloy

Note: Claude Code assisted the analysis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions