You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.
The rem-calc() function does not sem to be working for me, can anyone confirm this?
eg.
SCSS Setting:
$h1-font-size: rem-calc(40);
CSS Output:
h1 { font-size: rem-calc(40)-0.625rem; }
The error doesn’t happen on the default settings,
only when I uncomment a setting to change the rem-calc() value
In case this might help,
I had been having major issues installing npm and had to use sudo on the main foundation installer, I have lost a huge amount of time installing foundation for apps via the Terminal on osx (thats a side note)
I also created a new app, manually installed npm to the app directory,
and the foundation-apps watch command is working now,
but the rem-calc() function is not working, does anyone know if this might be related to the install issues?
thanks, Kieran.
The text was updated successfully, but these errors were encountered:
Here is an example of the error I get when I try to change the breakpoints in the settings file:
[01:15:02] Starting 'sass'...
[01:15:04] gulp-ruby-sass: directory
{ [Error: error /Users/kieran/../AI-App-Beta-01/bower_components/foundation-apps/scss/helpers/_breakpoints.scss (Line 79: $number: "rem-calc(440)" is not a number for unit')] message: 'error /Users/kieran/../AI-App-Beta-01/bower_components/foundation-apps/scss/helpers/_breakpoints.scss (Line 79: $number: "rem-calc(440)" is not a number forunit')',
showStack: false,
showProperties: true,
plugin: 'gulp-ruby-sass',
__safety: { toString: [Function] } }
[01:15:04] Finished 'sass' after 2.13 s
Ah, the functions aren't yet imported when the settings file is being processed. We'll put in a fix, but you can work around it for now by importing the functions file before your settings file:
The rem-calc() function does not sem to be working for me, can anyone confirm this?
eg.
SCSS Setting:
$h1-font-size: rem-calc(40);
CSS Output:
h1 { font-size: rem-calc(40)-0.625rem; }
The error doesn’t happen on the default settings,
only when I uncomment a setting to change the rem-calc() value
In case this might help,
I had been having major issues installing npm and had to use sudo on the main foundation installer, I have lost a huge amount of time installing foundation for apps via the Terminal on osx (thats a side note)
I also created a new app, manually installed npm to the app directory,
and the foundation-apps watch command is working now,
but the rem-calc() function is not working, does anyone know if this might be related to the install issues?
thanks, Kieran.
The text was updated successfully, but these errors were encountered: