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

Remove "color" and "typography" from variable names #31

Merged
merged 3 commits into from
Jun 30, 2022
Merged

Conversation

CCAyl
Copy link
Contributor

@CCAyl CCAyl commented Jun 29, 2022

this adds a custom transformer to get rid of the "colors" and "typography" prefix on the exported variables. we can add to this to add back in the hyphens for scss or play with the camel case in the .ts, but wanted to get this small win in

Copy link
Collaborator

@alexandra-lim alexandra-lim left a comment

Choose a reason for hiding this comment

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

Magic!! 🪄 🎩 🐇

# Conflicts:
#	build/scss/colors.scss
#	build/scss/typography.scss
#	build/ts/colors.ts
#	build/ts/typography.ts
Copy link
Collaborator

@iryanclarke iryanclarke left a comment

Choose a reason for hiding this comment

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

Oh hot damn, this is the stuff 🔥

catbop

@CCAyl CCAyl merged commit b998f38 into main Jun 30, 2022
@iryanclarke iryanclarke deleted the rm-prefix-from-name branch July 4, 2022 20:27
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.

3 participants