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

Compilation error - undefined operation in rootsize mixin #50

Open
ngo6012 opened this issue Aug 4, 2016 · 1 comment
Open

Compilation error - undefined operation in rootsize mixin #50

ngo6012 opened this issue Aug 4, 2016 · 1 comment

Comments

@ngo6012
Copy link

ngo6012 commented Aug 4, 2016

Hello! I'm setting up Sassline in my project and am getting an error when I compile.

My error is:

File "assets\scss\vendor\sassline-master\sassline-base_variables.scss" changed.
Running "sass:dist" (sass) task
Error: Undefined operation: ""(min-width: 90.0625em) and (max-width: 120em)"/16 times 1em".
on line 52 of assets/scss/vendor/sassline-master/sassline-base/_mixins.scss, in `rootsize'

My variables are set as follows:

$breakpoints: (
xsm: 320,
sm: 480,
smd: 640,
md: 785,
mdlg: 900,
lg: 965,
lgr: 1080,
xlg: 1200,
wd: 1280
) !default;

$rootsizes: (
rootsize-0: 12, // 24px line-height body text
rootsize-1: 14, // 28px line-height body text
rootsize-2: 15, // 30px line-height body text
rootsize-3: 17, // 34px line-height body text
rootsize-4: 19 // 38px line-height body text
) !default;

Many thanks in advance for any guidance!

@larsmarkus
Copy link

Hi, i believe you need a rootsize for every breakpoint. So, you need up to rootsize-8 to match your number of breakpoints.

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