1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

Add border-opacity variable for improved color utility (#2061)

This commit is contained in:
Paweł Kuna
2025-01-17 22:10:22 +01:00
committed by GitHub
parent 1801e4161a
commit 7aa216f666
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Add border-opacity variable for improved color utility

View File

@@ -13,6 +13,7 @@
}
.border-#{"" + $color} {
--#{$prefix}border-opacity: 1;
border-color: rgba(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}border-opacity)) !important;
}
}