Feature request: Edit color slugs

With most of our projects, we pre-generate a set of global color variables inside of Cornerstone. We do that for many reasons (E.g. as we auto-generate CSS class-assignments and CSS color variables inside of our themes).

It will be superb if we have the flexibility to adjust the color key of each of those added colors, as this will bring more flexibility in relation to assigning variables (and re-assinging some that don’t exist anymore).

E.g. Let’s say you have a ready-made website that leverages those color variables and has everything set up with Primary and Secondary colors.
If I then import another section from a different website that also uses custom color variables, they’re simply appended to the actual colors, resulting in “Duplicates” of those variables. We then need to migrate all of those colors for all of the elements separately (Or we need to maintain two color variables of the same type).

When adjusting the slug, we could match those variables to the actual slug and never need to replace them, thus making things more object-oriented and better for migration and interoperability.

1 Like

Edit: It would be superb if you could consider that as well for the font palette as we face the same issue there.

Hey @TheOwnplay,

Thanks for this feedback. I have added this as a feature request to our developers.

Cheers.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.