diff --git a/tests/inputs/mixins.scss b/tests/inputs/mixins.scss index 9baffc17..9cf55dd4 100644 --- a/tests/inputs/mixins.scss +++ b/tests/inputs/mixins.scss @@ -97,3 +97,46 @@ div { color: blue; } } + + +// mixin content (http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#mixin-content) +@mixin content-simple { + div.mixin-content-simple { + @content; + } +} + +@mixin content-with-arg ( $background ) { + div.mixin-content-with-arg { + background: $background; + @content; + } +} + +@include content-simple { + color: red; +} + +@include content-with-arg($background: blue) { + color: red; +} + +@include content-with-arg($background: purple) { + @include hello_world; +} + +@include content-simple { + @include cool(10px, 12px, 21px); +} + +@include content-simple { + @include something(orange); +} + +@include content-with-arg($background: purple) { + @include cool(10px, 12px, 21px); +} + +@include content-with-arg($background: purple) { + @include something(orange); +} \ No newline at end of file