Created
October 24, 2017 08:01
Star
You must be signed in to star a gist
Extend a module within another module/component
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
@include module('header') { | |
@include component('social-links') { | |
@include _module('list', ('reset', 'inline'), false); | |
@include component('item') { | |
@include _module('button', ( | |
'brand-1-light', 'circle', 'icon', 'border', 'size-3' | |
)); | |
} | |
} | |
} | |
/* | |
.header_social-links is now equivilent to .list-reset-inline | |
.header_social-links_item is now equivilent to .button-brand-1-light-circle-icon-border-size-3 | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment