瀏覽代碼

chore: update changeset

Sv443 7 月之前
父節點
當前提交
66b3194eea
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      .changeset/healthy-llamas-exist.md

+ 2 - 1
.changeset/healthy-llamas-exist.md

@@ -2,4 +2,5 @@
 "@sv443-network/userutils": major
 ---
 
-Changed `hexToRgb()` and `rgbToHex()` to support hex color codes with an alpha channel
+Changed `hexToRgb()` and `rgbToHex()` to support `#RGBA` and `#RRGGBBAA` color codes (with an alpha channel).  
+Both functions now have an `alpha` value immediately after `blue`, which can be set to `undefined` to restore the old behavior.