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