Adhocracy is a policy drafting and decision making software for distributed groups and open institutions.
GNU Affero General Public License v3.0
150
stars
37
forks
source link
automatically choose button color based on contrast #889
Closed
xi closed 10 years ago
While reading the compass changelog I found the
contrast-color
function which allows to select on of two colors based on contrast to a third color.In this pull request I used this function to determine the foreground color on buttons based on the background color.
Note that themes may need to be adapted if they overwrite button mixins (many of them do).