-
Notifications
You must be signed in to change notification settings - Fork 53
feature trio pattern example #134
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
base: main
Are you sure you want to change the base?
Conversation
- Created pattern example in KitchenSink - Get feedback on CSS and the potential changes to components
|
🟢 No design token changes found |
🟢 No visual differences foundOur visual comparison tests did not find any differences in the UI. |
<Stack direction="horizontal" padding="spacious" gap="spacious" style={{textAlign: 'center'}}> | ||
<style> | ||
{` | ||
.FeatureTrio { |
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.
as this is just an example in this layout, can you inline this for now?
/> | ||
<Heading as="h6">24/7 support</Heading> | ||
<Text size="300">Get help whenever you need it from out always-on team</Text> | ||
<Link>See support options</Link> |
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.
should this have a href
?
} | ||
|
||
.FeatureTrio a > span { | ||
color: #A475F9 |
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 example that we provide for feature-trio doesn't need to apply the purple link color from the screenshot, as that was just an example. Can we remove this? If we did enable customisation, it should also be done through css variables rather than direct hex override.
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 was also to show the difficulty in changing the color for the link component. happy to remove in this example but this should be addressed I would think if the image for the FeatureTrio is an accurate representation of what we might need to create.
} | ||
|
||
.FeatureTrio img { | ||
box-shadow: var(--brand-River-visual-shadow); |
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.
Don't think our example needs to have a box shadow. Recommend we remove this. cc. @danielguillan.
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 have a note for our meeting on this as well but without one the color is pretty light and hard to see on some monitors. (like mine)
Co-authored-by: Rez <[email protected]>
Summary
Creating a FeatureTrio example within the kitchen sink on Storybook. This example should show users how they can create a FeatureTrio using our components with ease.
List of notable changes:
What should reviewers focus on?
Steps to test:
Supporting resources (related issues, external links, etc):
Contributor checklist:
Reviewer checklist:
Screenshots: