mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 23:00:03 +00:00
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:
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user