Skip to content

Commit

Permalink
fix: decrease link selectors specificity (#3339)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Jan 25, 2022
1 parent 18568d1 commit c672c6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/vaadin-lumo-styles/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,10 @@ const color = css`
color: var(--lumo-header-text-color);
}
a:any-link {
a:where(:any-link) {
color: var(--lumo-primary-text-color);
}
a:not(:any-link) {
color: var(--lumo-disabled-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:any-link:hover {
a:where(:any-link):hover {
text-decoration: underline;
}
Expand Down

0 comments on commit c672c6e

Please sign in to comment.