-
Notifications
You must be signed in to change notification settings - Fork 198
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
feat: define missing color property in some components #2754
Conversation
🦋 Changeset detectedLatest commit: 7f9def6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
97e0784
to
10974f2
Compare
🚀 Deployed on https://pr-2754--spectrum-css.netlify.app |
File metricsSummaryTotal size: 4.48 MB* Table reports on changes to a package's main file. Other changes can be found in the collapsed Details section below.
Detailsdatepicker
radio
slider
splitview
treeview
well
* Results are not gzipped or minified. * An ASCII character in UTF-8 is 8 bits or 1 byte. |
Use typography template in Meter storybook. Helps make sure that color is set on this heading without coming from higher up in the DOM, and completes code TODO item.
During the work to create a single entry point for PostCSS, it was discovered that parts of several components did not define a color, and instead relied on a color being set higher up in the DOM. This update sets a color on some of these and adds mods where necessary.
10974f2
to
7f9def6
Compare
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.
Outstanding addition! Love to see this update going in.
Description
Sets the
color
property in parts of some components that were relying on inheriting a color from higher up in the DOM. These affected components were noticed in VRTs during the work to create a single entry point for PostCSS. The following has been updated:spectrum-heading-color
token per design guidance. Adds a new property.The Jira issue and VRT also listed the icon component, but that one has been left as is. Its color is intentionally set to
inherit
by default.CSS-731
How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Validation steps
Expected VRT differences:
spectrum-body-color
.Regression testing
Validate:
To-do list