summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/resources/scss/control-directives.scss
diff options
context:
space:
mode:
Diffstat (limited to 'theme-compiler/tests/resources/scss/control-directives.scss')
-rw-r--r--theme-compiler/tests/resources/scss/control-directives.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/scss/control-directives.scss b/theme-compiler/tests/resources/scss/control-directives.scss
new file mode 100644
index 0000000000..3da1d337cc
--- /dev/null
+++ b/theme-compiler/tests/resources/scss/control-directives.scss
@@ -0,0 +1,13 @@
+@each $animal in puma, sea-slug, egret, salamander {
+ .#{$animal}-icon #animal, .menu {
+ background-image: url('/images/#{$animal}.png');
+ @include logo(10px);
+ }
+}
+
+@mixin logo($size){
+ font: {
+ size: $size;
+ color: blue;
+ }
+} \ No newline at end of file