Created
November 6, 2024 00:56
-
-
Save Jon-dog/3982babdc49a461ff744b21158175f35 to your computer and use it in GitHub Desktop.
VS Code snippets for colour pickers in Python
This file contains 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
// Just some quick snippets for creating colour pickers quickly, mainly for VS Code | |
// Put this in your python code snippet file, accessed through ctrl + shift + p > Snippets: Configure Snippets | |
// Creates a colour picker with the #000000 hex format | |
"Colour Picker": { | |
"prefix": "col", | |
"body": [ | |
"\"#000000\"" | |
], | |
"description": "color picker!" | |
}, | |
// Creates colour variable template | |
"Colour Variable": { | |
"prefix": "colvar", | |
"body": [ | |
"col = \"#000000\"" | |
], | |
"description": "color picker variable!" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment