Skip to content

Blend modes #785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed

Blend modes #785

wants to merge 7 commits into from

Conversation

timhettler
Copy link

I've implemented a "blend" function that reproduces the 3 most commonly-used blend-modes (multiply, screen, overlay). Especially helpful when translating designs with a gradient overlay from Photoshop to CSS. My demo page illustrates this use case:

http://timhettler.github.com/less.js/

Please contact me if you have any questions, or suggestions on how to make this function better. Thanks!

@matthew-dean
Copy link
Member

Cool concept!

@mindfullsilence
Copy link

That is frickin awesome mayne! MERGE THIS BINNESS @cloudhead!!!

@timhettler
Copy link
Author

Thanks for the positive feedback. I wrote out detailed documentation in the README file of the branch:

https://github.com/timhettler/less.js/tree/blend-modes

...And you can look around in the source files of the demo to see how it's implemented. As I mention in the README file, more blend modes could easily be added if there's interest.

@aziz
Copy link

aziz commented May 4, 2012

This is awesome, can wait to get this merged in. We badly need blend modes and extend in LESS. please merge this @cloudhead

@saibayadon
Copy link

This is cool. I like it.

@y2kdev
Copy link

y2kdev commented May 18, 2012

This would be a great addition to LESS. Can't wait for this to be merged!

@ibelchev
Copy link

WOW!!! Looking forward to getting this in the next version! Thanks!!

@Synchro
Copy link
Member

Synchro commented Jun 12, 2012

Isn't this a duplicate of #596? There are quite a lot of cool things sitting in pull requests, twiddling their thumbs...

@lukeapage
Copy link
Member

Hi, I'm going to close this soon if someone doesn't object.

It appears to us like #596 offers everything here in a nicer format (and was submitted first)..

speak now or forever hold your peace!

@lukeapage lukeapage closed this Aug 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants