Skip to content

Instantly share code, notes, and snippets.

@trulysinclair
Last active August 14, 2017 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trulysinclair/c769df83f43623f3c4f3757012caf0bf to your computer and use it in GitHub Desktop.
Save trulysinclair/c769df83f43623f3c4f3757012caf0bf to your computer and use it in GitHub Desktop.
Add the our color function for sass files into your vscode User Snippets
/**
* 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."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment