Skip to content

Commit 2eb67c2

Browse files
committed
Fix a11y issue
1 parent 7e11baa commit 2eb67c2

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/_includes/components/announcement.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
@media (prefers-color-scheme: dark) {
3131
.announcement,
3232
.announcement-btn {
33-
--btn-bg: #00a776;
33+
--btn-bg: #007150;
3434
--btn-color: #f0f1f3;
3535
--btn-shadow-color: #165b46;
3636
}
@@ -111,10 +111,6 @@
111111
}
112112

113113
/* Progress bar */
114-
.announcement:not(:has(.announcement-progress)) a[href] {
115-
/* Change background color when no progress bar is active */
116-
--btn-bg: #00a776;
117-
}
118114
.announcement:has(.announcement-progress) a[href] {
119115
position: relative;
120116
}

0 commit comments

Comments
 (0)