You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✗ node_modules\ionic-framework\util\functions.scss
Error: argument `$color` of `red($color)` must be a color
Backtrace:
node_modules/ionic-framework/util/functions.scss:6, in function `red`
node_modules/ionic-framework/util/functions.scss:6, in function `brightness`
app/app.scss:49
on line 6 of node_modules/ionic-framework/util/functions.scss
>> @return (red($color-value) * 0.299 + green($color-value) * 0.587 + blue($col
-----------^
As soon as I remove the filter: brightness(0.5); part, it starts working. If I select any other filter (opacity, blur,..) it works.
The text was updated successfully, but these errors were encountered:
Ok, it's because of a brightness sass function that I recently added, so Sass is using it instead of just the css value. I'll rename the sass function to fix this, thanks.
Type: bug
Ionic Version: 2.x
Platform: all
I have this scss for one div in my file:
This error gets printed in CLI:
As soon as I remove the
filter: brightness(0.5);
part, it starts working. If I select any other filter (opacity, blur,..) it works.The text was updated successfully, but these errors were encountered: