sfc-utils 1.3.73 → 1.3.75
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.
|
@@ -42,11 +42,16 @@ function appendLayoutScripts(isEmbedded, isAdRemoved) {
|
|
|
42
42
|
setTimeout(() => {
|
|
43
43
|
if (!isEmbedded && !isApp) {
|
|
44
44
|
let blueconicURL = getBlueconic(window.location.origin)
|
|
45
|
-
let script = document.createElement('script')
|
|
46
|
-
script.type = 'text/javascript'
|
|
47
|
-
script.defer = true
|
|
48
|
-
script.src = blueconicURL
|
|
49
|
-
document.body.appendChild(script)
|
|
45
|
+
let script = document.createElement('script')
|
|
46
|
+
script.type = 'text/javascript'
|
|
47
|
+
script.defer = true
|
|
48
|
+
script.src = blueconicURL
|
|
49
|
+
document.body.appendChild(script)
|
|
50
|
+
|
|
51
|
+
// Init sailthru
|
|
52
|
+
if (window && window.Sailthru){
|
|
53
|
+
window.Sailthru.init({ customerId: thisBrand.attributes.sailCustomer })
|
|
54
|
+
}
|
|
50
55
|
}
|
|
51
56
|
}, 5000)
|
|
52
57
|
}
|
|
@@ -60,6 +65,8 @@ function formatHDN(isEmbedded, url_add, meta) {
|
|
|
60
65
|
// Put url_add into a new meta object to pass in
|
|
61
66
|
const metaHDN = Object.assign({}, meta)
|
|
62
67
|
metaHDN.URL_ADD = url_add
|
|
68
|
+
// Add sailthru var
|
|
69
|
+
metaHDN.SAIL_CUST = thisBrand.attributes.sailCustomer
|
|
63
70
|
// Make sure this is free on app
|
|
64
71
|
if (isApp) {
|
|
65
72
|
metaHDN.PAYWALL_SETTING = "free"
|
package/package.json
CHANGED
package/styles/variables.less
CHANGED
|
@@ -56,12 +56,14 @@
|
|
|
56
56
|
//color variables
|
|
57
57
|
@white: #FFFFFF;
|
|
58
58
|
@black: #111111;
|
|
59
|
+
@off-white: #FCFCFC;
|
|
59
60
|
|
|
60
61
|
@grey-100: #3E3E3E;
|
|
61
62
|
@grey-75: #676767;
|
|
62
63
|
@grey-50: #909090;
|
|
63
64
|
@grey-25: #C7C7C7;
|
|
64
65
|
@grey-0: #E1E1E1;
|
|
66
|
+
@grey-00: #EFEFEF;
|
|
65
67
|
@grey-pale: #F4F4F4;
|
|
66
68
|
|
|
67
69
|
//brights: best used as highlights or spot colors
|