Skip to content

Instantly share code, notes, and snippets.

@nicothin
Created February 3, 2018 11:46
Show Gist options
  • Save nicothin/4d185c6120e766196a1c1db44b9a56d9 to your computer and use it in GitHub Desktop.
Save nicothin/4d185c6120e766196a1c1db44b9a56d9 to your computer and use it in GitHub Desktop.
{
"snippets": {
"html": {
"filters": "html, bem",
"snippets": {
"blq": "<blockquote>${1:}</blockquote>",
}
},
"css": {
"snippets": {
"poen": "pointer-events: none;",
"obj": "object-fit: cover;",
"bgra": "background-color: rgba(${1:0,0,0,.5});",
"var": "var(--${var_name})",
"_bn": "#{\\$block-name}",
"df": "display: flex;",
"dif": "display: inline-flex;",
"if": "display: inline-flex;",
"@mx": "@mixin ${name}()",
"@in": "@include ${name};",
"@m": "@media (min-width: \\$${screen-md}) {}",
}
}
},
// http://docs.emmet.io/customization/preferences/
"preferences": {
"bem.elementSeparator": "__",
"bem.modifierSeparator": "--",
"bem.shortElementPrefix": "_",
"css.autoInsertVendorPrefixes": "false",
"lorem.defaultLang": "ru",
"sass.propertyEnd": ";",
},
// Подмена синтаксиса
// http://docs.emmet.io/customization/syntax-profiles/
// "syntaxProfiles": {
// "hbs": "html",
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment