Skip to content

Commit

Permalink
feat(a11y): Remove underline on anchor hover
Browse files Browse the repository at this point in the history
Make default link color the same as link theme color and not browser default.
  • Loading branch information
shadowbas authored and bas080 committed Nov 4, 2024
1 parent 7498a3a commit a6dc6ee
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -840,11 +840,22 @@ h3.sideNavHeader {
padding-left: 20px;
}

a {
color: mat.get-color-from-palette($rmm-default-primary);
}

a:hover {
text-decoration: none;
}

.mat-nav-list a.textLink {
color: mat.get-color-from-palette($rmm-default-primary);
text-decoration: underline;
}

.mat-nav-list a.textLink:hover {
text-decoration: none;
}

/*** Welcome Desk ***/

Expand Down

0 comments on commit a6dc6ee

Please sign in to comment.