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

feat(tokens): prefix with t_ #774

Merged
merged 2 commits into from
Sep 25, 2024

Conversation

adamviktora
Copy link
Contributor

@adamviktora adamviktora commented Sep 20, 2024

Closes #771

@adamviktora adamviktora changed the title Tokens t prefix feat(tokens): prefix with t_ Sep 20, 2024
Copy link
Collaborator

@wise-king-sullyman wise-king-sullyman left a comment

Choose a reason for hiding this comment

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

Looks great! Just need to update now that I merged #763

Copy link
Collaborator

@wise-king-sullyman wise-king-sullyman left a comment

Choose a reason for hiding this comment

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

🥳

@@ -0,0 +1,856 @@
// all React tokens in V6, whose value is a Patternfly token variable (has prefix --pf-t)
// their naming was updated to be prefixed with 't_'
export const tTokens = [
Copy link
Collaborator

Choose a reason for hiding this comment

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

Super small nit, but wondering if this would make more sense named "reactTokens" or "tokensPrefixedWithT". Not a blocker and good to merge this as-is, justlet me know what you think.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, tokensPrefixedWithT is good. I wouldn't use reactTokens, because also the pf-v6-whatever are react tokens

@thatblindgeye thatblindgeye merged commit c82e454 into patternfly:main Sep 25, 2024
3 checks passed
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.

Tokens - prefix with t_
3 participants