Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/internal/styles/links.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
/* Style used for links in slots/components that are text heavy, to help links stand out among
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
@mixin link-inline($font-size: 'inherit') {
-webkit-font-smoothing: inherit;
-moz-osx-font-smoothing: inherit;
@include link-font-size-style(map.get(constants.$link-font-sizes, $font-size));
@include link-variant-style(map.get(constants.$link-variants, 'primary'));
}
Expand Down
2 changes: 1 addition & 1 deletion src/link/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@if $variant == 'info' or $variant == 'top-navigation' {
@include styles.font-smoothing;
}
@if $variant == 'secondary' {
@if $variant == 'secondary' or $variant == 'primary' {
-webkit-font-smoothing: inherit;
-moz-osx-font-smoothing: inherit;
}
Expand Down
Loading