getflourish / Sketch-Style-Inventory

Review, import & export styles in Sketch.
MIT License
1.83k stars 104 forks source link

Exporting colors doesn't export anything #61

Closed coreyward closed 8 years ago

coreyward commented 8 years ago

The code in inventory.js seems to imply a dialog should open to select a save location, but this does not happen. A message saying “Exporting to colors.json/colors.json” shows up and goes away, but no file is exported anywhere as far as I (or spotlight) can determine.

apertureless commented 8 years ago

Fixed in this pull request

https://github.com/getflourish/Sketch-Style-Inventory/pull/62

Now it will export it in the same location as if you genreate everything with the export function.

ChrisARaymond commented 8 years ago

I have a small Sketch file, with 2 pages. One page has rectangles with all my colors. I choose Generate Color Inventory, a Style Inventory page is created, a Color Inventory artboard is generated, and an alert saying Analyzing Colors appears. Then the only thing that shows is a blank background layer on the Color Inventory art board. Perhaps I am using the plugin wrong or not doing steps in the right order. I certainly never see anything like Swatches. Using Sketch 3.5.2 with some other plugins also in use, including Measure.

Can anyone illuminate?

sml-studio commented 8 years ago

Same issue as ChrisARaymond : generate only an empty artboard on a new page. And if "export" is checked, no dialogue appears to save a file. Many tries with different sort of selections, etc. Sketch 3.5.1

Thanks

getflourish commented 8 years ago

Updated the plugin to the new bundle format. Generate & Export should work again with the latest non-App Store versions.