Skip to content

Commit

Permalink
Merge pull request #431 from Infineon/429-documentation-link-update
Browse files Browse the repository at this point in the history
Documentation: link update
  • Loading branch information
verena-ifx authored Aug 29, 2023
2 parents 513a942 + c52f2ba commit 8611763
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/components/src/components/link/Usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ Inline links should assume the text properties of the content they are nested wi
<img src={LinkInlineStates} alt="Link Inline States" />

**Default**\
Native underlined text style. Text color is $ocean-500.
Native underlined text style. Text color is `ocean-500`.

**Hover**\
Text color is $ocean-600.
Text color is `ocean-600`.

**Pressed**\
Text color is $ocean-700.
Text color is `ocean-700`.

**Focus**\
Text color is $ocean-500. Text has a native browser outline of 1px outline width.
Text color is `ocean-500`. Text has a native browser outline of 1px outline width.

### Inline Link Error
<img src={LinkInlineError} alt="Link Inline Error" width="50%" />
Expand All @@ -86,16 +86,16 @@ Text color is $ocean-500. Text has a native browser outline of 1px outline width
<img src={LinkInlineErrorStates} alt="Link Inline Error States" />

**Default**\
Native underlined text style. Text color is $red-500.
Native underlined text style. Text color is `red-500`.

**Hover**\
Text color is $red-600.
Text color is `red-600`.

**Pressed**\
Text color is $red-700.
Text color is `red-700`.

**Focus**\
Text color is $red-500. Text has a native browser outline of 1px outline width.
Text color is `red-500`. Text has a native browser outline of 1px outline width.

## Icon placement

Expand Down

0 comments on commit 8611763

Please sign in to comment.