This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"If True": { | |
"prefix": "iftrue", | |
"body": ["if (${1:statement} !== ${2:statement}) {", "\treturn true", "}"], | |
"description": "Create an `if` `true`, `return` `true` statement for react components" | |
}, | |
"If Not True": { | |
"prefix": "ifnottrue", | |
/* Here we use lodash.isequal within our component setup. It helps with deep validation. */ | |
"body": ["if (!${1|IsEqual(),statement|}) {", "\treturn${2| true, |}", "}"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Ensure with absolute certainty you've added our `_color.scss` file | |
* and imported it. | |
*/ | |
"New Material Design Color": { | |
"prefix": "material", | |
"body": "color(${1|red, pink, purple, deep-purple, indigo, blue, light-blue, cyan, teal, green, light-green, lime, yellow, amber, orange, deep-orange, brown, blue-grey, grey, shades|}, ${2|base, lighten-5, lighten-4, lighten-3, lighten-2, lighten-1, darken-1, darken-2, darken-3, darken-4, accent-1, accent-2, accent-3, accent-4|})", | |
"description": "Create a new Material Design color via Ebongarde's Sassy color function." | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$colors: ( | |
red: | |
( | |
base: #f44336, | |
lighten-5: #ffebee, | |
lighten-4: #ffcdd2, | |
lighten-3: #ef9a9a, | |
lighten-2: #e57373, | |
lighten-1: #ef5350, | |
darken-1: #e53935, |
NewerOlder