Skip to content

Commit

Permalink
Add selector-append function support
Browse files Browse the repository at this point in the history
Sass selector-append function is the same as append-selector in compass
so we can just add teh alias for it.
  • Loading branch information
e0ne committed Apr 14, 2020
1 parent 36e8452 commit 0df9419
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scss/extension/compass/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ def dash_o(*args):
# ------------------------------------------------------------------------------
# Selector generation

# selector-append is a Sass function
@ns.declare_alias('selector-append')
@ns.declare
def append_selector(selector, to_append):
if isinstance(selector, List):
Expand Down

0 comments on commit 0df9419

Please sign in to comment.