-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update Badge
tokens
#11275
Update Badge
tokens
#11275
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨🎉
Co-authored-by: Laura Griffee <[email protected]>
…olaris into ye/update-badge-tokens
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default badge should not be teal. This screen should show each badge and value.
It seems like the |
Info badge Success badge Caution badge Critical badge
New Badge (Specialty tokens)
|
Sorry gang, I misinterpreted the original issue. I read everything as "new badge tokens" instead of "New Badge" tokens and updated everything to the new tokens instead of just the Updated PR and screenshots in the description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems legit to me. Just would get @bernardojoaogarcia to double check the design changes. Awesome work @yurm04 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @yurm04 ✨🚀
thanks, @bernardojoaogarcia! could you also review and accept the changes in chromatic? I think that's the last task before we can merge this in |
@yurm04 Looking through some of the changes in chromatic I noticed that we are currently using the ![]() |
We should just omit steps 2 & 3 of this issue :). |
@bernardojoaogarcia I updated with the new changes for your review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thank you! @yurm04 ✨ 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @shopify/[email protected] ### Minor Changes - [#11275](#11275) [`4a7e090bc`](4a7e090) Thanks [@yurm04](https://github.com/yurm04)! - Updated semantic tokens `fill-info-secondary`, `text-info`, `fill-success-secondary`, `fill-caution-secondary`, `fill-critical-secondary`. - [#10958](#10958) [`5c183e0e1`](5c183e0) Thanks [@mrcthms](https://github.com/mrcthms)! - Added a live region to the `Page` `Header` to announce the `title` after navigation changes ### Patch Changes - [#11338](#11338) [`4ddba49c4`](4ddba49) Thanks [@alex-page](https://github.com/alex-page)! - `<Toast>` Fix icon color to properly inherit the parent color - Updated dependencies \[[`4a7e090bc`](4a7e090)]: - @shopify/[email protected] ## @shopify/[email protected] ### Minor Changes - [#11275](#11275) [`4a7e090bc`](4a7e090) Thanks [@yurm04](https://github.com/yurm04)! - Updated semantic tokens `fill-info-secondary`, `text-info`, `fill-success-secondary`, `fill-caution-secondary`, `fill-critical-secondary`. ## @shopify/[email protected] ### Patch Changes - Updated dependencies \[[`4a7e090bc`](4a7e090)]: - @shopify/[email protected] - @shopify/[email protected] ## @shopify/[email protected] ### Patch Changes - Updated dependencies \[[`4a7e090bc`](4a7e090)]: - @shopify/[email protected] ## [email protected] ### Patch Changes - Updated dependencies \[[`4a7e090bc`](4a7e090)]: - @shopify/[email protected] ## [email protected] ### Patch Changes - [#11334](#11334) [`ebff4315b`](ebff431) Thanks [@sarahill](https://github.com/sarahill)! - Added color token documentation - Updated dependencies \[[`4ddba49c4`](4ddba49), [`4a7e090bc`](4a7e090), [`5c183e0e1`](5c183e0)]: - @shopify/[email protected] - @shopify/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
<!-- ☝️How to write a good PR title: - Prefix it with [ComponentName] (if applicable), for example: [Button] - Start with a verb, for example: Add, Delete, Improve, Fix… - Give as much context as necessary and as little as possible - Open it as a draft if it’s a work in progress --> ### WHY are these changes introduced? Fixes https://github.com/Shopify/polaris-internal/issues/1066 <!-- Context about the problem that’s being addressed. --> ### WHAT is this pull request doing? * Updated semantic tokens in `polaris-tokens` * Creating two new `badge` specialty tokens * Updating `Badge` to use new tokens | Before | After | | -- | -- | |![capture-448f740d](https://github.com/Shopify/polaris/assets/21976492/051b4a56-ffc6-45d6-86c7-a0d88ea13eb2)|![capture-c81386f5](https://github.com/Shopify/polaris/assets/4642404/8eb43d0d-5a96-4bde-a1e7-f9c2139cb391)| <!-- Summary of the changes committed. Before / after screenshots are appreciated for UI changes. Make sure to include alt text that describes the screenshot. Include a video if your changes include interactive content. If you include an animated gif showing your change, wrapping it in a details tag is recommended. Gifs usually autoplay, which can cause accessibility issues for people reviewing your PR: <details> <summary>Summary of your gif(s)</summary> <img src="..." alt="Description of what the gif shows"> </details> --> ### How to 🎩 🖥 [Local development instructions](https://github.com/Shopify/polaris/blob/main/README.md#install-dependencies-and-build-workspaces) 🗒 [General tophatting guidelines](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md) 📄 [Changelog guidelines](https://github.com/Shopify/polaris/blob/main/.github/CONTRIBUTING.md#changelog) ### 🎩 checklist - [ ] Tested a [snapshot](https://github.com/Shopify/polaris/blob/main/documentation/Releasing.md#-snapshot-releases) - [ ] Tested on [mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing) - [ ] Tested on [multiple browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers) - [ ] Tested for [accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md) - [ ] Updated the component's `README.md` with documentation changes - [ ] [Tophatted documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md) changes in the style guide --------- Co-authored-by: Laura Griffee <[email protected]>
WHY are these changes introduced?
Fixes https://github.com/Shopify/polaris-internal/issues/1066
WHAT is this pull request doing?
polaris-tokens
badge
specialty tokensBadge
to use new tokensHow to 🎩
🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines
🎩 checklist
README.md
with documentation changes