1
0
mirror of https://github.com/tabler/tabler.git synced 2026-06-17 12:50:03 +04:00

refactor: migrate rgba() to color-mix() and color-transparent() (#2579)

This commit is contained in:
Paweł Kuna
2026-01-06 01:54:34 +01:00
committed by GitHub
parent a14425792b
commit 301e77898c
11 changed files with 32 additions and 48 deletions
+6
View File
@@ -0,0 +1,6 @@
---
"@tabler/core": patch
---
Migrated `rgba()` functions to modern CSS color functions (`color-mix()` and `color-transparent()`) for better browser support and cleaner code. Replaced `rgba(var(--#{$prefix}*-rgb), ...)` with `color-mix(in srgb, var(--#{$prefix}*) ..., transparent)`, static percentage `color-mix()` with `color-transparent()`, and `rgba($variable, ...)` with `color-transparent($variable, ...)`.