From d6fdfd9f93fe425158a63f5c99dc1fa0244705ef Mon Sep 17 00:00:00 2001
From: luocong2016 <luocong2016@126.com>
Date: Wed, 22 Feb 2023 18:30:46 +0800
Subject: [PATCH] fix<utils>: Color Regular Error (#2567)

---
 src/utils/color.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils/color.ts b/src/utils/color.ts
index 67a6b56..3c0ca5e 100644
--- a/src/utils/color.ts
+++ b/src/utils/color.ts
@@ -6,7 +6,7 @@
  * @return  Boolean
  */
 export function isHexColor(color: string) {
-  const reg = /^#([0-9a-fA-F]{3}|[0-9a-fA-f]{6})$/;
+  const reg = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;
   return reg.test(color);
 }
 
--
libgit2 0.23.3