Skip to content

Instantly share code, notes, and snippets.

@curtisj44
Created November 10, 2018 19:26
Show Gist options
  • Save curtisj44/daea9b4b9a85960194af017bff37862d to your computer and use it in GitHub Desktop.
Save curtisj44/daea9b4b9a85960194af017bff37862d to your computer and use it in GitHub Desktop.
Maps in Sass
// Maps in Sass
// ------------
// How it should be using `.scss` syntax
$mdc-typography-styles-button: (
font-size: 16px,
text-transform: none,
);
// Hack using `.sass` syntax
$overrides: (font-size: 16px)
$overrides: map-merge($overrides, (text-transform: none))
$mdc-typography-styles-button: $overrides
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment