Skip to content

CSS filter support in LESS #2092

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
alibby251 opened this issue Jul 4, 2014 · 1 comment
Closed

CSS filter support in LESS #2092

alibby251 opened this issue Jul 4, 2014 · 1 comment

Comments

@alibby251
Copy link

Hi,
I've been playing around with the CSS filters that are supported in LESS, and happened to notice that not all appear to be included. Whilst I know that they could be added using normal CSS, do you have any plans to extend support to those filters you don't already include, such as hue-rotate or sepia?

Also, I noticed that neither blur nor brightness are listed as such - is this because LESS refers to them using different names, or are my eyes deceiving me? ;-) I'm using LESS 1.7.0 at the moment - I think 1.7.3 is out, and am happy to upgrade if any of the above is supported in that version.

@seven-phases-max
Copy link
Member

Well, Less operates on colors not images so things like blur are simply impossible. Things like hue-rotate or sepia probably just having different names in context of color processing (i.e. spin and saturate + set hue). For the brightness (assuming HSV brightness) see #1853.

And finally any color filter can be implemented using available functions and/or arithmetic ops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants