Skip to content

Create color variables in Sketch by importing JSON color palettes

License

Notifications You must be signed in to change notification settings

ziyafenn/sketch-json-color-palette-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sketch JSON Color Palette Importer

Create shared layer styles by importing JSON color palettes

Description

This plugin will add all the colors from the JSON and create a shared layer styles out of them to be used inside your project.

Supported JSON Format

{
  PALETTE_NAME: {
    COLOR_LABEL: COLOR_HEX,
    ...
  }
  ...
}

You can use Material Design Palette Generator to generate accessible color palettes and export them in JSON that will work with this plugin without any modifications. You can also use ColorBox by Lyft Design to generate a color palette, but it will require slight modification to the JSON code to make it work with the plugin.

Troubleshooting

If you have any problem with importing JSON code, try to validate it first and then format/prettify it. For validation and formatting you can use any available online tool, such as https://jsonformatter.org/

About

Create color variables in Sketch by importing JSON color palettes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published