You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During development of #172 additional testing of user-defined colors surfaced that when darker colors are selected, the default font #000000 is unreadable. This prevents color selection that would allow for a Dark Mode theme for example. The font color should be dynamically determined (either white or black) based upon the gamma and luminance levels for each particular selected background color (e.g. for a concrete class or an abstract class).
The threshold should be: luminance < 0.5 use #FFFFFF else use #000000
Finally, if time permits, this may be an opportunity to add a simple Dark Mode theme setting in CIMTool user preferences. Below is the sample we're aiming for:
The text was updated successfully, but these errors were encountered:
During development of #172 additional testing of user-defined colors surfaced that when darker colors are selected, the default font
#000000
is unreadable. This prevents color selection that would allow for a Dark Mode theme for example. The font color should be dynamically determined (either white or black) based upon the gamma and luminance levels for each particular selected background color (e.g. for a concrete class or an abstract class).The threshold should be: luminance < 0.5 use
#FFFFFF
else use#000000
Finally, if time permits, this may be an opportunity to add a simple Dark Mode theme setting in CIMTool user preferences. Below is the sample we're aiming for:
The text was updated successfully, but these errors were encountered: