Coder Social home page Coder Social logo

Issue with exported JSON about design-tokens HOT 3 CLOSED

lunik2 avatar lunik2 commented on September 22, 2024
Issue with exported JSON

from design-tokens.

Comments (3)

caoimghgin avatar caoimghgin commented on September 22, 2024

Might consider using modes in Figma variables rather than defining light/dark within a single mode?

from design-tokens.

andrewpucci avatar andrewpucci commented on September 22, 2024

@lukasoppermann I believe that #273 and #274 are duplicates of this issue. I am also having this same problem.

To me, it looks like any variables that are referencing another variable get put into the redundant mode in the hierarchy. In my example below, all of these tokens should be in color.default.component.logo.company but there is one that references other variables that has another mode injected into the hierarchy for unknown reasons, which becomes color.default.default.component.logo.company.

image

from design-tokens.

lukasoppermann avatar lukasoppermann commented on September 22, 2024

This should be fixed thanks to @jonbrooks in the latest release, if so, please comment and close. 🙏

from design-tokens.

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.