@farazirfan/costar-server-executor 1.7.76 → 1.7.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/public/index.html CHANGED
@@ -5,8 +5,19 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>CoStar Dashboard</title>
7
7
  <meta name="color-scheme" content="dark light" />
8
- <script type="module" crossorigin src="./assets/index-Ca6N-CJM.js"></script>
9
- <link rel="stylesheet" crossorigin href="./assets/index-DrVVVhsP.css">
8
+ <script>
9
+ // Prevent theme flash — apply saved theme before Lit loads
10
+ (function() {
11
+ try {
12
+ var s = JSON.parse(localStorage.getItem('costar.dashboard.settings.v1') || '{}');
13
+ var t = s.theme || 'system';
14
+ if (t === 'system') t = matchMedia('(prefers-color-scheme:dark)').matches ? 'dark' : 'light';
15
+ document.documentElement.setAttribute('data-theme', t);
16
+ } catch(e) {}
17
+ })();
18
+ </script>
19
+ <script type="module" crossorigin src="./assets/index-Cn-1TuzC.js"></script>
20
+ <link rel="stylesheet" crossorigin href="./assets/index-C30yQbjh.css">
10
21
  </head>
11
22
  <body>
12
23
  <costar-app></costar-app>