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

Re-map class-name color token in CodeBlock #2027

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Conversation

jorytindall
Copy link
Contributor

@jorytindall jorytindall commented Mar 26, 2024

📌 Summary

Draft/Example PR. As far as I can tell, this change only affects our JavaScript examples in the showcase.

Showcase 👉 https://hds-showcase-git-jt-code-block-class-name-hashicorp.vercel.app/components/code-block#highlight-lines

📸 Screenshots

Before
Screenshot 2024-03-26 at 12 24 01 PM

After
Screenshot 2024-03-26 at 12 08 28 PM


👀 Component checklist

💬 Please consider using conventional comments when reviewing this PR.

Copy link

vercel bot commented Mar 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
hds-showcase ✅ Ready (Inspect) Visit Preview Mar 26, 2024 8:36pm
hds-website ✅ Ready (Inspect) Visit Preview Mar 26, 2024 8:36pm

Copy link
Contributor

@KristinLBradley KristinLBradley left a comment

Choose a reason for hiding this comment

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

@jorytindall Looks good to me. Do you want to change this from a draft?

@jorytindall jorytindall marked this pull request as ready for review March 26, 2024 20:32
@jorytindall jorytindall requested a review from a team March 26, 2024 20:33
@jorytindall
Copy link
Contributor Author

@KristinLBradley thanks for the quick review! Added a changeset as well. I don't think this requires any changes in design, the only thing I can think of is creating a parallel language variant in the Figma component for JavaScript (which we don't have), but I'll discuss in our design sync tomorrow.

Copy link
Contributor

@majedelass majedelass left a comment

Choose a reason for hiding this comment

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

This looks good to me. Thanks for the quick turn around, glad we were able to get this in so quickly!

Copy link
Contributor

@didoo didoo left a comment

Choose a reason for hiding this comment

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

👌

@KristinLBradley
Copy link
Contributor

@jorytindall This looks good to merge when you are ready.

@jorytindall jorytindall merged commit d8d9b59 into main Mar 27, 2024
16 checks passed
@jorytindall jorytindall deleted the jt/code-block-class-name branch March 27, 2024 16:04
@hashibot-hds hashibot-hds mentioned this pull request Mar 27, 2024
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.

None yet

5 participants