1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-08 04:12:26 +04:00

Migrate core SCSS from @import to @use/@forward (#2709)

This commit is contained in:
Paweł Kuna
2026-07-22 23:33:04 +02:00
committed by GitHub
parent 7206717d1b
commit 9820d110f6
142 changed files with 863 additions and 586 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
@use '../config' as *;
.toast {
// scss-docs-start toast-css-vars
--#{$prefix}toast-zindex: #{$zindex-toast};
@@ -62,7 +64,7 @@
@include border-top-radius(calc(var(--#{$prefix}toast-border-radius) - var(--#{$prefix}toast-border-width)));
.btn-close {
margin-right: calc(-.5 * var(--#{$prefix}toast-padding-x)); // stylelint-disable-line function-disallowed-list
margin-right: calc(-0.5 * var(--#{$prefix}toast-padding-x)); // stylelint-disable-line function-disallowed-list
margin-left: var(--#{$prefix}toast-padding-x);
}
}