agentgui 1.0.628 → 1.0.629
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/docs/index.html +9 -2
- package/package.json +1 -1
package/docs/index.html
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<body class="bg-base-1 text-content1">
|
|
22
22
|
|
|
23
23
|
<!-- Nav -->
|
|
24
|
-
<nav id="site-nav" class="border-b px-6 py-3 flex items-center justify-between">
|
|
24
|
+
<nav id="site-nav" class="border-b px-6 py-3 flex items-center justify-between" style="background:rgba(20,10,45,0.88);border-color:rgba(118,75,162,0.4)">
|
|
25
25
|
<span class="font-bold text-lg">AgentGUI</span>
|
|
26
26
|
<div class="flex items-center gap-3">
|
|
27
27
|
<a href="https://github.com/AnEntrypoint/agentgui" class="btn btn-sm btn-ghost">GitHub</a>
|
|
@@ -39,7 +39,14 @@
|
|
|
39
39
|
html.setAttribute('data-theme', isDark ? 'light' : 'dark');
|
|
40
40
|
document.getElementById('icon-sun').style.display = isDark ? 'block' : 'none';
|
|
41
41
|
document.getElementById('icon-moon').style.display = isDark ? 'none' : 'block';
|
|
42
|
-
document.getElementById('site-nav')
|
|
42
|
+
const nav = document.getElementById('site-nav');
|
|
43
|
+
if (isDark) {
|
|
44
|
+
nav.style.background = 'rgba(232,225,255,0.92)';
|
|
45
|
+
nav.style.borderColor = 'rgba(102,126,234,0.3)';
|
|
46
|
+
} else {
|
|
47
|
+
nav.style.background = 'rgba(20,10,45,0.88)';
|
|
48
|
+
nav.style.borderColor = 'rgba(118,75,162,0.4)';
|
|
49
|
+
}
|
|
43
50
|
}
|
|
44
51
|
</script>
|
|
45
52
|
|