8000 gh-121035: Further improve logging flow diagram with respect to dark/… by vsajip · Pull Request #121265 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-121035: Further improve logging flow diagram with respect to dark/… #121265

10000
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-121035: Further improve logging flow diagram with respect to dark/…
…light modes.
  • Loading branch information
vsajip committed Jul 2, 2024
commit d65bf7e3f541024f600199622f88b58cebf8c834
6 changes: 4 additions & 2 deletions Doc/howto/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -403,11 +403,13 @@ following diagram.
function updateBody(theme) {
let elem = document.body;

elem.classList.remove('dark-theme');
elem.classList.remove('light-theme');
if (theme === 'dark') {
elem.classList.add('dark-theme');
}
else {
elem.classList.remove('dark-theme');
else if (theme === 'light') {
elem.classList.add('light-theme');
}
}

Expand Down
10 changes: 10 additions & 0 deletions Doc/howto/logging_flow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
0