-
Notifications
You must be signed in to change notification settings - Fork 151
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
Create <TextLink /> component #92
Milestone
Comments
After discussion with @wEprous, we added few new tokens for taking control of link underline.
|
bul-nick-al
pushed a commit
to bul-nick-al/orbit
that referenced
this issue
Aug 19, 2022
…eview-to-show-how-to-scroll-to-specific-item Update HorizontalScroll component
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Link is used usually in the paragraph text to show that something navigates you to another location.
Visual style
Parameters
Note: When external is true, it opens links in new tab/window.
Design tokens
For all configurations:
font-weight: $fontWeightLinks
Based on selected configuration:
color: $colorLinkPrimary
color: $colorLinkSecondary
text-decoration: underline
// token not needed, just visual changeHover behavior
There are two things that will happen when the user hovers any link:
$colorLinkPrimary
color (for both styles, actually). For darkening percentage use design token$modifierDarkenHover
Other things to mention
<Text>
or<Headline>
components and it should inherit Size from parent text.Some inspiration from other’s React components for heading component:
https://polaris.shopify.com/components/navigation/link
https://instacart.github.io/Snacks/#link-1
http://grommet.io/docs/anchor
http://design-system.pluralsight.com/components/link/
http://www.jetbrains.org/ring-ui/link.html
The text was updated successfully, but these errors were encountered: