@sonordev/site-kit 2.7.0 → 2.7.1
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/dist/{chunk-KCA5OLS4.js → chunk-2OGUBINV.js} +9 -4
- package/dist/chunk-2OGUBINV.js.map +1 -0
- package/dist/{chunk-FN7ADGWH.mjs → chunk-MCIELZWP.mjs} +9 -4
- package/dist/chunk-MCIELZWP.mjs.map +1 -0
- package/dist/commerce/index.js +46 -46
- package/dist/commerce/index.mjs +1 -1
- package/dist/index.js +26 -26
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-FN7ADGWH.mjs.map +0 -1
- package/dist/chunk-KCA5OLS4.js.map +0 -1
|
@@ -5025,6 +5025,11 @@ function loadSquareSDK2(environment) {
|
|
|
5025
5025
|
document.head.appendChild(script);
|
|
5026
5026
|
});
|
|
5027
5027
|
}
|
|
5028
|
+
function resolveCssVar(name, fallback) {
|
|
5029
|
+
if (typeof window === "undefined") return fallback;
|
|
5030
|
+
const value = getComputedStyle(document.documentElement).getPropertyValue(name).trim();
|
|
5031
|
+
return value || fallback;
|
|
5032
|
+
}
|
|
5028
5033
|
var SINGLE_TICKET_KEY = "__single__";
|
|
5029
5034
|
function EventCheckout({
|
|
5030
5035
|
event,
|
|
@@ -5115,11 +5120,11 @@ function EventCheckout({
|
|
|
5115
5120
|
const card = await payments.card({
|
|
5116
5121
|
style: {
|
|
5117
5122
|
".input-container": {
|
|
5118
|
-
borderColor: "
|
|
5123
|
+
borderColor: resolveCssVar("--sk-border", "#d1d5db"),
|
|
5119
5124
|
borderRadius: "6px"
|
|
5120
5125
|
},
|
|
5121
5126
|
".input-container.is-focus": {
|
|
5122
|
-
borderColor: "
|
|
5127
|
+
borderColor: resolveCssVar("--sk-primary", "#2563eb")
|
|
5123
5128
|
},
|
|
5124
5129
|
".input-container.is-error": {
|
|
5125
5130
|
borderColor: "#dc2626"
|
|
@@ -7784,5 +7789,5 @@ exports.registerForEvent = registerForEvent;
|
|
|
7784
7789
|
exports.useEventModal = useEventModal;
|
|
7785
7790
|
exports.validateAddress = validateAddress;
|
|
7786
7791
|
exports.validateDiscountCode = validateDiscountCode;
|
|
7787
|
-
//# sourceMappingURL=chunk-
|
|
7788
|
-
//# sourceMappingURL=chunk-
|
|
7792
|
+
//# sourceMappingURL=chunk-2OGUBINV.js.map
|
|
7793
|
+
//# sourceMappingURL=chunk-2OGUBINV.js.map
|