ment-mx / Prism

Creates a beautiful artboard color palette with all your 'Document Colors' and their respective color label in a variety of formats.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exported Sass variable names includes apostrophes

fiinix opened this issue · comments

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!

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