Code Monkey home page Code Monkey logo

Comments (7)

hchiam avatar hchiam commented on August 27, 2024

Some links that might be helpful:

https://www.figma.com/plugin-docs/setup/

https://help.figma.com/hc/articles/360039958874-Make-plugins-for-the-Figma-Community

from open-props.

hchiam avatar hchiam commented on August 27, 2024

there's even a visual UI to create plugins and plugin templates! https://help.figma.com/hc/articles/360042786733

from open-props.

hchiam avatar hchiam commented on August 27, 2024

@argyleink, you're thinking of autocomplete, just like the work beind done for VSCode #28, right? so if someone's in figma they can type var(--pi and then it'll suggest something like var(--pink-0)? (or a list)

Simulated autocomplete:
simulated_autocomplete

from open-props.

argyleink avatar argyleink commented on August 27, 2024

more like importing tokens, like shown here https://jansix.at/resources/figma-tokens. maybe we piggy back on that plugin and offer a format it accepts and makes readily available to designers?

from open-props.

hchiam avatar hchiam commented on August 27, 2024

oh wow, that's an awesome figma plugin! we can generate open-props tokens into a json file and then paste it into figma tokens JSON tab, or hit the Import button (EDIT: or even use a URL!)

from open-props.

hchiam avatar hchiam commented on August 27, 2024

i could work on creating a script like _create-props.js or pass an option to it, then add a script named "gen:figma" (or "gen:tokens"?)

from open-props.

argyleink avatar argyleink commented on August 27, 2024

fixed by #144

from open-props.

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.