fix(registry): self-contain lava texture asset and remove dead code

- Fix caption-texture-lava mask URL to use local lava.png instead of
  /assets/texture-mask-text/masks/ absolute path that 404s on install
- Add lava.png to registry-item.json files array so it ships with
  npx hyperframes add caption-texture-lava
- Remove unused mulberry32 function from caption-clip-wipe
This commit is contained in:
Miguel Ángel
2026-05-17 17:16:37 -04:00
parent ed5747a723
commit 7dc795f60f
5 changed files with 9 additions and 24 deletions
@@ -21,8 +21,8 @@
filter: contrast(var(--mask-contrast, 1));
}
.hf-texture-lava {
-webkit-mask-image: url("/assets/texture-mask-text/masks/lava.png");
mask-image: url("/assets/texture-mask-text/masks/lava.png");
-webkit-mask-image: url("lava.png");
mask-image: url("lava.png");
}
*,
+2 -2
View File
@@ -21,8 +21,8 @@
filter: contrast(var(--mask-contrast, 1));
}
.hf-texture-lava {
-webkit-mask-image: url("/assets/texture-mask-text/masks/lava.png");
mask-image: url("/assets/texture-mask-text/masks/lava.png");
-webkit-mask-image: url("lava.png");
mask-image: url("lava.png");
}
*,
@@ -10,6 +10,11 @@
"path": "caption-texture-lava.html",
"target": "compositions/components/caption-texture-lava.html",
"type": "hyperframes:snippet"
},
{
"path": "lava.png",
"target": "compositions/components/lava.png",
"type": "hyperframes:asset"
}
],
"preview": "https://static.heygen.ai/hyperframes-oss/registry/components/caption-texture-lava/preview.mp4?v=1779051416"