Skip to content

Instantly share code, notes, and snippets.

@jpzwarte
Created February 24, 2015 14:35
Show Gist options
  • Save jpzwarte/52e2912b59eee4531d9a to your computer and use it in GitHub Desktop.
Save jpzwarte/52e2912b59eee4531d9a to your computer and use it in GitHub Desktop.
$bleh: (
color: red
);
$blah: (
color: $blue-dark,
font: 700 20px $font-header,
line-height: 10px
);
$blah: () !default;
@mixin styles($styles, $defaults) {
@each $name, $value in map-merge($defaults, $styles) {
#{$name}: $value;
}
}
dialog.mb-rename-group h1 {
@include styles($blah, $bleh);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment