Skip to content

Commit

Permalink
Sketch 39 support. Fixes issue #11
Browse files Browse the repository at this point in the history
  • Loading branch information
“LaloMrtnz” committed Jul 22, 2016
1 parent 73e09ef commit 8b4f3a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Prism.sketchplugin/Contents/Sketch/build/Palette.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Prism.sketchplugin/Contents/Sketch/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Prism",
"description": "Creates a beautiful artboard color palette with all your 'Document Colors' with their respective color label in a variety of formats.",
"description": "Creates a beautiful artboard with all the colors in your 'Document Colors' with its respective color label in a variety of formats.",
"author": "Lalo Mrtnz & Adrián Rubio",
"homepage": "https://github.com/LaloMrtnz/Prism",
"homepage": "https://github.com/LaloMrtnz/ShareableColorPalette",
"version": "1.0",
"identifier": "com.ment.sketch.prism",
"compatibleVersion": "3.8",
Expand Down
2 changes: 1 addition & 1 deletion Prism.sketchplugin/Contents/Sketch/src/Palette.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Palette extends Base
@artboard = layer

if @context.document
@colors = @context.document.documentData().assets().primitiveColors().array()
@colors = @context.document.documentData().assets().colors()

regenerate: ->
array = @getColorsDictionaries().map (colorDictionary) ->
Expand Down

0 comments on commit 8b4f3a8

Please sign in to comment.