godaddy-wordpress / primer

Primer is a powerful theme that brings clarity to your content in a fresh design. This is the parent for all themes in the GoDaddy Primer theme family.
https://wordpress.org/themes/primer/
GNU General Public License v2.0
134 stars 36 forks source link

Set hero overlay color automatically based on image #107

Closed frankiejarrett closed 1 year ago

frankiejarrett commented 8 years ago

We could use the Grade.js library to detect the dominant color in the user's selected header image, and use that as the overlay color.

This would allow us to move this control to the Header Image panel:

screen shot 2016-09-10 at 9 15 14 am

I'm not sure how this will play out with Color Schemes. Like if you had selected the Plum scheme, and selected an image with a lot of bright red or something. We would have to test this a lot to gauge whether color clash would be a common occurrence.

aledesma-godaddy commented 1 year ago

Closing issues and PRs in preparation for repository archival