Skip to content

Commit

Permalink
feat!: change anchors styles to only apply to anchors with href (#3204)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfsmeds authored Dec 29, 2021
1 parent 7794f26 commit 61d7eff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/vaadin-lumo-styles/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,12 @@ const color = css`
color: var(--lumo-header-text-color);
}
a {
a:any-link {
color: var(--lumo-primary-text-color);
}
a:not(:any-link) {
color: var(--lumo-disabled-text-color);
}
blockquote {
color: var(--lumo-secondary-text-color);
Expand Down
2 changes: 1 addition & 1 deletion packages/vaadin-lumo-styles/typography.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const typography = css`
text-decoration: none;
}
a:hover {
a:any-link:hover {
text-decoration: underline;
}
Expand Down

0 comments on commit 61d7eff

Please sign in to comment.