Fixes Dark mode support(issue#829)

This commit is contained in:
Raghuram
2023-03-26 23:27:09 +05:30
parent 8b8025e63c
commit 8a480ca500
2 changed files with 11 additions and 6 deletions

View File

@@ -2693,5 +2693,5 @@ GENERATE_LEGEND = YES
DOT_CLEANUP = YES
# Disable dark mode in the generated HTML in Doxygen 1.9.6 or greater.
HTML_COLORSTYLE = LIGHT
# HTML_COLORSTYLE = LIGHT

View File

@@ -10,16 +10,21 @@ dl {
font-size: 12px;
}
/* Dark mode is not supported in Doxygen versions earlier than 1.9.6
/* Dark mode is not supported in Doxygen versions earlier than 1.9.6 */
@media (prefers-color-scheme: dark) {
body,
table,
div,
p,
dl {
dl,
div.body,
div.sphinxsidebar h3,
div.sphinxsidebar h4 ,
div.sphinxsidebar h3 a{
color: ivory;
background:black;
}
} */
}
a {
color: #91A501;
@@ -110,8 +115,8 @@ div.sphinxsidebar a {
}
#projecttext {
align: left;
font-color: white;
text-align: left;
color: white;
padding-left: 2em;
width: 250px;
}