sun158's picture
Hermes Agent backup - 2026-06-24 06:04:03
20dbb3c verified
Raw
History Blame Contribute Delete
1.97 kB
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hermes</title>
<!-- Prevent FOUC by applying theme classes immediately -->
<script>
(function() {
try {
const brightness = localStorage.getItem('hermes_brightness') || 'system';
const style = localStorage.getItem('hermes_style') || 'ink';
// Resolve dark mode
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
const isDark = brightness === 'dark' || (brightness === 'system' && prefersDark);
// Resolve comic style
const isComic = style === 'comic';
// Apply classes immediately
if (isDark) {
document.documentElement.classList.add('dark');
}
if (isComic) {
document.documentElement.classList.add('comic');
}
} catch (e) {
console.warn('Failed to apply theme:', e);
}
})();
</script>
<script type="module" crossorigin src="/assets/js/index-BRUJLoVV.js"></script>
<link rel="modulepreload" crossorigin href="/assets/js/rolldown-runtime-BKwlnUi0.js">
<link rel="modulepreload" crossorigin href="/assets/js/mermaid-BShvZgMM.js">
<link rel="modulepreload" crossorigin href="/assets/js/ui-vendor-CFspo_7D.js">
<link rel="modulepreload" crossorigin href="/assets/js/vendor-CGQjY-CL.js">
<link rel="modulepreload" crossorigin href="/assets/js/vue-vendor-DLpd8SmQ.js">
<link rel="modulepreload" crossorigin href="/assets/js/_plugin-vue_export-helper-DXyB3Dgs.js">
<link rel="modulepreload" crossorigin href="/assets/js/profiles-DxxYzdDR.js">
<link rel="stylesheet" crossorigin href="/assets/css/vendor-DX3NCGtF.css">
<link rel="stylesheet" crossorigin href="/assets/css/index-B4RjQ6Ny.css">
</head>
<body>
<div id="app"></div>
</body>
</html>