feat: create a more seamless PWA top bar (#6960)

This commit is contained in:
Elian Doran
2025-09-14 19:10:03 +03:00
committed by GitHub
4 changed files with 41 additions and 0 deletions

View File

@@ -29,6 +29,10 @@
}
</style>
<!-- Required for match the PWA's top bar color with the theme -->
<!-- This works even when the user directly changes --root-background in CSS -->
<div id="background-color-tracker" style="position: absolute; visibility: hidden; color: var(--root-background); transition: color 1ms;"></div>
<!-- Required for correct loading of scripts in Electron -->
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>