Ver Fonte

chore: update changeset

Sv443 há 7 meses atrás
pai
commit
66b3194eea
1 ficheiros alterados com 2 adições e 1 exclusões
  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.