@hortonstudio/main 1.1.21 → 1.1.23
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/animations/hero.js +1 -6
- package/package.json +1 -1
- package/styles.css +1 -6
package/animations/hero.js
CHANGED
@@ -24,7 +24,7 @@ let heroTimeout = null; // Track the setTimeout
|
|
24
24
|
|
25
25
|
const config = {
|
26
26
|
global: {
|
27
|
-
animationDelay: 0.
|
27
|
+
animationDelay: 0.3
|
28
28
|
},
|
29
29
|
headingSplit: {
|
30
30
|
duration: 1.5,
|
@@ -244,9 +244,6 @@ export async function init() {
|
|
244
244
|
// Animation timeline
|
245
245
|
document.fonts.ready.then(() => {
|
246
246
|
|
247
|
-
// Wait for layout to stabilize before splitting text
|
248
|
-
setTimeout(() => {
|
249
|
-
|
250
247
|
// Split text setup (after fonts are loaded)
|
251
248
|
headingSplits = [];
|
252
249
|
|
@@ -514,8 +511,6 @@ export async function init() {
|
|
514
511
|
|
515
512
|
}, config.global.animationDelay * 1000);
|
516
513
|
|
517
|
-
}, 100); // Wait 100ms for layout to stabilize
|
518
|
-
|
519
514
|
});
|
520
515
|
|
521
516
|
// API exposure
|
package/package.json
CHANGED
package/styles.css
CHANGED
@@ -13,12 +13,7 @@ body .transition {display: block}
|
|
13
13
|
|
14
14
|
/* safari line detection fix */
|
15
15
|
[data-hs-hero="heading"] {
|
16
|
-
text-
|
17
|
-
font-variant-ligatures: none;
|
18
|
-
-webkit-font-feature-settings: "kern" 0;
|
19
|
-
font-feature-settings: "kern" 0;
|
20
|
-
-webkit-text-size-adjust: 100%;
|
21
|
-
text-size-adjust: 100%;
|
16
|
+
text-wrap: wrap !important;
|
22
17
|
}
|
23
18
|
|
24
19
|
/* scroll cleanliness */
|