Skip to content
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

Color functions broken after upgrade to v2.2.0 (Ubuntu 14.04) #151

Open
khustochka opened this issue Sep 7, 2019 · 1 comment
Open

Color functions broken after upgrade to v2.2.0 (Ubuntu 14.04) #151

khustochka opened this issue Sep 7, 2019 · 1 comment

Comments

@khustochka
Copy link

khustochka commented Sep 7, 2019

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.

@amiuhle
Copy link

amiuhle commented Sep 26, 2019

Having a similar issue where lighten(#5E6469, 5%) is #766a6a instead of #6a7176. Same pattern, the segments are messed up.

Also running on a 32-bit system, I'm thinking this could be the problem.

amiuhle added a commit to amiuhle/sassc-ruby that referenced this issue Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants