This commit is contained in:
Baobhan Sith
2025-04-19 11:25:54 +08:00
parent 1db90d455b
commit 4d412da1ce
5 changed files with 122 additions and 10 deletions
@@ -171,7 +171,7 @@ export const deleteTheme = async (id: number): Promise<boolean> => {
* 初始化预设主题 (如果不存在)
*/
export const initializePresetThemes = async () => {
const defaultPresetName = '默认暗色'; // Default Dark
const defaultPresetName = '默认'; // Default Light
const themeDataJson = JSON.stringify(defaultXtermTheme);
const now = Date.now();