Skip to content

Instantly share code, notes, and snippets.

@esr360
Last active December 22, 2017 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esr360/f07b2233eff5dcfe3ffb2815bef33272 to your computer and use it in GitHub Desktop.
Save esr360/f07b2233eff5dcfe3ffb2815bef33272 to your computer and use it in GitHub Desktop.
@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