Skip to content

Commit defea3e

Browse files
committed
fix: use solid colors for navLink to resolve contrast issues
1 parent 59fb2eb commit defea3e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/CommunityPortal/Reports/Participation/Participation.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -470,13 +470,13 @@
470470
text-decoration: none;
471471
padding: 0.5rem 1rem;
472472
border-radius: 6px;
473-
background: rgb(255 255 255 / 20%);
473+
background: #5a4a8a;
474474
transition: background 0.3s ease;
475475
font-size: 0.9rem;
476476
}
477477

478478
.navLink:hover {
479-
background: rgb(255 255 255 / 30%);
479+
background: #4a3a7a;
480480
text-decoration: none;
481481
color: white;
482482
}
@@ -495,12 +495,12 @@
495495

496496
.analyticsPageDark .navLink {
497497
color: #fff;
498-
background: rgb(255 255 255 / 20%);
498+
background: #2d3e54;
499499
border: 1px solid #5a6b7d;
500500
}
501501

502502
.analyticsPageDark .navLink:hover {
503-
background: rgb(255 255 255 / 30%);
503+
background: #3d4e64;
504504
color: #fff;
505505
}
506506

0 commit comments

Comments
 (0)