Created
May 22, 2018 13:43
-
-
Save machal/156a47275bdf5f4b8605a4f0656b94f4 to your computer and use it in GitHub Desktop.
Empty SCSS file template
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
/* | |
Molecule Component | |
================== | |
Using for … | |
Documentation: http://example.com/pattern-lab/component | |
*/ | |
// Structure: | |
// .c-component(.c-component--bordered|.c-component--large) | |
// .c-component__body | |
// .c-component__body-heading | |
// .c-component__foot | |
// Block | |
// ----- | |
.c-component { | |
… | |
} | |
// Element: Body | |
// -------------- | |
.c-component__body { | |
… | |
} | |
// Element: Body Heading | |
// --------------------- | |
.c-component__body-heading { | |
… | |
} | |
// Another comment… | |
.c-component__body-heading:hover { | |
… | |
// Inline comment: | |
… | |
} | |
// Element: Foot | |
// ------------- | |
.c-component__foot { | |
… | |
} | |
// Modifier: Bordered | |
// ------------------ | |
.c-component--bordered { | |
… | |
} | |
// Modifier: Large | |
// --------------- | |
.c-component--large { | |
… | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment