Skip to content

Conversation

dchyun
Copy link
Contributor

@dchyun dchyun commented Oct 2, 2025

📌 Summary

If merged, this PR would fix the names displayed in the website color palette for the focus tokens and the brand gradient tokens, to display their full names.

🛠️ Detailed description

In the existing color palette page on the website, each token is displayed with its full name on each card. However, due to an issue with the script that generates these names currently the tokens for focus and brand gradients are having only part of their name displayed.

This is due to the fact that the script only displays the first two "paths" of the token name, which works for all other tokens except these, which go beyond 2 name levels. The script has been updated to be more flexible with these longer name paths.

Preview page

📸 Screenshots

Before
Screenshot 2025-10-02 at 9 59 55 AM
Screenshot 2025-10-02 at 10 00 05 AM

After
Screenshot 2025-10-02 at 9 59 36 AM
Screenshot 2025-10-02 at 9 59 28 AM


💬 Please consider using conventional comments when reviewing this PR.

📋 PCI review checklist
  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
  • If applicable, I've worked with GRC to document the impact of any changes to security controls.
    Examples of changes to controls include access controls, encryption, logging, etc.
  • If applicable, I've worked with GRC to ensure compliance due to a significant change to the in-scope PCI environment.
    Examples include changes to operating systems, ports, protocols, services, cryptography-related components, PII processing code, etc.

Copy link

vercel bot commented Oct 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
hds-showcase Ready Ready Preview Oct 2, 2025 2:05pm
hds-website Ready Ready Preview Oct 2, 2025 2:05pm

@hashibot-hds hashibot-hds added the docs-website Content updates to the documentation website label Oct 2, 2025
@dchyun dchyun marked this pull request as ready for review October 2, 2025 14:11
@dchyun dchyun requested review from a team as code owners October 2, 2025 14:11
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.

💜

Copy link
Contributor

@heatherlarsen heatherlarsen left a comment

Choose a reason for hiding this comment

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

Great catch!

@dchyun dchyun merged commit bff5b15 into main Oct 3, 2025
12 checks passed
@dchyun dchyun deleted the dchyun/website-tokens-name-fix branch October 3, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-website Content updates to the documentation website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants