Created
June 5, 2017 12:50
-
-
Save jbasoo/7ef39f89fe115fa92e81600b7b4e5318 to your computer and use it in GitHub Desktop.
Magento 2 Less file Atom scaffold snippet
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
'.less': | |
'm2less': | |
'prefix': 'm2less' | |
'body': """ | |
/** | |
* _$1.less | |
*/ | |
/* ========================================================================== | |
$1 | |
========================================================================== */ | |
// Common | |
& when (@media-common = true) {} | |
// Desktop | |
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {} | |
// Mobile | |
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {} | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment