From 9263921a0dac1b9e222d39763cb24186bf472beb Mon Sep 17 00:00:00 2001 From: tison Date: Tue, 15 Nov 2022 11:40:42 +0800 Subject: [PATCH] Doxygen supports darkmode toggle Signed-off-by: tison --- Doxyfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Doxyfile b/Doxyfile index 145948c3..6c8c36b6 100644 --- a/Doxyfile +++ b/Doxyfile @@ -1204,6 +1204,23 @@ HTML_EXTRA_STYLESHEET = HTML_EXTRA_FILES = +# The HTML_COLORSTYLE tag can be used to specify if the generated HTML output +# should be rendered with a dark or light theme. Default setting AUTO_LIGHT +# enables light output unless the user preference is dark output. Other options +# are DARK to always use dark mode, LIGHT to always use light mode, AUTO_DARK to +# default to dark mode unless the user prefers light mode, and TOGGLE to let the +# user toggle between dark and light mode via a button. +# Possible values are: LIGHT Always generate light output., DARK Always generate +# dark output., AUTO_LIGHT Automatically set the mode according to the user +# preference, use light mode if no preference is set (the default)., AUTO_DARK +# Automatically set the mode according to the user preference, use dark mode if +# no preference is set. and TOGGLE Allow to user to switch between light and +# dark mode via a button.. +# The default value is: AUTO_LIGHT. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE = TOGGLE + # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen # will adjust the colors in the style sheet and background images according to # this color. Hue is specified as an angle on a colorwheel, see