Skip to content

Make variations visible in dark mode - #320

Merged
QueensGambit merged 1 commit into
ml-research:masterfrom
Invariance-NaN:dark-mode-variations
Nov 20, 2026
Merged

QueensGambit merged 1 commit into
ml-research:masterfrom
Invariance-NaN:dark-mode-variations

Conversation

@Invariance-NaN

Copy link
Copy Markdown
Contributor

Purpose

The CSS variable --variation-color (used for the background of variations) is equal to --main-text-color (used for the text of variations). As a consequence, the variation text is invisible except for the currently selected move:

image

This color change darkens the background to make the text visible:

image

Pre-merge TODOs and Checks

  • Navigating through the move history works

@QueensGambit

Copy link
Copy Markdown
Collaborator

Thank you for the contribution and fixing --variation-color.

@QueensGambit
QueensGambit merged commit 5a11698 into ml-research:master Nov 20, 2026
@Invariance-NaN
Invariance-NaN deleted the dark-mode-variations branch November 21, 2026 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants