Skip to content

Commit

Permalink
Improve background color of code examples of manual
Browse files Browse the repository at this point in the history
  • Loading branch information
afh committed Oct 2, 2024
1 parent 7201075 commit db440e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions custom_theme/sass/darkmode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
}
}

pre.example-preformatted {
/* Override hard-coded background color from gnu manual.css with dark/light mode variant */
background-color:var(--highlight-code-background-color) !important;
}

body.light-theme, body.dark-theme {
color:var(--toggled-color);
background:var(--toggled-background-color);
Expand Down

0 comments on commit db440e4

Please sign in to comment.