Code Monkey home page Code Monkey logo

Comments (4)

davidderaedt avatar davidderaedt commented on July 19, 2024

Hi, unfortunately this is how Illustrator works and I have no control on that when using the style "elements" location option. However, I could expose this location option to give users the ability to inline styles.
Adding to the backlog.
Thanks for reporting

from illustrator-layer-exporter.

paazmaya avatar paazmaya commented on July 19, 2024

I have similar issue when combining the resulting SVG files as a sprite, and thus the last st styles become used.
Would it be possible to randomly generate the class name?

from illustrator-layer-exporter.

paazmaya avatar paazmaya commented on July 19, 2024

Tried with 2.1.0 dev version and using the CSS option attributes fixed my issue.

Still, perhaps adding a checkbox for the second option, style, for randomize class names, so the resulting SVG files would have some 10 characters long random class names.

from illustrator-layer-exporter.

davidderaedt avatar davidderaedt commented on July 19, 2024

Hi. Indeed this is fixed with 2.1, available in the dev branch. You can use it via the ZXP right now, or you can wait for me to merge to the master and re-publish on exchange.
Unfortunately, I don't have access to generated style names (they are generated by Illustrator). The only way for me to fix this would be to post process SVG, which is something I've had in mind for quite some time but is still science fiction as we speak.

from illustrator-layer-exporter.

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.