Low contrast for enum names when semantic tokens are enabled (Rust)
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 66
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Since Zed added official semantic tokens support for syntax highlighting, when enabled, rose-pine's color selection for enum names in Rust isn't good as it's very low contrast, and inconsistent with struct names.
Zed (latest with "semantic_tokens": "combined"):
VS Code:
I don't like how the enum name (ColorTest) is this dark. It's harder to scan the code, as it just blends in with regular keywords. struct names look good, so this is almost certainly unintended.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the theme rules that control Rust enum and struct names when Zed semantic tokens are enabled. Compare the enum-name color with struct names and the provided VS Code reference; done means enum names have readable contrast and are visually consistent with struct names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- design
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100