Created
September 15, 2021 06:08
-
-
Save mdo/b4c8d7e8078672ce36a59ebb9904fe36 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains 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
@function map-diff($map1, $map2) { | |
$map1-keys: map.keys($map1); | |
@each $key in $map1-keys { | |
$map2: map.remove($map2, $key); | |
} | |
@return $map2; | |
} | |
$theme-colors: ( | |
"primary": "", | |
"secondary": "", | |
"success": "", | |
"info": "", | |
"warning": "", | |
"danger": "", | |
"light": "", | |
"dark": "" | |
); | |
$expected-theme-colors: ( | |
"primary": "", | |
"secondary": "", | |
"success": "", | |
"info": "", | |
"warning": "", | |
"danger": "", | |
"light": "", | |
"dark": "", | |
"custom": "" | |
); | |
@debug map-diff($theme-colors, $expected-theme-colors); |
This file contains 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
@map-diff ($theme-colors, $expected-theme-colors); |
This file contains 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
{ | |
"sass": { | |
"compiler": "dart-sass/1.32.12", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment