Skip to content

Write HTML. Render video. Built for agents.

fix(scripts): restore the texture instruction phrase a core test pins

ukimsanovddbd547fad33
diff --git a/docs/catalog/components/texture-mask-text.mdx b/docs/catalog/components/texture-mask-text.mdx
index 44661e8d09..4a2cc183b0 100644
--- a/docs/catalog/components/texture-mask-text.mdx
+++ b/docs/catalog/components/texture-mask-text.mdx
@@ -40,7 +40,7 @@ That writes `compositions/components/texture-mask-text/texture-mask-text.html`,
## Paste it into your composition
-Open `compositions/components/texture-mask-text/texture-mask-text.html`. Near the bottom is a real `<style>` element — copy it into
+Open `compositions/components/texture-mask-text/texture-mask-text.html`. Paste the real `<style>` element near the bottom into
your composition once. It defines `hf-texture-text` and every `hf-texture-*` class.
Leave the texture PNGs in `assets/texture-mask-text/masks/`. The CSS looks for them there.
diff --git a/scripts/generate-catalog-pages.ts b/scripts/generate-catalog-pages.ts
index 190d731f41..b946f05df1 100644
--- a/scripts/generate-catalog-pages.ts
+++ b/scripts/generate-catalog-pages.ts
@@ -588,7 +588,7 @@ function generateItemMdx(
lines.push(
"## Paste it into your composition",
"",
- `Open \`${primaryTarget}\`. Near the bottom is a real \`<style>\` element — copy it into`,
+ `Open \`${primaryTarget}\`. Paste the real \`<style>\` element near the bottom into`,
"your composition once. It defines `hf-texture-text` and every `hf-texture-*` class.",
"",
`Leave the texture PNGs in \`assets/${manifest.name}/masks/\`. The CSS looks for them there.`,