Skip to content

Commit

Permalink
Fixed the dark mode background color (#3639)
Browse files Browse the repository at this point in the history
  • Loading branch information
bentoi authored Sep 6, 2023
1 parent 5e9275a commit 5723da4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docfx/template/public/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,11 @@ nav img {
.navbar #navbar form.icons {
margin-left: 10px;
}

/* Change the dark mode background color of the body and navbar to match our documentation. */
[data-bs-theme="dark"] {
--bs-body-bg: #000;
.navbar {
background-color: #000;
}
}

0 comments on commit 5723da4

Please sign in to comment.