diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/syntax.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/syntax.rst b/docs/syntax.rst index 408bc11..4cd21c9 100644 --- a/docs/syntax.rst +++ b/docs/syntax.rst @@ -432,6 +432,23 @@ Given that future versions of the reference compiler are likely to introduce built-in list operations, the future of this feature is unclear. +Mixin "injection" +----------------- + +A mixin defined like this: + + @mixin foo(...) { + // ... + } + +will accept **any** keyword arguments, which will be available as variables +within the mixin. + +This behavior exists for historical reasons and due to the lack of a +``**kwargs`` equivalent within Sass. Its usage makes mixin behavior harder to +understand and you should not use it. + + Unsupported Sass features ========================= |