Created
November 10, 2018 19:26
-
-
Save curtisj44/daea9b4b9a85960194af017bff37862d to your computer and use it in GitHub Desktop.
Maps in Sass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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