andrewfiorillo / sketch-palettes Goto Github PK
View Code? Open in Web Editor NEWA Sketch plugin for exporting and importing fill presets. It supports colors, gradients, and pattern fills.
License: MIT License
A Sketch plugin for exporting and importing fill presets. It supports colors, gradients, and pattern fills.
License: MIT License
I'm on Sketch Version 3.2.2 (9983). I'm not seeing any options for the plugin:
save a list of previously loaded palettes for easy access to add into new files. Almost like Palette switcher
I keep encountering this issue on Sketch version 3.8.3. Unsure how to reproduce.
I have had good luck with this plugin but I can't load a saved palette now for whatever reason. I can use other features like clear but not load.
Ability to save and load into the Global Colors section of the color picker, as well as the Document Colors section.
More details found @ https://github.com/integration/sketchpacks-relay
Plugin worjs amazingly well for colour palletes, would be great if it automatically linked up the "Document colours" pallette and the "Document Gradients" pallette for import and export.
Please fix this, this is crucial. So when i load a pallete it will not be saved with the document i have always to reimport the palette. Since Sketch 3.8.2 the document palettes sometimes dissapears.
When I go to save out a palette it acts normal but never actually saves the palette
I have long longed for a way start out with some palette and iterate on it while designing. To immediately see the effects of a color change in the overall design, allowing for more refined color choices and also for defining color themes. Similar to the way css variables work, or how print design applications works (Adobe now calls it global-colors). I’d love to help!
I'm not sure if this is widespread, but I've been having issues saving document palettes. Specifically, I flat out can't.
I'm on Version 39.1 (31720) of Sketch. If you need any other info feel free to let me know.
So I've been thinking about this for a while now.. It would be super nice to be able to name my colors in sketch-palettes. Would save me quite a bit of time.
I'm running Sketch Version 3.5.2 (25235) on OS X El Capitan 10.11.3 (15D21) with the latest version of Sketch Palettes.
Every time I try to load a palette it opens the finder window, but freezes before populating the finder window.
I am trying to save a document color palette. It shows the save menu, I enter a name to save the file but the template is not getting saved. When I go to the folder and check, I see there is no palette saved.
If you navigate to the color picker in Sketch, have a color selected, and then clear the palette, it causes Sketch to crash.
Exception Type: SIGABRT
Exception Codes: #0 at 0x7fff84a6bf06
Crashed Thread: 0
Application Specific Information:
* Terminating app due to uncaught exception 'NSRangeException', reason: '* -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray'
First, thank you for making the plugin. It’s very useful and I’m using it all the time to manage color schemes in Sketch.
I wanted to separate all the Material Design colors into their own respective .sketchpalete
files so that I could select only the colors I need for each project (e.g. material-design-red.sketchpalette
, material-design-pink.sketchpalette
, etc.), rather than having all of the Material colors at once.
However, it seems when I load a palette it overwrites the previous one. It seems it replaces the current palette with the new one. Is this a bug or just a use case that the plugin doesn’t handle?
Since the new Sketch 3.5 update, the document and global palettes can be changed but when I save and close the document, the palettes revert back to their original state.
I've also tried clearing palettes and saving the documents but to no avail.
I'm really liking the plugin! Palettes is a feature I was really missing in Sketch. I think it would be a good idea to generate a palette from a specific selection. That way if you're trying out a lot of different color schemes, you can selectively generate multiple palettes from the same page.
Is this project still being actively maintained?
If a user overwrites their default color palette they can set it back to the defaults in Sketch.
https://www.dropbox.com/s/0br2a8dba6fjzni/Default.sketchpalette?dl=0
MSArray.dataArrayWithArray() → NSArray.arrayWithArray()
Everytime i try to load my palette nothing appears in my palette... could this be an issue with the recent update?
Love this plugin, btw!
It would awesome if there was a command for "Create Palette". You could provide an input dialog and ask the user to enter in the hex colors (comma separated) and then load those into the document colors. You can manually do this by modifying the exported .sketchpalette file but having this built-in would take it to the next level.
I am unable to load palettes in Sketch 48.2. I can clear and save palettes, but I am unable to load one. When I attempt to load one it seems to fail silently.
Came across this plugin recently and found an issue with loading palettes. Clearing and saving the palette works but when trying to load that same saved palette back in it fails. I repro'd 47 and 47.1 and both have this issue. I tried it out on 46.2 and loading back in works so it seems they have yet again changed some palette code. 😞
Hey @andrewfiorillo, I've been thinking it would be nice to build a quick initial single page webapp/webpage for Sketch Palettes. Would you be interested in collaborating?
When closing the Sketch document and reopening it, the color palette is reset to default and I have to reload the palette with my saved colors. I even recall the colors resetting during the same session.
The plugin is no longer working on this version of Sketch. Clicking Load Palette does nothing. I tried re-installing everything but still, i can't load any palette since no Browse windows pop up.
Thank you,
Pedro
Right now the plugin only supports hex colors, but it should support rgba colors as well, so transparency can be saved. Perhaps consider changing the storage format entirely to rgba. It would also need to maintain compatibility for palettes saved before rgba support.
Hi,
It would really help us if we could name the colors in the palette.
I'd like to know if this is something you see as an enhancement too.
Thanks,
Bas
Ever since I updated to Version 39.1, palettes are not loading or clearing.
In the installation README, it mentions the following:
"Move the Sketch Palettes plugin into your Plugins folder or double-click the .sketchplugin file."
However, when I browse the code, I cannot find the .sketchplugin file. Is it missing or am I looking in the wrong place?
Thanks for your incredible work.
It hasn't been moved to the "Deprecated" category by Sketch, but it doesn't actually load my palettes anymore :( I miss it dearly.
To clarify, I follow the same steps I always did: Sketch Palettes > Document Colors > Load palette... [choose my palette]
Before, it would add the colours to my file.
Now, it does nothing at all.
Hi there,
First off, sweet plugin - thank you :)
Secondly, I crashed Sketch today by doing the following on macos Sierra (up-to-date):
Actually I am not certain whether it was the expand or collapse action that crashed, but it was one of them.
Great plugin (we've used it at Keybase!), but it looks like it doesn't support swatches with transparency.
If you try to open an unsupported file type, like an mp3 or something, it should tell you to choose a more sensible file type. (come on, why are you trying to load an mp3 into the color picker? You're killing me here.)
Importing the standard Apple .clr
palettes worked one time for me. It was the first thing I tried. After that it didn't work anymore, weather in the document section nor in the global section. Is there any way I can troubleshoot this or give you additional information?
Running OS X 10.10.5 (14F27) and Sketch 3.3.3 (12081) here.
Importing a .sketchpalette
works great by the way, also clearing palettes.
Hi,
thank you so much for creating this plugin and being so responsive on twitter and github. I am using sketch version 3.83 on a mac 10.11.5 (both updated to latest versions) and the latest version of the plugin.
When I try to load a color palette into global or document colors using the plugin:
it opens a window to select a palette as expected, then when I select a palette (for example one of the 3 bundled palettes that you have in the github download) there is no feedback once I select the palette and it does not appear inside my color palettes.
Thanks again for your help, I have attached a screen recording video to take you through the process so that you can see for yourself.
Sketch Version 48.2
Plugin is updated to version 2.0
macOS High Sierra version 10.13.2
I am able to "Save" a palette and "Clear" a palette but unable to "Load" an existing palette. When I select "Load Palette" absolutely nothing happens. I have tested the option to save and clear and both are working just fine.
I love this plugin! Thank you for creating it. :) It was working like a champ. I think it's related to updating Sketch?
Hi,
Thank you for the great plugin.
I can't load this .sketchpalette. http://cl.ly/2k1g3h1w1c1y
I don't see a change after selecting it to load.
Am I doing something wrong?
Cheers
Hi there!
This is a quick note to remind you that Sketch 45 will include a plugin update system.
It would be awesome if you could add support to it (it's really easy!) before Sketch 45 comes out. Ideally, you should release an update for your plugin while we're still in Sketch 44, so your users will have a nice & easy experience when 45 is released.
For more details, please check http://sketchplugins.com/d/229-updating-plugins and http://developer.sketchapp.com/introduction/updating-plugins/
Thanks in advance!
I'd love it if there was some way to associate a palette with a set of brand colors. Change your brands primary color and see it update right across the Sketch file.
Currently, sketch-palettes, executes the following workflow when loading palettes.
You can load colors into either the Global Colors section of the color picker or into the Document Colors section. Selecting "Load Palette..." from either menu will prompt you to open a .sketchpalette file containing the colors you want to load. This will replace whatever colors are currently in the selected section.
Which is fine but I would like to make a suggestion to change...
This will replace whatever colors are currently in the selected section.
The reason being is that some clients have multiple palette sets.
Request:
It would be nice and, IMO a bit more intuitive, to execute the loading to only "add" to the current set instead of replacing the current set. If the user wants to replace, he/she would simply use the "clear" feature that is already built in.
Global Colors
(if it's not expanded already)Global Colors
and expand them again = crashSave palette is working fine, but I cannot load a new palette. Selecting that option from the plugin menu does nothing, no dialogs open or anything.
I checked the Plugin Output.log and I see this:
ObjC method arrayWithObjects: requires 1 argument, but JavaScript passed 2 arguments «Plugin Output»
System details:
High Sierra 10.13.1
Sketch 48.2
I have a rather large palette and the view will not let me scroll past the initial view port. It will peak and snap back (just like when you reach the bottom of a page on Safari). I'm using Sketch 39.1.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.