Ashung / Sketch_Swatches

A swatches plugin for Sketch.
Apache License 2.0
437 stars 17 forks source link

Add New Swatch Groups #13

Open demersdesigns opened 7 years ago

demersdesigns commented 7 years ago

It would be awesome to be able to add/remove custom color groups. I was able to do this manually by editing the plugin files, but it would be awesome to be able to do this out of the box. Maybe, it makes the most sense to add a button to "create a new group from document colors" and ask for a custom name? This may be more straightforward than having the user input individual color names and hex codes.

Maybe something down here? image

proxemics commented 7 years ago

Agree, this would be a much used feature for me!

FerdinandWerthwein commented 7 years ago

Hi everybody. Just had the same thought as demersdesigns after using the swatches plugin for a few minutes. It would be a killer feature to have custom color groups since so many people out there can't wait to get rid of the ineffective color selection within the sketch app. Great plugin so far!

wolfganglattermann commented 6 years ago

+1 ;)

mischugo commented 6 years ago

Same for me +100 ;-) Would like to add may current colors (brand)

josh-bbn commented 6 years ago

+1 this would be super useful if only i could specify my client's branding colors!

Frank-Pixelpusher commented 6 years ago

same for me +1

bobulated commented 6 years ago

Yes, the plugin and UI are very nice but definitely would be great to have the ability to easily create and add custom colors.

stephanie-walter commented 6 years ago

+1, same here, if a button is not an option maybe just being able to add all the document colors as new swatch?

tjmcwhiskers commented 6 years ago

Is there any news on if this is going to happen?

basedoncarbon commented 5 years ago

Ok, so I am no programmer, but I've gotten pretty far on adding code to this plugin so I can add my own swatch file. I'll outline it below, and I also request HELP on the final part, which is getting the rows to have 16 swatches across. I just can't figure that out.

To make your own swatch file:

This is the swatchbook I am copying. It is one the swatches installed in Photoshop/Illustrator called Visibone. I like it because it is arranged sort of like I would arrange paint on a physical palette. image

So, this is the Google Material Design swatchbook that I was using as a template: image

And this is my file. I only made one line of the Visibone colors, as I didn't want to waste time on this if I couldn't make it work. Remember that the Material Design swatchbook has rows of 15 swatches max, and that the Visibone swatchbook has 16 swatches across? Well, you can see that there is a "blank" line under the first row of colors. It's the row wrapping. image

This is the part I can't figure out, how to tell the plugin the maximum number of swatches across, as the swatch interface window is not resizable. This is also important if you, gentle reader, want to make your own swatch file.

Help!

basedoncarbon commented 5 years ago

STOP THE PRESSES!

I fought through the whole thing only to fail at the 1yd line. Thanks to a friend, all you do is use a smaller px dimension in your color file. In my case, the material_design_colors.js file used 24px at its dimension. Changing all four instances to 22px solved my problem.

Yaaaa!