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): generate dark charts tokens file #33

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

srambach
Copy link
Member

@srambach srambach commented Apr 17, 2024

@lboehling @mcoker Please verify that 1) the tokens that have changed in _tokens-charts.scss look correct and 2) the contents of _tokens-charts-dark.scss look correct and that's the way we want to have the tokens arranged in the files.

Fixes #32

@mcoker
Copy link
Contributor

mcoker commented Apr 17, 2024

IMO we can call the chart tokens whatever we want as long as we have vars for all of the style bits that existed before. I'll defer to @lboehling on the naming unless you'd like some specific feedback from me. What's there looks good to me though! 👍👍

@lboehling
Copy link

Everything in there looks correct to me, too! I tried to keep the variables similarly named to current charts because I wasn't familiar with how victory consumed them. I'm open to adjusting the names if we want them to be more semantic.

I do not see any of the string variables I entered in Figma, though.
image
image

I wasn't sure if these would export properly from Figma, so maybe that's just a limit to what Figma variables can do?

@srambach
Copy link
Member Author

Hmm. @lboehling those variables aren't getting exported to the .json so that's why they aren't in the .scss. I'll put in an issue to find out why.

@srambach
Copy link
Member Author

srambach commented Apr 17, 2024

Follow up to get string variables: #34

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

🍕

@srambach srambach merged commit 0e76044 into patternfly:main Apr 18, 2024
3 checks passed
Copy link

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Generate dark chart tokens
3 participants