kennethcachia / background-check

Automatically switch to a darker or a lighter version of an element depending on the brightness of images behind it.
http://kennethcachia.com/background-check/
MIT License
3.27k stars 282 forks source link

Support for backgorund color? #72

Open shamroze opened 8 years ago

shamroze commented 8 years ago

Hello,

I really appreciate the efforts that has been made for BackgroundCheck and it seems to work well with background images. However is there someway it can support background 'color' as well? that is, detect a background image/ 'or background color' and based on that add the class to targetted element as currently it only seems to set class as it intereacts with the background images.

any help regarding this would be one great act.. Thx!!

stackenblochen commented 8 years ago

I would be very interested in this feature too. checking the background-color would be a very handy addition to this great script!

bellamystudio commented 8 years ago

+1 on this feature, I didn't realise that it only worked with images and have been trying to test with css background colours! A combination of both would be (even more) amazing :)

yannickoo commented 8 years ago

There is still #5, we should mark this one as duplicate :)

klojniewski commented 7 years ago

+1

chinhphan099 commented 7 years ago

+1