Comments (5)
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.
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.
Hi Dennis,
Yes, I was thinking about adding an array with the theme ids inside the variant config :)
Thanks!!
from uiengine.
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.
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)
- Change default font-family and improve font rendering
- Update inline code style
- Update iconography HOT 2
- Update the default style of the tables HOT 3
- Update the layout and style of the topbar
- Update the layout and style of the navigation sidebar
- Update the layout and style of the component content header
- Update the style of the variant content header
- Update layout and style of the variant preview
- Update style of the variant code panel
- Update the layout and style of the icons token
- Update style of the spaces token representation
- Extend tokens to include representations for other css properties
- Add a larger handle to the right hand side of the iframe container
- Add "Copy to clipboard" functionality to code segments
- Create adapter for Nunjucks templating engine
- Code highlighting not respecting selected option in Settings
- Anchor links to ids don't work
- In-Page Nav on medium screen sizes
- Reference in DesignToken Color doesn't show up
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uiengine.