marp-team / marp-cli

A CLI interface for Marp and Marpit based converters
MIT License
1.85k stars 105 forks source link

Accessibility: Render CLI's kind output in a specific color instead of ANSI color #554

Closed yhatt closed 11 months ago

yhatt commented 11 months ago

When used ANSI color to both of the text color and background, the content may be inaccessible color depending on the terminal theme choosed by the user. If the terminal was supported 256 colors and more, Marp CLI tries to use a specific color instead of ANSI colors. If not, fallback to simple color inverse ESC[48m.

Fix #552.