Sv443 7 месяцев назад
Родитель
Сommit
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.