Explorar el Código

chore: update changeset

Sv443 hace 7 meses
padre
commit
66b3194eea
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      .changeset/healthy-llamas-exist.md

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

@@ -2,4 +2,5 @@
 "@sv443-network/userutils": major
 "@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.