Skip to content

Commit c752af8

Browse files
committed
Overriding border color for dark mode
1 parent edaa10d commit c752af8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/src/index.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66
/* Overriding bootstrap font color so that text appears white
77
in dark theme */
88
html[data-theme="dark"] .card-text {
9-
color: #ced6dd;
9+
color: var(--pst-color-text-base);
10+
}
11+
12+
/* Overriding bootstrap border color so that border appears white
13+
in dark theme */
14+
html[data-theme="dark"] .card {
15+
--bs-card-border-color: var(--pst-color-border);
1016
}
1117
</style>
1218

0 commit comments

Comments
 (0)