-
Notifications
You must be signed in to change notification settings - Fork 85
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
[WNMGDS-2669] Make token changes informed by Figma migration #2927
Conversation
It is the same value ultimately
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.
I ran yarn test:browser:all
and got 1 failure
~[webkit] › stories.test.ts:72:13 › Components/Button/All Anchor Buttons › with core theme › matches snapshot ~
it doesn't make a whole lotta sense given you didn't change any button tokens though
scratch that - all tests pass a 2nd time through
@@ -280,7 +280,6 @@ export const components: AnyTokenValues = { | |||
'__background-color': t.color['white'], | |||
'__padding': t.spacer['4'], | |||
'-overlay__background-color': t.color['background-dialog-mask'], | |||
'-icon__size': '0.8125rem', |
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.
🤯
@zarahzachz, what was the visual error you got? What did it look like? I ran the full VRTs on my own computer and didn't get anything. |
These didn't actually change content-wise, but storybook wants to render them slightly differently. I do believe the code this is based on is deterministic, but it's just not something we can practically determine on our own 😆
Summary
Renames
--table-striped__background-color
--table__background-color--striped
--table-striped-header__background-color
--table-header__background-color--striped
--form-hint__color
--hint__color
--form-hint__color--inverse
--hint__color--inverse
--form-error__color
--inline-error__color
--form-error__color--inverse
--inline-error__color--inverse
Removals
--dialog-icon__size
--icon__color--error
--icon__color--inverse
--icon__color--primary
--icon__color--success
--icon__color--warn
--label__color--inverse
Changed values
--alert__icon-size
now usesrems
instead ofpx
and accurately reflects the final size of those iconsHow to test
Checklist
[WNMGDS-####] Title
or [NO-TICKET] if this is unticketed work.Type
(only one) label for this PR, if it is a breaking change, label should only beType: Breaking
Impacts
, multiple can be selected.