Repository navigation
Add a Graphite High Contrast theme - #32
Merged
Merged
Conversation
A darker Graphite whose added and removed lines are clearly lighter than the rest of the file, so a change reads at a glance. The code colors are lifted to keep at least 4.5:1 contrast on the base, added and removed backgrounds, which a new test checks. Bump version to 0.12.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xshwvphn2wQmVKLLS2G9kJ
bwets
marked this pull request as draft
November 20, 2026 13:59
bwets
marked this pull request as ready for review
November 20, 2026 14:06
This was referenced Nov 20, 2026
…theme # Conflicts: # pyproject.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A new Graphite High Contrast theme, listed right after Graphite. The page stays dark, but added and removed lines are clearly lighter than the unchanged ones, so the changes jump out when scrolling a long file.
The page background is darker (
#0b0c0f), the diff backgrounds lighter and more saturated, and the code colors are brightened versions of Graphite's so they stay readable on top of them. Comments are lifted the most, since they were the dimmest color.Tests
TestGraphiteHighContrastintest_themes.pychecks that:fgand every syntax color reach at least 4.5:1 (WCAG AA) on the page, added and removed backgrounds;pytest(319 passed),ruff checkandruff format --checkare clean. Checked by hand in the web UI on a C# diff in split view.README and AGENTS.md now count 17 themes. Version bumped to 0.12.0, independent of #30 and #31.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xshwvphn2wQmVKLLS2G9kJ