Skip to content

Terminal 在浅绿色背景下对比度严重不足:非黑色文本(尤其黄色)几乎不可读(VMark 0.5.17) #310

@GoodeSam

Description

@GoodeSam

Before Submitting

  • I searched existing issues and did not find a duplicate.
  • I can reproduce this issue on the latest release (or latest main build).
  • I included reproducible details (environment, steps, expected and actual behavior, and evidence), not only a code-level suggestion.

Bug Summary

Terminal 在浅绿色背景下对比度严重不足:非黑色文本(尤其黄色)几乎不可读(VMark 0.5.17)

Operating System

macOS

VMark Version

0.5.17

Install Method

Homebrew

Steps to Reproduce

打开 VMark 0.5.17

打开设置面板

将 VMark 背景色切换为 Light Green / 浅绿色

在 terminal 中执行命令或触发彩色输出(git 输出、日志、提示信息等)

观察彩色文本(特别是黄色/浅色)可读性

Expected Behavior

在浅色背景下,Terminal 文本颜色应自动调整为更深的高对比方案,确保可读性

至少保证常见文本与背景有足够对比度(例如遵循 WCAG 对比度阈值)

Actual Behavior

浅绿色背景下,Terminal 中非黑色字体(如黄色、浅灰、浅蓝等)与背景接近,导致“看得见但读不清”,整体可读性显著下降

Logs, Screenshots, or Repro

Image

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions