Coder Social home page Coder Social logo

Comments (5)

dennisreimann avatar dennisreimann commented on August 11, 2024

Hi Claudia,

Thanks for the feedback! Right now this isn‘t possible, but I might add it to the feature list. What would you imagine this to look like? Would this be part of the variant config in the component.config.js?
I‘m trying to figure out things like that from the users/devs perspective, that‘s why I‘m asking. Just go ahead an propose something that‘d fit your needs and we can discuss it :)

Cheers
Dennis

from uiengine.

dennisreimann avatar dennisreimann commented on August 11, 2024

I just remembered this: For design tokens there is already the theme config option:

Restricts display to only the given theme id. Can be used for categories and tokens.

I guess it'd be good to have the option to define an array.

from uiengine.

skyafonsoc avatar skyafonsoc commented on August 11, 2024

Hi Dennis,

Yes, I was thinking about adding an array with the theme ids inside the variant config :)

Thanks!!

from uiengine.

dennisreimann avatar dennisreimann commented on August 11, 2024

Alright, I‘ll have a look :)

Just because I‘m curious: are you just testing the UIengine or do you already use it in production?

from uiengine.

dennisreimann avatar dennisreimann commented on August 11, 2024

For now it works just like for the tokens and you can use the theme option to restrict the display to the given theme id. I will consolidate this in a future release, deprecate both the variant and tokens theme option and will turn this into something like onlyThemes, which will be an array.

The new theme option will be part of the v2.0.5 release.

from uiengine.

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.