-
Notifications
You must be signed in to change notification settings - Fork 10
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
DetailCell: Add variant stories #2407
base: main
Are you sure you want to change the base?
Conversation
|
Size Change: 0 B Total Size: 96.3 kB ℹ️ View Unchanged
|
A new build was pushed to Chromatic! 🚀https://5e1bf4b385e3fb0020b7073c-aparswzouv.chromatic.com/ Chromatic results:
|
@@ -94,7 +94,7 @@ const DetailCell = function (props: DetailCellProps): React.ReactElement { | |||
|
|||
const styles = StyleSheet.create({ | |||
subtitle: { | |||
color: color.offBlack64, | |||
color: "#6D6F74", |
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.
Hardcoding for now based on the thread in WB-1797. It still has a11y color warnings so will get feedback!
GeraldRequired Reviewers
Don't want to be involved in this pull request? Comment |
npm Snapshot: NOT Published🤕 Oh noes!! We couldn't find any changesets in this PR (8ceaf62). As a result, we did not publish an npm snapshot for you. |
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 see the color contrast errors you're talking about...glad to know those will be addressed! This looks good to me otherwise!
Summary:
Add scenario and variant stories for DetailCell. This will help us confirm styling for different states with visual regression tests.
For now, the color contrast issues haven't been addressed yet. Coordinating with design on what styling updates we want long term (see WB-1797 comments for more details!). Including these stories for now so we can have visual regression tests ready when we address the color issues!
Issue: WB-1797
Test plan:
?path=/docs/packages-cell-detailcell-all-variants--docs
)?path=/story/packages-cell-detailcell--scenarios
)