Fix: Background Image fix for dark theme loading change. (#8292)

## Summary

The variable whose name implied it was just an image URL bundled other
background pieces.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8292-Fix-Background-Image-fix-for-dark-theme-loading-change-2f26d73d36508177ae7bc24ae3cb027b)
by [Unito](https://www.unito.io)
This commit is contained in:
Alexander Brown
2026-01-24 15:03:51 -08:00
committed by GitHub
parent e8022f9dee
commit 133427b08e
3 changed files with 12 additions and 6 deletions

View File

@@ -13,9 +13,17 @@
<style>
@media (prefers-color-scheme: dark) {
body {
background-color: #202020;
/* Setting it early for background during load */
--bg-color: #202020;
}
}
body {
background-color: var(--bg-color);
background-image: var(--bg-img);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
</style>
<link rel="manifest" href="manifest.json">
</head>