This commit is contained in:
Ray Elliott 2021-01-08 17:07:56 +00:00
parent 802a8d498d
commit b7a5047d5a
5 changed files with 56 additions and 7 deletions

View File

@ -3,19 +3,19 @@ snippet sld "/* stylelint-disable-next-line ... */"
endsnippet endsnippet
snippet @m "@media ( ..." snippet @m "@media ( ..."
@media ($1: ${2:$bp-${3:s}}) { @media (${1:min-width}: ${2:$bp-${3:s}-min}) {
$0 $0
} }
endsnippet endsnippet
snippet @max "@media (max-width: ..." snippet @max "@media (max-width: ..."
@media (max-width: ${2:$bp-${3:s-max}}) { @media (max-width: ${2:$bp-${3:s}-max}) {
$0 $0
} }
endsnippet endsnippet
snippet @min "@media (min-width: ..." snippet @min "@media (min-width: ..."
@media (min-width: ${2:$bp-${3:s}}) { @media (min-width: ${2:$bp-${3:s}-min}) {
$0 $0
} }
endsnippet endsnippet
@ -37,10 +37,10 @@ background: linear-gradient(
endsnippet endsnippet
snippet flex "display: flex ..." snippet flex "display: flex ..."
display: flex; display: flex;${1:
flex-direction: ${1:row}; flex-direction: ${2:column};}
justify-content: ${2:center}; justify-content: ${3:center};
align-items: ${3:center}; align-items: ${4:center};
endsnippet endsnippet
snippet w "width: ;" snippet w "width: ;"
@ -160,10 +160,28 @@ snippet fs "font-size: ... ;"
font-size: ${1:1}${2:rem}; font-size: ${1:1}${2:rem};
endsnippet endsnippet
snippet fw "font-weight: ... ;"
font-weight: ${1:bold};
endsnippet
snippet o "opacity: ... ;" snippet o "opacity: ... ;"
opacity: ${1:0}; opacity: ${1:0};
endsnippet endsnippet
snippet grid "display: grid ..."
display: grid;
grid-template-columns: $1;
grid-template-rows: $0;
endsnippet
snippet gr "grid-row: ... ;"
grid-row: $0;
endsnippet
snippet gc "grid-column: ... ;"
grid-column: $0;
endsnippet
snippet rgbw "rgba( ... )" snippet rgbw "rgba( ... )"
rgba(${1:#fff}, ${2:0.5}) rgba(${1:#fff}, ${2:0.5})
endsnippet endsnippet

19
UltiSnips/jst.snippets Normal file
View File

@ -0,0 +1,19 @@
snippet req "<%- require( ..."
<%- require('!!ejs-compiled-loader?{}!./$1.ejs')($0) %>
endsnippet
snippet % "<% ... %>"
<% $0 %>
endsnippet
snippet = "<= ... =>"
<%= $0 %>
endsnippet
snippet - "<- ... ->"
<%- $0 %>
endsnippet
snippet # "<# ... #>"
<%# $0 %>
endsnippet

10
postcss.config.js Normal file
View File

@ -0,0 +1,10 @@
module.exports = {
plugins: [
[
"postcss-preset-env",
{
// options
},
],
],
};

View File

@ -132,3 +132,5 @@ unminified
Checklist Checklist
Cheatsheet Cheatsheet
WPMain WPMain
submodule
submodules

Binary file not shown.