Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-142927: Detect system theme in flame graph like in heatmap#144885

Merged
hugovk merged 2 commits into
python:mainpython/cpython:mainfrom
hugovk:3.15-tachyon-heatmap-detect-themehugovk/cpython:3.15-tachyon-heatmap-detect-themeCopy head branch name to clipboard
Mar 10, 2026
Merged

gh-142927: Detect system theme in flame graph like in heatmap#144885
hugovk merged 2 commits into
python:mainpython/cpython:mainfrom
hugovk:3.15-tachyon-heatmap-detect-themehugovk/cpython:3.15-tachyon-heatmap-detect-themeCopy head branch name to clipboard

Conversation

@hugovk

@hugovk hugovk commented Feb 16, 2026

Copy link
Copy Markdown
Member

The heatmap initially detects the user's preferred theme (via prefers-color-scheme) but the flame graph does not.

This PR allows the flame graph to do the same, and refactors some shared JavaScript code into a new base.js file to avoid duplication.

@pablogsal

Copy link
Copy Markdown
Member

Thanks @hugovk ❤️

@hugovk hugovk merged commit 368a267 into python:main Mar 10, 2026
53 checks passed
@hugovk hugovk deleted the 3.15-tachyon-heatmap-detect-theme branch March 10, 2026 11:38
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.