Skip to content

Commit f63825c

Browse files
Dark mode fix
1 parent fc0b651 commit f63825c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

templates/base.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,32 @@
9292
color: var(--text-primary);
9393
}
9494

95+
.table td, .table th {
96+
color: var(--text-primary);
97+
border-color: var(--border-color);
98+
}
99+
100+
.table thead th {
101+
color: var(--text-primary);
102+
border-color: var(--border-color);
103+
}
104+
95105
.table-striped > tbody > tr:nth-of-type(odd) > td,
96106
.table-striped > tbody > tr:nth-of-type(odd) > th {
97107
background-color: var(--bg-tertiary);
98108
}
99109

110+
/* Force all text in tables to use proper colors */
111+
.table td strong,
112+
.table td small,
113+
.table td span:not(.badge) {
114+
color: var(--text-primary) !important;
115+
}
116+
117+
.table td small {
118+
color: var(--text-secondary) !important;
119+
}
120+
100121
.text-muted {
101122
color: var(--text-secondary) !important;
102123
}

0 commit comments

Comments
 (0)