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

[TB] Research ability to dynamically update UI with only JSON token generator #985

Open
3 tasks
aaronreed708 opened this issue Aug 7, 2024 · 1 comment
Open
3 tasks
Labels
help wanted Extra attention is needed sdk Software development kit theme builder app Theme Builder application

Comments

@aaronreed708
Copy link
Contributor

Problem/Concern

This issue is related to #888 and the other issues surrounding our decision to have a "single source of truth" JSON token generator rather than continuing to support both CSS and JSON generation. If we no longer update CSS variables currently in use by the application as the user changes values in their design system, then can we still achieve this dynamic user experience?

Among the things to look at:

  • Can StyleDictionary run in a browser?
  • Would it need to be manually triggered (e.g. on a save)? Currently UI dynamically changes as user changes values in design system.
  • How would a Netlify or Docker user retrieve the the CSS representing the design system they built in Theme Builder?

Proposed Solution

@aaronreed708 aaronreed708 added help wanted Extra attention is needed sdk Software development kit theme builder app Theme Builder application labels Aug 7, 2024
@aaronreed708 aaronreed708 changed the title [TB] Research ability to dynamically UI with only JSON token generator [TB] Research ability to dynamically update UI with only JSON token generator Aug 8, 2024
@aaronreed708
Copy link
Contributor Author

We discussed in call on 08/22 that we can still have the SDK code to propagate CSS changes internally, yet not generate CSS for export. Probably no need for StyleDictionary or save trigger. It will just work as it does currently.

We need to make sure the export and import of a design system will work when JSON token generator code is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed sdk Software development kit theme builder app Theme Builder application
Projects
Status: High Priority
Development

No branches or pull requests

1 participant