
The theme is much better than the old one.
I noticed that the index page has some color issues:

The only way I could change to light was using the developer console by changing the css prefers-color-scheme to light instead of dark.Although I would personally prefer the dark theme, save for the index appearance.Trying the suggestions here:
the ESC key doesn't toggle light/dark, and there's no sun icon which one can click.
On Monday, September 4, 2023 at 3:12:20 PM UTC+3 Mo_Al_ wrote:
The gitlab index https://fltk.gitlab.io/fltk/index.html shows a light theme.
I previously tried with chrome and now with firefox, and the 1.9.8 version shows a dark theme as well by default. It seems because my machine (windows 11) uses dark mode, so the browsers also default to it.
It also seems there is no way to change to a light theme in the doxygen generated page.On Monday, September 4, 2023 at 3:01:38 PM UTC+3 Albrecht Schlosser wrote:
On 9/4/23 13:40 Mo_Al_ wrote:
The theme is much better than the old one.
Thanks for your comments.
I noticed that the index page has some color issues:
Hmm, you seem to use a "dark theme" or some other personal browser settings. I can't reproduce this here:
Even if I change Firefox to use a dark theme, the contents stay the same.
Maybe you need to refresh the entire browser window (use Shift+RefreshButton) or you have some other issues with your browser. You could also try to use Firefox with a new profile (run `firefox -P` or something like that) to see if this issue remains.
What happens if you use our GitLab mirror (which uses Doxygen 1.9.4)? Do you have the same issues?
If this all doesn't help, can you tell us which browser and version you are using, and which personal settings (themes, addons) that might be relevant?
I'm not sure if we could change anything if it's not your specific user setting because we're using the default Doxygen layout settings. Admittedly the chosen colors look a bit strange (even in my screenshot) and we could change the design anyway, but that's another topic.
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/a0cb384a-bf54-40f5-86bd-142fa16239e4n%40googlegroups.com.
We're using the default values of almost all Doxygen parameters, of course except those we need to set to find the source files, set the title, etc.. Therefore, we have 'HTML_COLORSTYLE = AUTO_LIGHT' in our "Doxyfile".
I set it to "DARK" and I can see the same colors and the contrast issue you're seeing.
An option would be to set explicitly it to "LIGHT" but then users with a system set to "dark mode" (like you) would see the normal "light" colorstyle in our docs. For now this looks like the way with the least resistance. However, there's an issue that needs investigation: the parameter 'HTML_COLORSTYLE' seems to be a recent addition, hence it doesn't exist in our Doxygen template. I'll check how we can use this in the future.
$ git diff
diff --git a/documentation/Doxyfile.in b/documentation/Doxyfile.in
index 57e49934d..dea1c6484 100644
--- a/documentation/Doxyfile.in
+++ b/documentation/Doxyfile.in
@@ -10,6 +10,16 @@
# TAG += value [value, ...]
# Values that contain spaces should be placed between quotes (" ")
+### begin 'HTML_COLORSTYLE' hack ###
+
+# Presumably added in Doxygen 1.9.x, default value: 'AUTO_LIGHT'.
+# We need to set it explicitly to "LIGHT", otherwise our title page
+# can become unreadable for users on a "dark mode" system setup.
+
+HTML_COLORSTYLE = LIGHT
+
+### end of 'HTML_COLORSTYLE' hack ###
+
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
```On 4 Sep 2023, at 18:59, Albrecht Schlosser <Albrech...@online.de> wrote:
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/393748ba-bcf2-c9e5-e88c-b8a2b573e4dc%40online.de.
Thank you. I got a bit busy. I’ll try the patch hopefully tomorrow.

On 4 Sep 2023, at 18:59, Albrecht Schlosser wrote:
OK, a quick check shows that we can set it in our "old" (1.5.5) version of Doxyfile.in and it survives the conversion to the current Doxygen version (1.9.8) which is done during the generation process. Here's a patch:

FWIW, just for info., with Chrome or Edge, with the "dark" theme selected at system level on Win10 and Win11 I see the "unfortunate" colour contrast effect Mo reports when I browse the docs online. There is no "sun" button, and the "esc key" trick does not work.
Locally built, the docs are "light", presumably because I only have doxygen-1.8.16 so it is not getting all the new colour settings?
I tried adding 'HTML_COLORSTYLE = TOGGLE' to my doxygen file, but that just threw a (non fatal) warning at build time and did nothing else (as expected).
