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

Exported Sass variable names includes apostrophes #24

Closed fiinix closed 7 years ago

fiinix commented 7 years ago

When exporting color as Sass variables, the color name, e.g. Payne's grey has its apostrophe included in the Sass variable name which breaks in Sass. E.g. $payne's-grey: #414141;

Instead of the expected: $paynes-grey: #414141;

I would except the Sass variable names to have special (Sass breaking) characters stripped out. Whilst it's certainly easy to manually edit the names to fix it, some people might find it confusing when the Sass output doesn't conform to Sass standards.

Thank you for a great and time-saving plugin!

lalomts commented 7 years ago

Good catch, @fiinix! I just fixed it, please make shure you clone the latest commit and try it out! Thank you! 👍