FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-142927: Tachyon: Start with user's default light/dark theme by hugovk · Pull Request #142987 · python/cpython · GitHub

/ cpython Public

gh-142927: Tachyon: Start with user's default light/dark theme - #142987

Merged
pablogsal merged 2 commits into
python:mainfrom
hugovk:3.15-tachyon-browser-default-dark-light
Dec 20, 2025
Merged

gh-142927: Tachyon: Start with user's default light/dark theme#142987
pablogsal merged 2 commits into
python:mainfrom
hugovk:3.15-tachyon-browser-default-dark-light

Conversation

hugovk commented Dec 19, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

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.

pablogsal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

✨ Thanks you @hugovk !

pablogsal merged commit 5b52636 into python:main Dec 20, 2025
52 checks passed
hugovk deleted the 3.15-tachyon-browser-default-dark-light branch December 20, 2025 05:08
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL