refactor!: rename the project from Monitor to MoShiro [CI]
ci/woodpecker/push/main-amd64-build Pipeline was successful

Namespaces, assemblies, solution, binaries, images, systemd units, config paths, environment variables, protocol methods and the Linux user are all renamed. Breaking: existing databases, node identities and installed units must be recreated.
This commit is contained in:
justme committed 2026-10-07 02:03:25 +08:00
1 parent 27ac7fb787
commit 2e146d4da7
309 files changed
+1565 -1572

No files matched your search

+2 -2
View File
@@ -65,7 +65,7 @@ export function useTheme(): [Theme, () => void] {
const next: Theme = theme === 'dark' ? 'light' : 'dark'
document.documentElement.dataset.theme = next
try {
localStorage.setItem('monitor-theme', next)
localStorage.setItem('moshiro-theme', next)
} catch {
// 存储不可用时只在本次会话生效
}
@@ -78,7 +78,7 @@ export function useTheme(): [Theme, () => void] {
export function applyStoredTheme() {
let theme: string | null = null
try {
theme = localStorage.getItem('monitor-theme')
theme = localStorage.getItem('moshiro-theme')
} catch {
// 忽略
}