Skip to content

Commit ac3033d

Browse files
authored
Doxygen supports darkmode toggle (#119)
1 parent 1721e00 commit ac3033d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Doxyfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,6 +1204,23 @@ HTML_EXTRA_STYLESHEET =
12041204

12051205
HTML_EXTRA_FILES =
12061206

1207+
# The HTML_COLORSTYLE tag can be used to specify if the generated HTML output
1208+
# should be rendered with a dark or light theme. Default setting AUTO_LIGHT
1209+
# enables light output unless the user preference is dark output. Other options
1210+
# are DARK to always use dark mode, LIGHT to always use light mode, AUTO_DARK to
1211+
# default to dark mode unless the user prefers light mode, and TOGGLE to let the
1212+
# user toggle between dark and light mode via a button.
1213+
# Possible values are: LIGHT Always generate light output., DARK Always generate
1214+
# dark output., AUTO_LIGHT Automatically set the mode according to the user
1215+
# preference, use light mode if no preference is set (the default)., AUTO_DARK
1216+
# Automatically set the mode according to the user preference, use dark mode if
1217+
# no preference is set. and TOGGLE Allow to user to switch between light and
1218+
# dark mode via a button..
1219+
# The default value is: AUTO_LIGHT.
1220+
# This tag requires that the tag GENERATE_HTML is set to YES.
1221+
1222+
HTML_COLORSTYLE = TOGGLE
1223+
12071224
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
12081225
# will adjust the colors in the style sheet and background images according to
12091226
# this color. Hue is specified as an angle on a colorwheel, see

0 commit comments

Comments
 (0)