Skip to content

Latest commit

History

History
13 lines (8 loc) 路 999 Bytes

faq.md

File metadata and controls

13 lines (8 loc) 路 999 Bytes

FAQ

Why does style dictionary output [object Object]?

If you are using the standard token format you are expected to write your own transformers (See examples). While this is a bit more work at first, you can get much better results like splitting dark and light mode, or getting correct conversions for iOS and Android.

To get simple conversion out of the box you need without any custom code, you need to change to the original token format.

Why is the original format marked as deprecated?

This is the format that was originally shipped with the plugin. It is still in here for compatibility reasons and will stay for a long time.

It is marked as deprecated to push users towards the new standard format and to show that it will not receive any new feature updates.