-
Notifications
You must be signed in to change notification settings - Fork 209
feat(link): new typography tokens, focus color and design, WHCM focus state #3570
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
Merged
aramos-adobe
merged 21 commits into
spectrum-two
from
aramos-adobe/css1019-link-s2-migration
Mar 13, 2025
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
a575e30
chore(link): adding yarn file
aramos-adobe ed32dbf
feat(link): add new migration and changeset
aramos-adobe 097937e
chore(link): add changeset and revert template file
aramos-adobe 4e7c083
chore(link): updating lock file
aramos-adobe c8ecf03
chore(link): adding missing metadata files
aramos-adobe 899caee
Merge branch 'spectrum-two' into aramos-adobe/css1019-link-s2-migration
aramos-adobe c32ed10
Merge branch 'spectrum-two' into aramos-adobe/css1019-link-s2-migration
aramos-adobe c80c8ea
Merge branch 'spectrum-two' into aramos-adobe/css1019-link-s2-migration
aramos-adobe d689ffe
feat(link): update inline story, template, inline style
aramos-adobe 56f7726
Merge branch 'aramos-adobe/css1019-link-s2-migration' of https://gith…
aramos-adobe 8ba4d26
Merge branch 'spectrum-two' into aramos-adobe/css1019-link-s2-migration
aramos-adobe 96e6a94
Merge branch 'spectrum-two' into aramos-adobe/css1019-link-s2-migration
aramos-adobe 0fdb725
Merge branch 'spectrum-two' into aramos-adobe/css1019-link-s2-migration
aramos-adobe 143410f
Merge branch 'spectrum-two' into aramos-adobe/css1019-link-s2-migration
aramos-adobe 85e6c2d
Merge branch 'spectrum-two' into aramos-adobe/css1019-link-s2-migration
aramos-adobe 6b99839
feat(link): updating changeset, inline docs, stories
aramos-adobe 3046bd3
Merge branch 'aramos-adobe/css1019-link-s2-migration' of https://gith…
aramos-adobe 6e0b181
Merge branch 'spectrum-two' into aramos-adobe/css1019-link-s2-migration
aramos-adobe 5e6039d
chore(link): update template layout and story
aramos-adobe 54a4f9a
chore(link): adding search metadata
aramos-adobe b24cbc7
chore(link): adding reason for non quiet inline
aramos-adobe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| --- | ||
| "@spectrum-css/link": major | ||
| --- | ||
|
|
||
| ### Link S2 migration | ||
|
|
||
| The link component is updated with S2 specifications, colors, and typography. There is a new inline variant which uses the `.spectrum-Link--inline` modifier class and the default is the standalone variant. | ||
|
|
||
| #### Note | ||
|
|
||
| - Quiet styling does not apply to the inline variant so that it is distinguishable from the surrounding text and the underline indicator is clear | ||
| - `--mod-spectrum-link-font-weight` can be used to adjust inline variant to match surrounding text. Apply font weights to this mod `inherit` does not apply. | ||
|
|
||
| ## New tokens | ||
|
castastrophe marked this conversation as resolved.
|
||
|
|
||
| ### Color | ||
|
|
||
| `spectrum-link-focus-indicator-color` | ||
| `spectrum-link-focus-indicator-thickness` | ||
| `spectrum-link-focus-indicator-gap` | ||
| `spectrum-link-corner-radius` | ||
|
|
||
| ### Typography | ||
|
|
||
| `spectrum-link-line-height` | ||
| `spectrum-link-line-height-cjk-100` | ||
| `spectrum-link-font-size` | ||
| `spectrum-link-font-style` | ||
| `spectrum-link-font-weight` | ||
| `spectrum-link-text-underline-thickness` | ||
| `spectrum-link-text-underline-gap` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.