Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Commit 1fb38be

Browse files
authored
explicitly set bg colors for light and dark mode (#51)
1 parent 428ee4f commit 1fb38be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/css/custom.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
:root {
2+
--ifm-background-color: #ffffff;
23
--ifm-color-primary: #1a660b;
34
--ifm-color-primary-dark: #175c0a;
45
--ifm-color-primary-darker: #165709;
@@ -9,6 +10,7 @@
910
}
1011

1112
[data-theme="dark"] {
13+
--ifm-background-color: #1b1b1d;
1214
--ifm-color-primary: #58c142;
1315
--ifm-color-primary-dark: #4eb03a;
1416
--ifm-color-primary-darker: #4aa636;

0 commit comments

Comments
 (0)