Skip to content

Commit 660a201

Browse files
committed
Fix doxygen-awesome dark mode
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
1 parent 7e8ab21 commit 660a201

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

doxysphinx/resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def scope(
252252

253253
# the sass compiler does also scope the html element (where typically css variables are
254254
# stored). We need to remove that scoping again because it will only work if it's in global scope.
255-
compiled_css = compiled_css.replace(f"{self._selector} html {{", "html {")
255+
compiled_css = compiled_css.replace(f"{self._selector} html", "html")
256256

257257
# write stylesheet
258258
target.write_text(compiled_css, encoding="UTF-8")

doxysphinx/resources/custom.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ html {
122122
display: block !important;
123123
margin: 0 !important;
124124
font-size: 100% !important;
125-
background: none !important;
126-
color: black !important;
127125
border: none !important;
128126
padding: 0 !important;
129127
position: initial !important;

0 commit comments

Comments
 (0)