Skip to content

Instantly share code, notes, and snippets.

@mattdrose
Last active August 29, 2015 14:07
Show Gist options
  • Save mattdrose/61b823c034738b7b2bb7 to your computer and use it in GitHub Desktop.
Save mattdrose/61b823c034738b7b2bb7 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
// Shortcuts
@function get($map, $key) {
@return map-get($map, $key);
}
@function merge($map, $key) {
@return map-merge($map, $key);
}
$button-settings: () !default;
$button: merge((
color: #333,
background-color: #eee,
border-width: 1px,
border-color: #333,
border-radius: 4px,
vpadding: 0.5em,
hpadding: 1em
), $button-settings);
.button {
color: get($button, color);
}
.button {
color: #333;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment