Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

stefanome
en respuesta a: JTBWorld

I disagree, the background has nothing to do with the question.

The image attached to the original post shows two bitmaps with different colors. In one the arrow is black in the other is gray.

Those are two different bitmaps, they are not the same bitmap that looks good in both light and dark theme.

 

The correct answer is to create two sets of bitmaps (I'm pretty sure about this), then (I'm less sure about this) to use COLORTHEME to decide whether to load the light or the dark one. Using COLORTHEME would work when the icons are loaded, but wouldn't help if the user changes theme during the session. I don't know if there is an event triggered when the value of COLORTHEME changes.