Skip to content

Commit

Permalink
Custom Theme Colours
Browse files Browse the repository at this point in the history
  • Loading branch information
kitswas committed Jul 10, 2023
1 parent 26cc5fa commit deb0f66
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,8 @@ HTML_STYLESHEET =

HTML_EXTRA_STYLESHEET = doxygen-awesome-css/doxygen-awesome.css \
doxygen-awesome-css/doxygen-awesome-sidebar-only.css \
doxygen-awesome-css/doxygen-awesome-sidebar-only-darkmode-toggle.css
doxygen-awesome-css/doxygen-awesome-sidebar-only-darkmode-toggle.css \
doxygen/doxygen-awesome-custom.css

# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
# other source files which should be copied to the HTML output directory. Note
Expand Down
31 changes: 31 additions & 0 deletions doxygen/doxygen-awesome-custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
html {
/* override light-mode variables here */
/* primary theme color. This will affect the entire websites color scheme: links, arrows, labels, ... */
--primary-color: #c41717;
--primary-dark-color: #803333;
--primary-light-color: #e97070;

/* page base colors */
--page-background-color: #ffffff;
--page-foreground-color: #532f2f;
--page-secondary-foreground-color: #8e6f6f;

/* color for all separators on the website: hr, borders, ... */
--separator-color: #dedede;
}

html.dark-mode {
/* define dark-mode variable overrides here if you DO use doxygen-awesome-darkmode-toggle.js */

color-scheme: dark;

--primary-color: #d21919;
--primary-dark-color: #c48686;
--primary-light-color: #ac4747;

--page-background-color: #1f1c1c;
--page-foreground-color: #ded2d2;
--page-secondary-foreground-color: #998585;

--separator-color: #3b3838;
}

0 comments on commit deb0f66

Please sign in to comment.