Code Monkey home page Code Monkey logo

styler's People

Contributors

andreiinc avatar andreincu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

styler's Issues

Only 1 text style is generated from multiple items with different weights.

Hey Andrei, I'm opening an issue here so I can attach the .fig file so you can test and hopefully find what the issue is. Here is the .fig file: Styler Plugin Test File.zip

Example:

I have these text items:

text-5xl/leading-tight/thin
text-5xl/leading-tight/extralight
text-5xl/leading-tight/light
text-5xl/leading-tight/regular
text-5xl/leading-tight/medium
text-5xl/leading-tight/semibold
text-5xl/leading-tight/bold
text-5xl/leading-tight/extrabold
text-5xl/leading-tight/black

Clicking "Generate Styles" results in 1 text style named:
text-5xl

Additionally, each text item that was selected font weight changed to the first text item's font weight, 'thin'.

Allow multiple text styles with same name

As the Figma style picker is clearly showing a preview of text styles (for instance, if the style is bold, regular or italic) it is sometimes very neat to just leave them all with the same name.

I'm guessing each style is identified by som unique ID under the hood, which is why Figma itself allows multiple text styles to have the same name. I would for instance like to have three styles called Body โ€“ one regular, one bold, and one italic.

It would be nice if this plugin could also allow that, rather than merging the styles and choosing one of them.

Prevent updating existing styles

Hello!

I am using this plugin in combination with Themer to create themes! The problem is that in those themes, not all the colors will actually change. The Styler plugin detects already existing styles and will rename them instead. Can I prevent that somehow? For a given selection, I would like it to just plainly create a new style from it, even if a style with exactly the same value exists already. Is that somehow possible?

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.