ment-mx / Prism

Creates a beautiful artboard color palette with all your 'Document Colors' and their respective color label in a variety of formats.
MIT License
1.01k stars 47 forks source link

add clr support #31

Closed griffin-stewie closed 6 years ago

griffin-stewie commented 6 years ago

I added clr support @lukaspili requested at #26

Information about clr is here.

I changed a lot of your code to support clr export feature. Mainly you wrote code to support multiple export format as configuration based, but I changed it to class based. Because current format is "multiple colors to one file" and String, but clr is binary file. and I would like to add colorset export format that is "one color to one file" structure.

Adrxx commented 6 years ago

Amazing contribution! Love the class based formats, I also took this opportunity to separate each format into its own file. Compilation script had to be updated for this, but it seems to work great. I would invite you to change the README and explain how others can add their own formats with this new structure.

griffin-stewie commented 6 years ago

Thank you! I will change the README for others, but I have 2 more new formatter. so I will send 2 more PR before update README.