Skip to content

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

Open
hugovk wants to merge 2 commits intopython:mainfrom
hugovk:3.15-tachyon-heatmap-detect-theme
Open

gh-142927: Detect system theme in flame graph like in heatmap#144885
hugovk wants to merge 2 commits intopython:mainfrom
hugovk:3.15-tachyon-heatmap-detect-theme

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Feb 16, 2026

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
Member

Thanks @hugovk ❤️

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