Merge "Implement 'selector-append' sass function"
This commit is contained in:
commit
580f4d4133
@ -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};
|
||||
}
|
||||
}
|
||||
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user