mirror of
https://github.com/webgefrickel/dotfiles
synced 2024-11-09 13:10:27 +00:00
84 lines
1.8 KiB
JSON
84 lines
1.8 KiB
JSON
{
|
|
"@include": {
|
|
"prefix": "in",
|
|
"body": [
|
|
"@include ${1:mixin}(${2:parameters}) {",
|
|
"\t${0:@content}",
|
|
"}"
|
|
],
|
|
"description": "@include mixin with parameters (multiline)"
|
|
},
|
|
"@function": {
|
|
"prefix": "fun",
|
|
"body": [
|
|
"@function ${1:function}(${2:parameters}) {",
|
|
"\t${0:@content}",
|
|
"}"
|
|
],
|
|
"description": ""
|
|
},
|
|
"@foreach": {
|
|
"prefix": "fe",
|
|
"body": [
|
|
"@each $${1:item} in $${2:variable} {",
|
|
"\t${0:@content}",
|
|
"}"
|
|
],
|
|
"description": ""
|
|
},
|
|
"@mediaquery": {
|
|
"prefix": "mq",
|
|
"body": [
|
|
"@include mediaquery(${1:s}) {",
|
|
"\t${0:@content}",
|
|
"}"
|
|
],
|
|
"description": ""
|
|
},
|
|
"@attention": {
|
|
"prefix": "att",
|
|
"body": [
|
|
"@include attention {",
|
|
"\t${0:@content}",
|
|
"}"
|
|
],
|
|
"description": "Custom attention-mixin"
|
|
},
|
|
"background-gradient": {
|
|
"prefix": "grd",
|
|
"body": "background-image: linear-gradient(to bottom, color(${1:one}), color(${0:two}));",
|
|
"description": "Background image with linear gradient"
|
|
},
|
|
"@position": {
|
|
"prefix": "ps",
|
|
"body": "@include ${1:absolute}(a ${0:0});",
|
|
"description": "Custom position-mixins"
|
|
},
|
|
"@color": {
|
|
"prefix": "c",
|
|
"body": "@include color(${0:default});",
|
|
"description": "Custom color-mixin"
|
|
},
|
|
"@font": {
|
|
"prefix": "f",
|
|
"body": "@include font(${0:default});",
|
|
"description": "Custom font-mixin"
|
|
},
|
|
"@margin": {
|
|
"prefix": "m",
|
|
"body": "@include margin(a ${0:0});",
|
|
"description": "Custom margin-mixin"
|
|
},
|
|
"@padding": {
|
|
"prefix": "p",
|
|
"body": "@include padding(a ${0:0});",
|
|
"description": "Custom padding-mixin"
|
|
},
|
|
"@z-index": {
|
|
"prefix": "z",
|
|
"body": "@include z-index(${0:feet});",
|
|
"description": "Custom z-index mixin"
|
|
}
|
|
}
|
|
|