From 2beada4c5b6d529b985c680a4672fa7e9a0587df Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 11 三月 2025 11:27:01 +0800 Subject: [PATCH] 一些更改 --- src/logics/theme/dark.ts | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/logics/theme/dark.ts b/src/logics/theme/dark.ts index bf6c34a..4d751cf 100644 --- a/src/logics/theme/dark.ts +++ b/src/logics/theme/dark.ts @@ -1,4 +1,10 @@ -import { addClass, hasClass, removeClass } from '/@/utils/domUtils'; +import { addClass, hasClass, removeClass } from '@/utils/domUtils'; + +export type CustomColorType = { + name: string; + light: string; + dark: string; +}; export async function updateDarkTheme(mode: string | null = 'light') { const htmlRoot = document.getElementById('htmlRoot'); -- Gitblit v1.9.3