Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Dec 19, 2025

Right now, the page always starts in light mode, even if I have my system set to dark.

Instead, let's check prefers-color-scheme for the initial theme.

And if the user changes it, continue to save that preference in local storage.

Finally, refactor common theme support into heatmap_shared.js.

Copy link
Member

@pablogsal pablogsal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨ Thanks you @hugovk !

@pablogsal pablogsal merged commit 5b52636 into python:main Dec 20, 2025
52 checks passed
@hugovk hugovk deleted the 3.15-tachyon-browser-default-dark-light branch December 20, 2025 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants