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

Study a different way to use tokens in code #251

Closed
paulinea opened this issue Jan 6, 2025 · 0 comments · Fixed by #256
Closed

Study a different way to use tokens in code #251

paulinea opened this issue Jan 6, 2025 · 0 comments · Fixed by #256

Comments

@paulinea
Copy link
Member

paulinea commented Jan 6, 2025

Test Google solution to use tokens values directly by using OudsTheme object values to be able to replace for example OudsColorKeyToken.Content.Default.value by OudsTheme.colorScheme.content.default

If the study is conclusive, we should document OudsBorders, OudsColorScheme, OudsElevations, OudsGrids, ... and remove @Suppress annotations.
Nested classes can be created in these data classes if necessary.
fromToken() and .value will be used internally only.

@paulinea paulinea moved this from Triage to Todo in [OUDS] Project Jan 6, 2025
@florentmaitre florentmaitre self-assigned this Jan 7, 2025
@florentmaitre florentmaitre moved this from Todo to In Progress in [OUDS] Project Jan 7, 2025
@florentmaitre florentmaitre linked a pull request Jan 8, 2025 that will close this issue
@github-project-automation github-project-automation bot moved this from In Progress to Done in [OUDS] Project Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants