update snippets

This commit is contained in:
Ray Elliott 2020-04-26 11:52:36 +00:00
parent 83c527271b
commit f089c566c2
2 changed files with 67 additions and 32 deletions

View File

@ -3,7 +3,7 @@ snippet sld "/* stylelint-disable-next-line ... */"
endsnippet
snippet @m "@media ..."
@media (${1:min}-${2:width}: $3) {
@media (${1:min}-${2:width}: ${3:$bp-s}) {
$0
}
endsnippet
@ -75,6 +75,30 @@ snippet r "right: ... ;"
right: ${1:0};
endsnippet
snippet bd "border: ... ;"
border: ${1:1px} ${2:solid} ${3:currentColor};
endsnippet
snippet bdt "border-top: ... ;"
border-top: ${1:1px} ${2:solid} ${3:currentColor};
endsnippet
snippet bdb "border-bottom: ... ;"
border-bottom: ${1:1px} ${2:solid} ${3:currentColor};
endsnippet
snippet bdl "border-left: ... ;"
border-left: ${1:1px} ${2:solid} ${3:currentColor};
endsnippet
snippet bdr "border-right: ... ;"
border-right: ${1:1px} ${2:solid} ${3:currentColor};
endsnippet
snippet br "border-radius: ... ;"
border-radius: ${1:50%};
endsnippet
snippet m "margin: ... ;"
margin: ${1:0};
endsnippet
@ -180,3 +204,7 @@ height: 100%;
top: 0;
left: 0;
endsnippet
snippet v "var(--...)"
var(--$0)
endsnippet

View File

@ -1,2 +1,9 @@
extends css
snippet @i "@include"
@include $0;
endsnippet
snippet us "$unit-size * ..."
$unit-size ${1: * ${2:2}}
endsnippet