MCPcopy Index your code
hub / github.com/andrewfiorillo/sketch-palettes

github.com/andrewfiorillo/sketch-palettes @2.22

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.22 ↗ · + Follow
8 symbols 18 edges 2 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Sketch Palettes

A Sketch plugin for exporting and importing fill presets. It supports colors, gradients, and Pattern fills.

Installation

Move the Sketch Palettes plugin into your Plugins folder or double-click the .sketchplugin file.

Usage

Saving Palettes

You can save palettes from either the Global presets section or from the Document presets section of the color picker. You can also select which of the available fill types you'd like to include. The plugin supports colors, gradients, and pattern fills. Saving will create a .sketchpalette file at whatever location you choose.

Loading Palettes

Running the "Load Palette..." command in the plugin menu will allow you to choose a .sketchpalette file containg the presets you like to import. You can load palettes into either the Global presets section or into the Document presets section of the color picker. You can also select which of the available fill types you'd like to load. Fill presets will then be appended to the corresponding preset sections.

Removing Palettes

Select "Clear Palette..." to remove fill presets from either the Global presets or Document presets section of the color picker. You can select which fill types you'd like to clear.

Info & Feedback

This plugin would not have been possible without the help of some other awesome people. Alan Dickinson was enormously helpful and implemented the long-standing feature request to support gradients, as well as some other nice enhancements and bug fixes. William O'Beirne helped with some of the trickier parts earlier on, like making sense of the class-dump of Sketch, to figure out how to use undocumented Sketch functionality. And Ale Muñoz lent a hand fixing bugs here and there.

If you have any questions, find a bug, or have ideas for ways to improve the plugin, ping me on twitter: @andrewfiorillo

Core symbols most depended-on inside this repo

createCheckbox
called by 9
Sketch Palettes.sketchplugin/Contents/Sketch/util.js
createLabel
called by 6
Sketch Palettes.sketchplugin/Contents/Sketch/util.js
createSelect
called by 3
Sketch Palettes.sketchplugin/Contents/Sketch/util.js
setCheckboxStates
called by 2
Sketch Palettes.sketchplugin/Contents/Sketch/sketchPalettes.js
rect
called by 0
Sketch Palettes.sketchplugin/Contents/Sketch/util.js
savePalette
called by 0
Sketch Palettes.sketchplugin/Contents/Sketch/sketchPalettes.js
loadPalette
called by 0
Sketch Palettes.sketchplugin/Contents/Sketch/sketchPalettes.js
clearPalette
called by 0
Sketch Palettes.sketchplugin/Contents/Sketch/sketchPalettes.js

Shape

Function 8

Languages

TypeScript100%

Modules by API surface

Sketch Palettes.sketchplugin/Contents/Sketch/util.js4 symbols
Sketch Palettes.sketchplugin/Contents/Sketch/sketchPalettes.js4 symbols

For agents

$ claude mcp add sketch-palettes \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact