Agent Skills
› nexu-io/motion-anything
› true-focus
true-focus
GitHub实现文字逐个聚焦的视觉效果,模糊非焦点词汇。无需依赖,支持 prefers-reduced-motion 无障碍模式。将 tf 类添加至标题即可自动按词分割并应用动画。
触发场景
需要展示短短语的文字聚焦效果
要求无依赖且兼容无障碍模式的视觉增强
安装
npx skills add nexu-io/motion-anything --skill true-focus -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"design_system": {
"requires": false
}
},
"name": "true-focus",
"triggers": [
"true focus",
"blur focus text",
"聚焦文字",
"逐词聚焦"
],
"description": "Words sit softly blurred; one snaps into focus at a time — leads the eye across a short phrase. One per view; short phrases. Under prefers-reduced-motion all words stay sharp.\n"
}
true-focus
Words blur except the focused one. Dependency-free, reduced-motion safe.
How to apply
Copy css+js; add class tf to a heading. Auto-splits by word.
版本历史
- b016900 当前 2026-07-11 17:11


