code refactor

This commit is contained in:
MaysWind
2025-08-30 00:38:45 +08:00
parent 32cf41a7a0
commit 4d0e376568
16 changed files with 126 additions and 120 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
import type { ColorValue } from '@/core/color.ts';
import type { ColorValue, ColorStyleValue } from '@/core/color.ts';
const defaultColor: ColorValue = '000000';
@@ -6,6 +6,8 @@ export const DEFAULT_ICON_COLOR: ColorValue = defaultColor;
export const DEFAULT_ACCOUNT_COLOR: ColorValue = defaultColor;
export const DEFAULT_CATEGORY_COLOR: ColorValue = defaultColor;
export const DEFAULT_COLOR_STYLE_VARIABLE: ColorStyleValue = 'var(--default-icon-color)';
const allAvailableColors: ColorValue[] = [
'000000', // black
'8e8e93', // gray