mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-21 17:24:41 +08:00
feat: set pwa color
This commit is contained in:
@@ -1 +1 @@
|
||||
20250729163024
|
||||
20250729183551
|
||||
@@ -20,6 +20,11 @@ export function ThemeToggle() {
|
||||
} else {
|
||||
meta.setAttribute('content', theme === 'dark' ? '#0c111c' : '#f9fbfe');
|
||||
}
|
||||
|
||||
document.documentElement.style.backgroundColor =
|
||||
theme === 'dark' ? '#0c111c' : '#f9fbfe';
|
||||
document.body.style.backgroundColor =
|
||||
theme === 'dark' ? '#0c111c' : '#f9fbfe';
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
'use client';
|
||||
|
||||
const CURRENT_VERSION = '20250729163024';
|
||||
const CURRENT_VERSION = '20250729183551';
|
||||
|
||||
// 版本检查结果枚举
|
||||
export enum UpdateStatus {
|
||||
|
||||
Reference in New Issue
Block a user