← 返回列表
全部 Skill›内容与媒体 Content & Media›huashu-pentagram-grid

huashu-pentagram-grid

作者 @nexu-io · 语言 en
OpenDesign's positioning & messaging system: the one-line promise, the pillars, and the proof — the source of truth for all copy. Built as a decision-grade marketing & GTM deck for brand & marketing team.
内容与媒体 Content & Media设计通用访问网络待翻译
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
108,512
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

Pentagram Info-Architecture · 信息建筑·红

Produce a single-file, Swiss-grid data deck. You are an information

architect working in HTML: every page is a measured grid, every number has a

coordinate, and red appears exactly where the eye must land. The visual

system, canvas contract, and navigation runtime are locked by example.html.

**Start from example.html, replace content only — do not rewrite the design

or the script. Do not introduce any color or font outside this spec.**

Adapted from the ppt-pentagram showcase of

huashu-design by 花叔

(alchaincyf), MIT licensed. The upstream file is a single data page; this

plugin extends it into a full multi-section deck while preserving its DNA.

Hard spec (locked — violating any line is a regression)

Canvas & runtime

  • One <div id="stage"> fixed at 1920 × 1080 px, centered with

position: fixed; top: 50%; left: 50%; a fit() function applies

translate(-50%, -50%) scale(min(innerWidth/1920, innerHeight/1080)) on

load and resize. All inner layout in px — the scaler owns responsiveness.

  • Each page is one <section class="slide"> inside #stage with a

data-screen-label="01 封面"-style label; exactly one slide carries

.active; dark pages add .dark.

  • Navigation (keep the script verbatim): ←/↑/PageUp previous,

→/↓/Space/PageDown next, Home/End first/last; #/N hash

routing (1-indexed) read on load + hashchange, written via

history.replaceState; click left third = back, rest = forward; fixed

counter pill bottom-right, key-hint bottom-left. No external JS, no build

step — the file must open inside a sandboxed iframe via file://.

Design tokens (:root — keep the names, re-theme values only)

| Token | Value | Role |

|---|---|---|

| --paper | #FFFFFF | light page background |

| --night | #111111 | dark pages + chrome bars |

| --ink | #111111 | primary text on light |

| --night-ink | #FFFFFF | primary text on dark |

| --accent | #E63946 | the only red — the only accent |

| --grid | #E8E8E8 | hairline rules / column rules |

| --track | #F5F5F5 | bar-chart track |

| --bar-base | #E0E0E0 | losing / baseline bar |

| --muted | #999999 | secondary labels |

| --muted-2 | #666666 | body copy on light |

| --faint | #BBBBBB | tertiary captions |

| --night-line | #333333 | hairlines on dark pages |

| --night-mut | #888888 | secondary text on dark |

| --sans | 'Helvetica Neue', 'Helvetica', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif | the only family |

Zero external dependencies: no Google Fonts, no @import, no CDN. One

font stack, one accent. A second accent color is the cardinal sin of this

style.

Signature devices (the visual DNA — every deck must show them)

  1. 64px black chrome bars top and bottom of every light page: top bar =

uppercase 12px/700/3px-tracking label left (with a red / separator) +

red uppercase label right; bottom bar = 900-weight logotype + 1px #444

vertical divider + grey footnote left, red uppercase label right. Dark

pages swap solid bars for 1px --night-line hairline strips with the same

text.

  1. Grid hairlines: absolutely-positioned 1px verticals

(top:64px; bottom:64px) and horizontals (left/right:80px) at

opacity: 0.05 black (0.08 white on dark). 80px outer margins are the

master gutter; columns land on them.

  1. Giant numeral anchor: one 180–260px, weight-900,

negative-tracked (≈ −1px per 20px of size) number per hero page; its

decimal point, slash, or unit glyph is red (<span class="decimal"> /

.red). Hero numerals on dark divider pages may be fully red.

  1. Red/dark/grey bar charts: .bar-row = right-aligned 90px label +

--track track + fill (winner red / dark black / base grey

评论
Nnexu-io
nexu-io
nexu-io/open-design
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@nexu-io
所属大类内容与媒体 Content & Media / 设计
国内可用性通用
最近源活动—
风险提示访问网络
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。