set_color_primary should also set an appropriate textColorPrimary

Bug #1587179 reported by Zisu Andrei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Granite
Confirmed
Undecided
Unassigned

Bug Description

 Granite.Widgets.Util.set_color_primary should also use a contrast checker to set the correct value for textColorPrimary in the light/dark variants.

Zisu Andrei (matzipan)
Changed in granite:
status: New → Confirmed
Revision history for this message
Adam Bieńkowski (donadigo) wrote :

I think we also should use Granite.Services.Color and use it's methods for convenience.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.