2015-12-08 08:20:04 -05:00
|
|
|
extends css
|
|
|
|
|
2014-10-14 09:30:33 -04:00
|
|
|
snippet $
|
|
|
|
$${1:variable}: ${0:value};
|
|
|
|
snippet imp
|
|
|
|
@import '${0}';
|
|
|
|
snippet mix
|
|
|
|
@mixin ${1:name}(${2}) {
|
|
|
|
${0}
|
|
|
|
}
|
|
|
|
snippet inc
|
|
|
|
@include ${1:mixin}(${2});
|
2015-12-08 08:20:04 -05:00
|
|
|
snippet ext
|
2014-10-14 09:30:33 -04:00
|
|
|
@extend ${0};
|
|
|
|
snippet fun
|
|
|
|
@function ${1:name}(${2:args}) {
|
|
|
|
${0}
|
|
|
|
}
|
|
|
|
snippet if
|
2022-09-25 06:10:28 -04:00
|
|
|
@if ${1:condition} {
|
2014-10-14 09:30:33 -04:00
|
|
|
${0}
|
|
|
|
}
|
2015-01-18 07:58:28 -05:00
|
|
|
snippet ife
|
2022-09-25 06:10:28 -04:00
|
|
|
@if ${1:condition} {
|
2015-01-18 07:58:28 -05:00
|
|
|
${2}
|
|
|
|
} @else {
|
|
|
|
${0}
|
|
|
|
}
|
|
|
|
snippet eif
|
2022-09-25 06:10:28 -04:00
|
|
|
@else if ${1:condition} {
|
2014-10-14 09:30:33 -04:00
|
|
|
${0}
|
|
|
|
}
|
|
|
|
snippet for
|
|
|
|
@for ${1:$i} from ${2:1} through ${3:3} {
|
|
|
|
${0}
|
|
|
|
}
|
|
|
|
snippet each
|
|
|
|
@each ${1:$item} in ${2:items} {
|
|
|
|
${0}
|
|
|
|
}
|
|
|
|
snippet while
|
|
|
|
@while ${1:$i} ${2:>} ${3:0} {
|
|
|
|
${0}
|
|
|
|
}
|