feat: manipulate design tokens from C# #114
Labels
area:fast
A FAST-specific issue
community:request
Issues specifically reported by a member of the community.
feature
A new feature
status:needs-investigation
Needs additional investigation
馃檵 Feature Request
Design tokens are very powerful but it's hard to access the full features of the system today without writing JavaScript. We should look into a way to create a C# API that can set token values on arbitrary components.
馃 Expected Behavior
I should be able to set any token to a value on any component.
馃槸 Current Behavior
Tokens can only be set through the design system provider.
馃拋 Possible Solution
We'll need to be able to get tokens by name globally most likely. Then we'll need some JS interop from the C# side to find the token and set the value, using some sort of element reference.
The text was updated successfully, but these errors were encountered: