freddie 0.0.63 → 0.0.64
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/package.json +1 -1
- package/src/web/app.js +1 -1
- package/src/web/index.html +2 -2
package/package.json
CHANGED
package/src/web/app.js
CHANGED
|
@@ -41,7 +41,7 @@ const AppState = {
|
|
|
41
41
|
batch: { results: null, running: false },
|
|
42
42
|
agents: { count: 0, active: null },
|
|
43
43
|
}
|
|
44
|
-
function applyTheme() { document.
|
|
44
|
+
function applyTheme() { document.body.setAttribute('data-theme', AppState.theme) }
|
|
45
45
|
applyTheme()
|
|
46
46
|
window.__debug.state = () => AppState
|
|
47
47
|
|
package/src/web/index.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
|
-
<html lang="en" class="ds-247420"
|
|
2
|
+
<html lang="en" class="ds-247420">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
@@ -13,7 +13,7 @@ html, body { margin: 0; padding: 0; min-height: 100vh; }
|
|
|
13
13
|
#app { padding: 16px 20px; box-sizing: border-box; }
|
|
14
14
|
</style>
|
|
15
15
|
</head>
|
|
16
|
-
<body>
|
|
16
|
+
<body data-theme="dark">
|
|
17
17
|
<div id="app"></div>
|
|
18
18
|
<script type="module" src="./app.js"></script>
|
|
19
19
|
</body>
|