mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 16:24:25 +08:00
code refactor
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user