Skip to content
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
[3.12] gh-121035: Further improve logging flow diagram with respect t…
…o dark/light modes. (GH-121265)

(cherry picked from commit 0898354)

Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
  • Loading branch information
vsajip committed Jul 3, 2024
commit 6c74b2036ddb8d00f3bbd32b6c6a3036118961dd
6 changes: 4 additions & 2 deletions Doc/howto/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,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.