Skip to content

Instantly share code, notes, and snippets.

@ayakix
Last active March 3, 2017 06:23
Show Gist options
  • Select an option

  • Save ayakix/921fc732754ac949dec744ae122303cb to your computer and use it in GitHub Desktop.

Select an option

Save ayakix/921fc732754ac949dec744ae122303cb to your computer and use it in GitHub Desktop.
How to define Html2Clr in Run Script
#!/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"
@ayakix

ayakix commented Mar 3, 2017

Copy link
Copy Markdown
Author

Covert a color palette to .clr
https://github.com/ramonpoca/ColorTools/tree/master/Html2Clr

Place theme.txt in project root dir. Such as

3F51B5      primary
303F9F      secondary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment