Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Look and Chameleon Technology » change/detect dark/light theme
change/detect dark/light theme [message #61923] Mon, 16 February 2026 11:27 Go to next message
forlano is currently offline  forlano
Messages: 1219
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

on this subject I know very little, maybe nothing, and I was not able to find what I need.

I have a set of icons in the Iml file. The troubbles appeared when some users switched to dark mode and the icons looked weird or barely visible. Moreover they seems non to adapt to the screen resolution.
I think the fix should be a set of SVG icons for both light and dark theme (maybe a unique neutral set that adapt to both theme?).

How can the program knows it is in light/dark mode in order to chooce the right icons?
Should I set, instead, the light/dark mode inside the program and save the setting?

Thanks and best regards,
Luigi

[Updated on: Mon, 16 February 2026 11:28]

Report message to a moderator

Re: change/detect dark/light theme [message #61924 is a reply to message #61923] Tue, 17 February 2026 09:20 Go to previous message
forlano is currently offline  forlano
Messages: 1219
Registered: March 2006
Location: Italy
Senior Contributor
Most of the answers seems to be here (I have overlooked it)

https://www.ultimatepp.org/srcdoc$Draw$UhdAndDarkTheme_en-us.html
Previous Topic: GTK theming seems to be broken on nightly builds.
Goto Forum:
  


Current Time: Thu Feb 19 20:17:59 CET 2026

Total time taken to generate the page: 0.06892 seconds