Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Questions] - Json output? React Native? #115

Closed
arielwb opened this issue Apr 16, 2020 · 1 comment · Fixed by #126
Closed

[Questions] - Json output? React Native? #115

arielwb opened this issue Apr 16, 2020 · 1 comment · Fixed by #126

Comments

@arielwb
Copy link

arielwb commented Apr 16, 2020

Hi!
I've been testing Diez and so far, very impressed! <3
I have a question: is it possible to generate a JSON output for the tokens?
Like a stand alone JSON file with the tokens

I'm looking for token management options that handle react, react-native, ios and android.
Our existing web and react native components are using styled-components with a shared json theme.

Diez seem to be so close to generate this as the tokens are already written in objects, right?

I also would like to know if you are planning on having React Native support. With a json output most of the web tokens would work, I believe that only a few properties would need changing (shadows for ex)

Thank you!

@roperzh
Copy link
Member

roperzh commented Apr 21, 2020

Hey @arielwb , thanks for bringing this up!

  • JSON as a target is slated for the next upcoming version (10.6.0) and should be out next week, I will ping you then! I created feat: JSON target #119 now to track JSON specifically
  • React Native as a target is in our Roadmap (React Native target #22) we don't have an estimate yet for when it's coming, if you have any ideas or suggestions please add them to the issue!

I will close this in favor of the existent issues, but feel free to reach out if you have any more questions.

@roperzh roperzh closed this as completed Apr 21, 2020
@roperzh roperzh linked a pull request May 11, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants