Last active
March 3, 2017 06:23
-
-
Save ayakix/921fc732754ac949dec744ae122303cb to your computer and use it in GitHub Desktop.
How to define Html2Clr in Run Script
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
#!/bin/sh | |
FILE_NAME="theme" | |
PROJECT_COLOR_FILE="$SRCROOT/$PROJECT_NAME/$FILE_NAME.clr" | |
USER_COLOR_DIR="$HOME/Library/Colors/" | |
# Generate color palette file | |
"./Html2Clr" "./$PROJECT_NAME/$FILE_NAME.txt" | |
# Copy to User directory color palette | |
"cp" "$PROJECT_COLOR_FILE" "$USER_COLOR_DIR" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Covert a color palette to .clr
https://github.com/ramonpoca/ColorTools/tree/master/Html2Clr
Place theme.txt in project root dir. Such as