Skip to content

Instantly share code, notes, and snippets.

@lunelson
Created March 4, 2014 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lunelson/9343192 to your computer and use it in GitHub Desktop.
Save lunelson/9343192 to your computer and use it in GitHub Desktop.
Test of alternate declaration for base values
// ----
// Sass (v3.3.0.rc.5)
// Compass (v1.0.0.alpha.18)
// ----
$base-data: (
'font-size': 16px,
'line-height': 1.5,
'margin-x': 1rem,
'margin-y': 1rem,
'viewport-margin-x': 1rem,
'viewport-margin-y': 1rem,
'column-count': 1
);
$base-data: map-merge($base-data, (
'html-scale': map-get($base-data, font-size) / 16px
));
.test {
out: map-get($base-data, html-scale);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment