vanilla-framework 4.21.2 → 4.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1486,3 +1486,30 @@
|
|
|
1486
1486
|
@mixin vf-icon-credit-card-themed {
|
|
1487
1487
|
@include vf-themed-icon($light-value: vf-icon-credit-card-url($colors--light-theme--icon), $dark-value: vf-icon-credit-card-url($colors--dark-theme--icon));
|
|
1488
1488
|
}
|
|
1489
|
+
|
|
1490
|
+
// ICONS ADDED IN MARCH 2025 v4.22.0
|
|
1491
|
+
// heading
|
|
1492
|
+
@function vf-icon-heading-url($color) {
|
|
1493
|
+
@return url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill='#{vf-url-friendly-color($color)}' d='M3.704 13.544V2.456h1.648v4.592h5.296V2.456h1.648v11.088h-1.648V8.456H5.352v5.088z'/%3E%3C/svg%3E");
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
@mixin vf-icon-heading($color: $colors--light-theme--icon) {
|
|
1497
|
+
background-image: vf-icon-heading-url($color);
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
@mixin vf-icon-heading-themed {
|
|
1501
|
+
@include vf-themed-icon($light-value: vf-icon-heading-url($colors--light-theme--icon), $dark-value: vf-icon-heading-url($colors--dark-theme--icon));
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
// quote
|
|
1505
|
+
@function vf-icon-quote-url($color) {
|
|
1506
|
+
@return url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill='#{vf-url-friendly-color($color)}' d='m3.623 12.782-2.026-.856q1.17-2.206 1.576-4.008.45-1.846.45-3.378v-.766q0-.36-.045-.765h3.018v.495q0 2.522-.72 4.82-.721 2.25-2.253 4.458m7.477 0-2.027-.856q1.125-2.206 1.531-4.008.45-1.846.45-3.378v-.766q0-.36-.045-.765h3.018q.045.135.045.27v.225q0 2.522-.766 4.82-.72 2.25-2.206 4.458'/%3E%3C/svg%3E");
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
@mixin vf-icon-quote($color: $colors--light-theme--icon) {
|
|
1510
|
+
background-image: vf-icon-quote-url($color);
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
@mixin vf-icon-quote-themed {
|
|
1514
|
+
@include vf-themed-icon($light-value: vf-icon-quote-url($colors--light-theme--icon), $dark-value: vf-icon-quote-url($colors--dark-theme--icon));
|
|
1515
|
+
}
|
|
@@ -2051,4 +2051,20 @@
|
|
|
2051
2051
|
}
|
|
2052
2052
|
}
|
|
2053
2053
|
|
|
2054
|
-
//
|
|
2054
|
+
// ICONS ADDED IN MARCH 2025
|
|
2055
|
+
|
|
2056
|
+
@mixin vf-p-icon-heading {
|
|
2057
|
+
.p-icon--heading {
|
|
2058
|
+
@extend %icon;
|
|
2059
|
+
@include vf-icon-heading-themed;
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
@mixin vf-p-icon-quote {
|
|
2064
|
+
.p-icon--quote {
|
|
2065
|
+
@extend %icon;
|
|
2066
|
+
@include vf-icon-quote-themed;
|
|
2067
|
+
}
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
// **Base and Pattern mixins accurate as of March 2025**
|