matejlatin / Gutenberg

A meaningful web typography starter kit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch to node-sass

matejlatin opened this issue · comments

As mentioned in the following pull request, it would be better to use node-sass as it doesn't require ruby to run. But currently there's a problem with decimals being set to 15 and node-sass only uses 12. The real problem is: we shouldn't rely on number of decimals (originally it was the only fix that would make the grid and elements align almost perfectly in most configs).

I'm opening an issue because I'd like to keep this in mind and find a solution.

@matejlatin, just wanted to say that I'm currently working on this. After some investigation, the issue is not the precision itself - that works fine. You can set the precision to whatever you want and it will work. However, the problem is when the padding itself is calculated.

So that's where I'm at right now...

@tricinel perfect, thanks!