Skip to content

Conversation

@hugovk
Copy link
Member

@hugovkhugovk 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

@pablogsalpablogsal 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 !

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@hugovk@pablogsal