Replies: 2 comments
-
You found correctly that colors are configured in There is no background option because it is always transparent and you can style things from the outside containers/controls around it. I rather prefer not to have a I was thinking of rather having an "auto" mode on the colors for the web version where we try to detect certain colors. e.g. use the font foreground color to initialize the colors of glyphs and then apply some adjustments (e.g. brightness to derive the other colors). |
Beta Was this translation helpful? Give feedback.
-
That is a nice idea! Do you mean that we check the CSS My thought with the option to manually apply a default darkmode palette is to aid developers that want to use/try a dark mode without writing lots of boilerplate code for managing the color switching for AT settings. Giving them this one setting and letting them set their favorite shade of black/gray as background probably satisfies many. This would of course not hinder anyone from using a fully custom color theme + switching. But if the automatic feature isn't too far away, this might not be needed. Either way, we need a default dark mode palette to start off with. |
Beta Was this translation helpful? Give feedback.
-
A setting to render with a grey/black background and white scores.
Perhaps make colors of different visual elements fully customizable? If so, the dark mode would be a preset.
EDIT: I've now found the
display.resources
settings :D. They were pretty hard to find though, due to being hidden in their own docs page.Since there is no option for changing the background color (I guess this is done in CSS etc), then having a setting that fixes the entire dark mode preset might not be possible? It could still set the colors of all glyphs/text to white etc and then let the user apply their gray/black background of choice though?
My rough idea is: Doing
settings.display.darkMode = true;
changes the default values (all colors that are not yet modified?) to a second set of default dark mode values. Any custom colors can still be applied.Beta Was this translation helpful? Give feedback.
All reactions