2026-06-15 15:04:43 -07:00
|
|
|
<!doctype html>
|
2026-09-12 09:30:28 +08:00
|
|
|
<html lang="zh-CN" data-theme="light">
|
2026-06-15 15:04:43 -07:00
|
|
|
<head>
|
2026-09-16 16:28:46 +08:00
|
|
|
<meta name="baidu-site-verification" content="codeva-32NHQfJ8qL" />
|
2026-06-15 15:04:43 -07:00
|
|
|
<meta charset="UTF-8" />
|
2026-09-12 09:30:28 +08:00
|
|
|
<meta name="theme-color" content="#f4f1ea" />
|
2026-09-11 11:33:32 +08:00
|
|
|
<script>
|
|
|
|
|
(function () {
|
2026-09-11 13:36:14 +08:00
|
|
|
var storageKey = 'memind-theme';
|
|
|
|
|
var migrationKey = 'memind-theme-migration';
|
2026-09-12 09:30:28 +08:00
|
|
|
var migrationVersion = 'light-default-2026-09-12';
|
2026-09-11 13:36:14 +08:00
|
|
|
if (localStorage.getItem(migrationKey) !== migrationVersion) {
|
2026-09-12 09:30:28 +08:00
|
|
|
var previousMigration = localStorage.getItem(migrationKey);
|
|
|
|
|
var stored = localStorage.getItem(storageKey);
|
|
|
|
|
if (previousMigration === 'dark-default-2026-09-11' && stored !== 'light') {
|
|
|
|
|
localStorage.setItem(storageKey, 'light');
|
|
|
|
|
}
|
2026-09-11 13:36:14 +08:00
|
|
|
localStorage.setItem(migrationKey, migrationVersion);
|
|
|
|
|
}
|
2026-09-12 09:30:28 +08:00
|
|
|
var theme = localStorage.getItem(storageKey) === 'dark' ? 'dark' : 'light';
|
2026-09-11 11:33:32 +08:00
|
|
|
document.documentElement.dataset.theme = theme;
|
|
|
|
|
document.documentElement.style.colorScheme = theme;
|
2026-09-12 09:30:28 +08:00
|
|
|
var meta = document.querySelector('meta[name="theme-color"]');
|
|
|
|
|
if (meta) meta.setAttribute('content', theme === 'dark' ? '#0f1419' : '#f4f1ea');
|
2026-09-11 11:33:32 +08:00
|
|
|
})();
|
|
|
|
|
</script>
|
2026-06-15 15:04:43 -07:00
|
|
|
<meta
|
|
|
|
|
name="viewport"
|
|
|
|
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"
|
|
|
|
|
/>
|
|
|
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
2026-08-14 09:42:50 +08:00
|
|
|
<title>TKMind</title>
|
2026-06-15 15:04:43 -07:00
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="root"></div>
|
|
|
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|