Comments (6)
Hey @MarkThomasJohnson, thank you so much for providing such accurate description! 🙏
I've tried to replicate the problem, but everything seems to work well here. Am I missing anything / misunderstood your issue?
from sketch-styles-generator.
Hey @lucaorio for sure! 👍
It appears you're using the newest version of Sketch, so perhaps that solves it, or my file is somehow moderately broken. I can't really pin down why it won't work within this particular file.
I tried doing this exact thing you did with another file and it worked as usual.
It's just weird that it won't create any new styles within this file anymore. I tried to reproduce this bug in a new file, but I can't reproduce the exact issue. I'm not totally sure what caused it to break.
My steps in general was taking multiple text layers (8ish layers) with a text style applied. Adjusting the text layers first, then renaming, then duplicating that new set of 8, doing the same until I was at ~64 styles total. Then detaching the text styles (as they were all the original style with an override applied effectively) then trying to use the plugin, it didn't work. And if I tried to just use the plugin without detaching it would just apply one style to all of them (update all styles to match somehow).
Is there anything else helpful I can try to do?
from sketch-styles-generator.
I think the last behavior you were describing is intended.
From the FAQ:
The layer has no shared style applied, and no existing shared style matches its name:
- Create a new shared style
The layer has no shared style applied, but there's a shared style that shares its name:
- Apply the shared style to the layer
The layer has a shared style applied, and its synced, but there's a mismatch between the names
- The shared style is renamed to match the layer
The layer was changed, and is now out-of-sync with the shared style applied to it:
- The shared style, and all its instances are synced
The layer was changed in both its appearance, and name, but still connected to a shared style:
- The shared style, and all its instances are synced and renamed
I don't know what's going on in your file, I would have to open and take a look at the ids in order to understand.
If you were previously using an older version, and it was working well, you still have access to all of them from this page: https://github.com/lucaorio/sketch-styles-generator/releases
from sketch-styles-generator.
I'm having a similar issue. I created a few color styles and then cleared out the text styles before creating a new one and the plugin would not prompt successful. Reverted back to 1.4 to get it back in working order.
from sketch-styles-generator.
@MarkThomasJohnson @kst0rm Could you please install Sketch Dev Tools, and let me know if any error is triggered?
from sketch-styles-generator.
@MarkThomasJohnson @kst0rm I'm closing this, but please let me know if you had any chance to run the Sketch Dev tool 👍
from sketch-styles-generator.
Related Issues (20)
- Doesn't work with Sketch 49 HOT 5
- [Bag] If layers have similar styles but have different names, plugin create two different styles. HOT 6
- Sketch 50: Command doesn't do anything when layers are selected HOT 6
- Use folders to organize styles HOT 2
- Use artboard name to generate styles HOT 3
- Needs updating to work with sketch 52 HOT 9
- Plugin Not Working HOT 2
- I think the new rewrite might have broken the plugin for Sketch 51.3 HOT 1
- Plugin doesn't work in Sketch Version 51.3 HOT 1
- Link layers to styles if style already exist HOT 1
- Artboards generate empty styles HOT 2
- Updating styles is broken HOT 1
- Plugin doesn't work in Sketch 52.6 HOT 4
- Plugin does not update HOT 4
- Can't generate styles HOT 3
- I can't seem to get this plug-in to work. Am I doing something wrong? HOT 3
- The style structure is interrupted from the 20th character. HOT 2
- Generated style not shown in another file via library styles
- Support Sketch 45 plugin update system HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sketch-styles-generator.