Giter VIP home page Giter VIP logo

Comments (6)

lucaorio avatar lucaorio commented on May 20, 2024

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?

github-issue

from sketch-styles-generator.

MarkThomasJohnson avatar MarkThomasJohnson commented on May 20, 2024

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.

lucaorio avatar lucaorio commented on May 20, 2024

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.

kst0rm avatar kst0rm commented on May 20, 2024

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.

lucaorio avatar lucaorio commented on May 20, 2024

@MarkThomasJohnson @kst0rm Could you please install Sketch Dev Tools, and let me know if any error is triggered?

from sketch-styles-generator.

lucaorio avatar lucaorio commented on May 20, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.