Open khustochka opened 4 years ago
So I am on Ubuntu 14.04 32-bit. After upgrade to sassc 2.2.0 I noticed weird colors on my website.
Running the following code: SassC::Engine.new("a {color: darken(#33aa66, 10%);}\n", style: :compressed).render
SassC::Engine.new("a {color: darken(#33aa66, 10%);}\n", style: :compressed).render
Expected result (as generated by sassc 2.2.0 on MacOS and by sassc 2.1.0 on Ubuntu): "a{color:#27834e}\n"
"a{color:#27834e}\n"
Actual result (generated by sassc 2.2.0 on Ubuntu): "a{color:#832727}\n"
"a{color:#832727}\n"
As you may notice color segments are messed up, instead of RGB it returns GRR.
I see you removed precompiled gems for Linux (#145) so I am suspecting it is not correctly compiled on my system.
As I said it is Ubuntu 14.04.6 LTS (trusty) 32-bit. Please tell if you need any other information (libraries versions?) I can provide.
Thank you.
Having a similar issue where lighten(#5E6469, 5%) is #766a6a instead of #6a7176. Same pattern, the segments are messed up.
lighten(#5E6469, 5%)
#766a6a
#6a7176
Also running on a 32-bit system, I'm thinking this could be the problem.
So I am on Ubuntu 14.04 32-bit. After upgrade to sassc 2.2.0 I noticed weird colors on my website.
Running the following code:
SassC::Engine.new("a {color: darken(#33aa66, 10%);}\n", style: :compressed).render
Expected result (as generated by sassc 2.2.0 on MacOS and by sassc 2.1.0 on Ubuntu):
"a{color:#27834e}\n"
Actual result (generated by sassc 2.2.0 on Ubuntu):
"a{color:#832727}\n"
As you may notice color segments are messed up, instead of RGB it returns GRR.
I see you removed precompiled gems for Linux (#145) so I am suspecting it is not correctly compiled on my system.
As I said it is Ubuntu 14.04.6 LTS (trusty) 32-bit. Please tell if you need any other information (libraries versions?) I can provide.
Thank you.