@iris.interactive/handcook 2.6.16 → 2.6.19
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Welcome to HandCook 👨🍳
|
|
2
|
-

|
|
3
3
|

|
|
4
4
|
[](#)
|
|
5
5
|
[](https://twitter.com/captain\_iris)
|
package/package.json
CHANGED
|
@@ -112,6 +112,13 @@ export class HcSlider {
|
|
|
112
112
|
hiddenClass: `hc-slider-button-hidden${suffix}`
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
+
|
|
116
|
+
if (this.slider.hasAttribute('data-hc-slider-fade-effect')) {
|
|
117
|
+
this.options['effect'] = 'fade';
|
|
118
|
+
this.options['fadeEffect'] = {
|
|
119
|
+
crossFade: true
|
|
120
|
+
};
|
|
121
|
+
}
|
|
115
122
|
}
|
|
116
123
|
|
|
117
124
|
buildDom() {
|
|
@@ -312,12 +312,7 @@ $switch-off: var(--iris--switch--color-off);
|
|
|
312
312
|
$highlight-color: var(--iris--highlight--color);
|
|
313
313
|
$highlight-background-color: var(--iris--highlight--background-color);
|
|
314
314
|
$highlight-link-color: var(--iris--highlight--color-link);
|
|
315
|
-
$highlight-
|
|
316
|
-
|
|
317
|
-
// Highlight
|
|
318
|
-
$highlight-color: var(--iris--highlight--color);
|
|
319
|
-
$highlight-background-color: var(--iris--highlight--background-color);
|
|
320
|
-
$highlight-link-color: var(--iris--highlight--color-link);
|
|
315
|
+
$highlight-title-color: var(--iris--highlight--color-title);
|
|
321
316
|
$highlight-link-color-hover: var(--iris--highlight--color-link-hover);
|
|
322
317
|
|
|
323
318
|
// Single SIT highlight
|
|
@@ -418,4 +413,4 @@ $c-warning: #ff890e;
|
|
|
418
413
|
/ ================================================== */
|
|
419
414
|
$c-easy: #9ccc65;
|
|
420
415
|
$c-medium: #ff890e;
|
|
421
|
-
$c-hard: #ef5350;
|
|
416
|
+
$c-hard: #ef5350;
|