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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: manipulate design tokens from C# #114

Closed
EisenbergEffect opened this issue Nov 5, 2021 · 0 comments
Closed

feat: manipulate design tokens from C# #114

EisenbergEffect opened this issue Nov 5, 2021 · 0 comments
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

Comments

@EisenbergEffect
Copy link
Contributor

馃檵 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.

@EisenbergEffect EisenbergEffect added area:fast A FAST-specific issue community:request Issues specifically reported by a member of the community. area:fast-blazor feature A new feature status:needs-investigation Needs additional investigation labels Nov 5, 2021
@vnbaaij vnbaaij mentioned this issue Dec 10, 2021
4 tasks
@vnbaaij vnbaaij closed this as completed Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants