Menu icon Foundation
$global-margin undefined only for buttons

Running into an odd issue. When I uncomment the $button-margin I get an error when compiling SASS...

Error: Undefined variable: "$global-margin".

This only seems to be happening on the $button-margin variable. I'm not even changing any of the values on that button margin variable, just simply uncommenting it. I'd like to be able to change the value from...

$button-margin: 0 $global-margin $global-margin 0;

to..

$button-margin: 0 0 $global-margin 0;

buttonSass

Running into an odd issue. When I uncomment the $button-margin I get an error when compiling SASS...

Error: Undefined variable: "$global-margin".

This only seems to be happening on the $button-margin variable. I'm not even changing any of the values on that button margin variable, just simply uncommenting it. I'd like to be able to change the value from...

$button-margin: 0 $global-margin $global-margin 0;

to..

$button-margin: 0 0 $global-margin 0;

Brandon Arnold over 3 years ago

do you also have the $global-margin variable uncommented?