Last active
December 22, 2017 10:48
-
-
Save esr360/f07b2233eff5dcfe3ffb2815bef33272 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin accordion($custom: ()) { | |
$options: map-merge(( | |
panel-bg: #, | |
panel-text-color: # | |
), $custom); | |
.accordion { | |
&__panel { | |
background: map-get($options, panel-bg); | |
color: map-get($options, panel-text-color); | |
&--open { | |
... | |
} | |
} | |
&__title { | |
... | |
} | |
&__content { | |
... | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment