blur-admin icon indicating copy to clipboard operation
blur-admin copied to clipboard

The operation `#e85656 minus 24` is deprecated and will be an error in future versions. Consider using Sass's color functions instead.

Open morgeq opened this issue 4 years ago • 1 comments

DEPRECATION WARNING on line 41 of C:/Users/admin/Desktop/blur-admin/src/sass/theme/_buttons.scss: The operation #e85656 minus 24 is deprecated and will be an error in future versions. Consider using Sass's color functions instead.

error:$color - $hover correct :$color - #{$hover}

morgeq avatar Sep 22 '20 05:09 morgeq

Using adjust-color($color, $red: -$hover, $green: -$hover, $blue: -$hover); instead of the subtraction seems to give me the same result without the deprecation warning.

antal-bukos avatar Jan 22 '21 21:01 antal-bukos