Add env var for background-85

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2022-08-02 13:33:09 +02:00
commit aef4fd39b9
No known key found for this signature in database
GPG key ID: D1D45825D60C24D2
2 changed files with 5 additions and 0 deletions

View file

@ -84,6 +84,10 @@ if (import.meta.env.VITE_CUSTOM_THEME) {
"--background",
import.meta.env.VITE_THEME_BACKGROUND as string
);
style.setProperty(
"--background-85",
import.meta.env.VITE_THEME_BACKGROUND_85 as string
);
}
const history = createBrowserHistory();