Skip to content

Commit 0b20737

Browse files
Refactor: Use CSS variable for history page background
Co-authored-by: randerson <[email protected]>
1 parent 6f675d9 commit 0b20737

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

special-pages/pages/history/public/index.html

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@
22
<html lang="en">
33
<head>
44
<style>
5-
html, body {
6-
background: #fafafa;
7-
}
8-
@media screen and (prefers-color-scheme: dark) {
9-
html, body {
10-
background: #333;
11-
}
5+
body {
6+
/* Token is replaced by native browser so background isn't white while History initializes */
7+
--loading-color: $LOADING_COLOR$;
8+
background: var(--loading-color);
129
}
1310
</style>
1411
<title>History</title>

0 commit comments

Comments
 (0)