@agent-link/server 0.1.75 → 0.1.76
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/web/app.js +1 -1
- package/web/index.html +2 -2
package/package.json
CHANGED
package/web/app.js
CHANGED
|
@@ -81,7 +81,7 @@ const App = {
|
|
|
81
81
|
const dragOver = ref(false);
|
|
82
82
|
|
|
83
83
|
// Theme
|
|
84
|
-
const theme = ref(localStorage.getItem('agentlink-theme') || '
|
|
84
|
+
const theme = ref(localStorage.getItem('agentlink-theme') || 'light');
|
|
85
85
|
function applyTheme() {
|
|
86
86
|
document.documentElement.setAttribute('data-theme', theme.value);
|
|
87
87
|
const link = document.getElementById('hljs-theme');
|
package/web/index.html
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
<title>AgentLink</title>
|
|
7
7
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
|
8
8
|
<link rel="stylesheet" href="/style.css">
|
|
9
|
-
<link id="hljs-theme" rel="stylesheet" href="/vendor/github
|
|
9
|
+
<link id="hljs-theme" rel="stylesheet" href="/vendor/github.min.css">
|
|
10
10
|
<script>
|
|
11
11
|
// Apply saved theme immediately to prevent flash
|
|
12
12
|
(function() {
|
|
13
|
-
var t = localStorage.getItem('agentlink-theme') || '
|
|
13
|
+
var t = localStorage.getItem('agentlink-theme') || 'light';
|
|
14
14
|
document.documentElement.setAttribute('data-theme', t);
|
|
15
15
|
var link = document.getElementById('hljs-theme');
|
|
16
16
|
if (link) link.href = t === 'light'
|