Skip to content

Commit

Permalink
Update large link underline thickness
Browse files Browse the repository at this point in the history
  • Loading branch information
gethinwebster committed Aug 4, 2023
1 parent e9e72ee commit 1dfe444
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/internal/styles/links.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
text-decoration: map.get($variant, 'decoration');
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
text-decoration-color: map.get($variant, 'decoration-color');
text-decoration-thickness: map.get($variant, 'decoration-thickness');

@include styles.with-motion {
transition-property: color, text-decoration;
Expand All @@ -44,6 +45,7 @@
text-decoration: underline;
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
text-decoration-color: map.get($variant, 'decoration-color-hover');
text-decoration-thickness: map.get($variant, 'decoration-thickness');
}
}

Expand Down
1 change: 1 addition & 0 deletions src/link/constants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ $link-variants: (
'decoration': underline,
'decoration-color': currentColor,
'decoration-color-hover': currentColor,
'decoration-thickness': 0.3rem,
),
'top-navigation': (
'text-color-default': awsui.$color-text-interactive-default,
Expand Down

0 comments on commit 1dfe444

Please sign in to comment.