adecksibility-widget 2.5.1 → 2.5.2
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/README.md +1 -1
- package/dist/adecksibility-embed.umd.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Standalone accessibility widget bundle for WordPress and non-WordPress sites.
|
|
|
11
11
|
platform: "standalone"
|
|
12
12
|
};
|
|
13
13
|
</script>
|
|
14
|
-
<script src="https://cdn.jsdelivr.net/npm/adecksibility-widget@2.5.
|
|
14
|
+
<script src="https://cdn.jsdelivr.net/npm/adecksibility-widget@2.5.2/dist/adecksibility-embed.umd.js" defer></script>
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Notes
|
|
@@ -2456,9 +2456,9 @@ global.ADecksibility.initWhenReady = initWhenReady;
|
|
|
2456
2456
|
var primary = sanitizeCssValue(colors.primaryColor, '#1e3bc9');
|
|
2457
2457
|
var modalBg = sanitizeCssValue(colors.modalBgColor, '#ffffff');
|
|
2458
2458
|
var iconText = sanitizeCssValue(colors.iconTextColor, '#222222');
|
|
2459
|
-
var resetBg = sanitizeCssValue(colors.resetBgColor, '#1e3bc9');
|
|
2459
|
+
var resetBg = sanitizeCssValue(colors.resetBgColor || colors.primaryColor || colors.headerBgColor, '#1e3bc9');
|
|
2460
2460
|
var resetText = sanitizeCssValue(colors.resetTextColor, '#ffffff');
|
|
2461
|
-
var resetHover = sanitizeCssValue(colors.resetHoverColor, '#152a91');
|
|
2461
|
+
var resetHover = sanitizeCssValue(colors.resetHoverColor || colors.primaryColor || colors.headerBgColor, '#152a91');
|
|
2462
2462
|
var widgetBg = sanitizeCssValue(colors.widgetColor, '#1e3bc9');
|
|
2463
2463
|
|
|
2464
2464
|
return [
|
package/package.json
CHANGED