Skip to content

Commit 1e33470

Browse files
committed
fix version updates badge color contrast in dark mode
1 parent 14ac9ba commit 1e33470

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/components/StatusDashboard/styles.module.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,20 @@
193193
font-weight: 600;
194194
}
195195

196+
[data-theme="dark"] .version_updates_content .badge a {
197+
color: var(--ifm-color-primary-darkest);
198+
}
199+
196200
.version_updates_content .badge:hover {
197201
border-width: var(--ifm-badge-border-width);
198202
border-color: var(--ifm-color-primary);
199203
}
200204

205+
[data-theme="dark"] .version_updates_content .badge:hover {
206+
border-width: var(--ifm-badge-border-width);
207+
border-color: var(--ifm-color-primary-light);
208+
}
209+
201210
.errored_item {
202211
border: var(--ifm-table-border-width) solid transparent;
203212
cursor: pointer;

0 commit comments

Comments
 (0)