修复十六进制颜色不兼容的bug

This commit is contained in:
AncTe committed 2023-06-20 11:56:25 +08:00
1 parent d4c03cdaec
commit 6ecf201beb
4 files changed
+13 -9

No files matched your search

+1 -1
View File
@@ -563,7 +563,7 @@ type RGBArray = [number, number, number, number?];
/**
* 样板的颜色字符串
*/
type Color = `#${string}` | _RGBA | RGBArray;
type Color = `#${string}` | _RGBA | RGBArray | 'transparent';
/**
* 四个方向