Merge "Implement 'selector-append' sass function"

This commit is contained in:
Zuul 2020-04-15 14:27:01 +00:00 committed by Gerrit Code Review
commit 580f4d4133
2 changed files with 10 additions and 3 deletions

View File

@ -86,8 +86,6 @@ $icon-swap: (
@each $fa-icon, $mdi-icon in $icon-swap {
.fa-#{$fa-icon} {
&:before {
content: unquote("\"\\#{map-get($mdi-icons, $mdi-icon)}\"");
}
@extend .mdi-#{$mdi-icon};
}
}

View File

@ -1,3 +1,12 @@
// NOTE(e0ne): it's temporary workaround to until specified function will
// be supported by pyScss. We need to define this function before any MDI
// usage.
@if not function-exists("selector-append") {
@function selector-append($selector, $to-append) {
@return append-selector($selector, $to-append);
}
}
@import "animations";
@import "icons";
@import "components/checkboxes";