finos / a11y-theme-builder

DesignOps toolchain theme builder for accessibility inclusion using Atomic Design.
Apache License 2.0
44 stars 69 forks source link

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

Open aaronreed708 opened 3 months ago

aaronreed708 commented 3 months ago

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:

Proposed Solution

aaronreed708 commented 2 months ago

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.