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

AST: MakeResetStyles #1

Open
wants to merge 8 commits into
base: ast
Choose a base branch
from

Conversation

Mitch-At-Work
Copy link

Adds detection for makeResetStyles and collects tokens
Stores all variables that are assigned the makeResetStyles function
Stores variables as base classes in metadata, can link back to function/variable name to connect styles

{
"property": "[iconSpacingVar]",
"token": "tokens.spacingHorizontalSNudge",
"path": ["[iconSpacingVar]"]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For these, I think we'd need to look up and resolve this name which in this case is --fui-Button__icon--spacing a variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants