Ionic mixins scss filter

Hi,

I’ve got errors when I tried to use FILTER (invert, for example) on ionic scss.
Could somebody help me?

error: argument $color of invert($color) must be a color

Thanks
Vitor

Can you please paste the scss that uses the mixin

I didn’t used mixins.
Just:

.inverted {
  filter: invert(100%);
}

Hmm, seems to be an issue with libsass functions and css functions

A solution would be to write your inverse like this.

.inverted {
-webkit-filter: #{"invert(100%)"}
}

Looks odd, but it does work.

It works!
Thanks!
Vitor