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

fix: Enhancement in color page token #4211

Merged
merged 9 commits into from
Sep 4, 2024
Merged

Conversation

riddhybansal
Copy link
Contributor

Closes #4110

Color Page Enhancements

Changelog

New

-Multiple H2 sections for Core, Component, and AI tokens
-Adding H3 anchor links inline with the H3 token headers in tables.
-Adding H3 mini-anchor link sections for easier navigation.
-Addition of a table under component tokens called "notification"

Copy link

vercel bot commented Aug 22, 2024

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

Name Status Preview Comments Updated (UTC)
carbondesignsystem ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 4, 2024 7:50pm

@riddhybansal riddhybansal marked this pull request as ready for review August 27, 2024 09:23
@riddhybansal riddhybansal requested review from a team as code owners August 27, 2024 09:23
@riddhybansal
Copy link
Contributor Author

Hey reviewer , Please review the notification table and there hex code as this is newly added. Please verify 2 links added in the the description of component tokens and ai tokens are correct or not. Please check if the tokens are correctly categorised and navigating to the correct table.

src/pages/elements/color/tokens.mdx Show resolved Hide resolved
src/pages/elements/color/tokens.mdx Show resolved Hide resolved
src/pages/elements/color/tokens.mdx Outdated Show resolved Hide resolved
Comment on lines 56 to 58
<a href="https://github.com/carbon-design-system/carbon/blob/main/packages/styles/docs/sass.md#component-tokens">
developer documentation{' '}
</a> for more information.
Copy link
Member

@alisonjoseph alisonjoseph Aug 27, 2024

Choose a reason for hiding this comment

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

Should be able to switch these links to markdown syntax to fix the line break vs html.
[developer documentation](https://github.com/carbon-design-system/carbon/blob/main/packages/styles/docs/sass.md#component-tokens)

Core tokens are global colors that are used across components. They are named
and grouped by the common UI element that they are applied to.

<AnchorLinks>
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<AnchorLinks>
<AnchorLinks small>

Copy link
Member

@aagonzales aagonzales left a comment

Choose a reason for hiding this comment

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

Looks good to me!

Copy link
Member

@alisonjoseph alisonjoseph left a comment

Choose a reason for hiding this comment

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

Couple super minor copy edits, but this looks great! 🔥

src/pages/elements/color/tokens.mdx Outdated Show resolved Hide resolved
src/pages/elements/color/tokens.mdx Outdated Show resolved Hide resolved
@riddhybansal
Copy link
Contributor Author

Couple super minor copy edits, but this looks great! 🔥

OOPs small ones :(

Copy link
Member

@alisonjoseph alisonjoseph left a comment

Choose a reason for hiding this comment

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

LGTM! I think you just need to run yarn format to get CI to pass

@alisonjoseph alisonjoseph enabled auto-merge (squash) September 4, 2024 19:31
@alisonjoseph alisonjoseph merged commit 6cdfdf6 into main Sep 4, 2024
7 checks passed
@alisonjoseph alisonjoseph deleted the Color_page_enhancement branch September 4, 2024 19:50
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.

Build color page enhancements
3 participants