summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/resources/scss/remove-directive.scss
diff options
context:
space:
mode:
Diffstat (limited to 'theme-compiler/tests/resources/scss/remove-directive.scss')
-rw-r--r--theme-compiler/tests/resources/scss/remove-directive.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/scss/remove-directive.scss b/theme-compiler/tests/resources/scss/remove-directive.scss
new file mode 100644
index 0000000000..cbfca9dcda
--- /dev/null
+++ b/theme-compiler/tests/resources/scss/remove-directive.scss
@@ -0,0 +1,16 @@
+$animals : platypus, rhinoceros, llama, duck, duck;
+$remove : duck;
+
+@each $animal in $animals {
+ .animals .#{$animal}-icon {
+ background-image: url('/images/#{$animal}.png');
+ }
+}
+
+remove($animals, $remove, space);
+
+@each $animal in $animals{
+ .exotic-animals .#{$animal}-icon {
+ background-image: url('/images/#{$animal}.png');
+ }
+}