ARTICLE DETAIL

资讯详情

深耕网站视觉设计与运营推广的一线实战洞察。

Execution Lock

Execution Lock Execution Lock【免费下载链接】ppt-masterAI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations,>项目地址: https://gitcode.com/GitHub_Trending/ppt/ppt-mastercanvasviewBox: 0 0 1280 720format: PPT 16:9colorsbg: #FFFFFFsecondary_bg: #F4F4F4primary: #1A1A1Aaccent: #D9251Dsecondary_accent: #1A4FA0text: #1A1A1Atext_secondary: #666666text_tertiary: #999999border: #E8E8E8image_rendering: minimalist-swissimage_palette: mono-inktypographyfont_family: Arial, Microsoft YaHei, sans-seriftitle_family: Arial Black, Microsoft YaHei, sans-serifbody_family: Arial, Microsoft YaHei, sans-serifcode_family: Consolas, Courier New, monospacebody: 18title: 32subtitle: 22annotation: 13cover_title: 84hero_number: 36display_xl: 92specimen: 240iconslibrary: tabler-outlinestroke_width: 1.5brand_library: simple-iconsinventory: blockquote, grid-3x3imagescover_bg: images/cover_bg.pngnegative_space: images/negative_space.pngclosing_grid: images/closing_grid.pngpage_rhythmP01: anchorP02: breathingP03: denseP04: denseP05: denseP06: denseP07: denseP08: denseP09: anchorP10: breathingP11: denseP12: denseP13: denseP14: breathingpage_chartsP03: timelineP04: vertical_listP05: team_rosterP06: timelineP07: comparison_columnsP08: quadrant_text_bulletsP11: icon_gridP12: numbered_stepsP13: icon_gridforbiddenMixing icon librariesstyle,class,foreignObject,textPath,font-face,animate*,script,iframe,symboluseHTML named entities in text — write as raw Unicode; XML reserved chars must be escaped asamp; lt; gt; quot; apos;Rounded corners (rx 0) — except insidesimple-iconsbrand glyphsLinear/radial gradients — pure flat color onlyDrop shadows / filter effects### 2.1 canvas单位是 px不是 pt viewBox: 0 0 1280 720 与 format: PPT 16:9 锁定画布。这与 PPT Master 的全局单位策略一致确认页、spec_lock.md 与 SVG 全程使用无单位 px不存在 pt 这一层——SVG 画布本身就是 1280×720 pxpx 是真正的排版与执行单位单一单位避免了确认时说 20pt、写进 SVG 又变成另一个数的尺寸漂移见 [docs/faq.md](https://link.gitcode.com/i/7cb6414728bb8a6436b628b0b46e55bd)。创建项目时可用 python3 skills/ppt-master/scripts/project_manager.py init my_widescreen --format ppt169 把一个精确注册的画布格式直接记入工程元数据[skills/ppt-master/scripts/project_manager.py](https://link.gitcode.com/i/6e1d58f2038eaff138fff144f174e94f)。 ### 2.2 colors九个稳定角色 图片风格路由 颜色分区把这套瑞士风格压缩成九个命名角色 | 角色 | HEX | 语义 | | --- | --- | --- | | bg | #FFFFFF | 主背景纯白 | | secondary_bg | #F4F4F4 | 次级背景/浅灰分区 | | primary | #1A1A1A | 近黑主色用于标题与结构 | | accent | #D9251D | 瑞士红唯一强强调色 | | secondary_accent | #1A4FA0 | 辅助强调蓝 | | text | #1A1A1A | 正文主文字 | | text_secondary | #666666 | 次级文字 | | text_tertiary | #999999 | 三级/注释文字 | | border | #E8E8E8 | 网格线与分隔边框 | 除颜色外该分区还锁定了两枚**图片路由值**image_rendering: minimalist-swiss 与 image_palette: mono-ink。它们是风格键而非描述文字——前者指向仓库内置渲染风格目录中的 [minimalist-swiss](https://link.gitcode.com/i/a40914a4beaba930bb889f9f8215d24c)后者指向色板目录中的 [mono-ink](https://link.gitcode.com/i/b62d663a842f41048f663a2b4479fa04)。从源码结构看这正是技术设计文档所说routing values的含义执行期生成或检索图片时按锁中键值查目录而不是逐页临时发挥从而保证整册 AI 图片同属一种渲染语言黑白单色、瑞士极简。 一个重要的边界规则技术设计文档明确情境性着色、渐变/特效描色、稀疏的非结构性展示字体点缀仍属**页面级决策**一旦某个值出现复现或稳定语义角色就必须在上游锁中登记角色[docs/technical-design.md](https://link.gitcode.com/i/ac9f9f33aedeee1a1286b2349e44b29f)。换言之spec_lock.md 的 colors 分区登记的是册级身份页面内的临时变化不回填锁。 ### 2.3 typography字体栈与 9 档字号阶梯 字体部分锁定了四条 family 角色Arial 主导 微软雅黑兜底中文标题用 Arial Black代码用 Consolas与一个 9 档字号阶梯 | 档位 | px | 典型用途从角色命名推断 | | --- | --- | --- | | body | 18 | 正文基准字号 | | annotation | 13 | 注释/图注 | | subtitle | 22 | 副标题 | | title | 32 | 页面标题 | | hero_number | 36 | 大数字强调 | | cover_title | 84 | 封面主标题 | | display_xl | 92 | 超大展示字号 | | specimen | 240 | 字标/巨型字样展示页 | 在 720px 高的画布上240px 的 specimen 档意味着近三分之一版面留给一个巨型字形——这是瑞士风格以排版为图形的典型手法。字号全部以 px 记录与 SVG 中的 font-size 值一一对应执行器无需任何换算。 ### 2.4 icons主库、品牌库与库存清单 图标分区同时登记了三件事 - library: tabler-outline stroke_width: 1.5主图标库与描边粗细对应仓库图标目录 [skills/ppt-master/templates/icons/tabler-outline/](https://link.gitcode.com/i/73f6cfc5360026d082f32f9b452f55e5) 中的线性图标集 - brand_library: simple-icons品牌 glyph 走独立库simple-icons与主库物理隔离 - inventory: blockquote, grid-3x3本册实际用到的图标清单。库存清单的价值在于导出期校验——SVG 中出现的图标必须出自这份 inventory 与指定库禁止跨库混用见 forbidden 第一条。 ### 2.5 images图片资源按命名槽位固定 图片分区把三张图钉死在语义槽位上cover_bg封面底图、negative_space负空间页、closing_grid结尾网格页值均为项目内 images/ 的相对路径。执行器据此按槽位取图而不是按文件名模糊匹配这也使哪些图片属于本项目资源在锁中一次性可审计。 ### 2.6 page_rhythm14 页密度节奏表 text P01 anchor → P02 breathing → P03–P08 dense × 6 → P09 anchor → P10 breathing → P11–P13 dense × 3 → P14 breathing14 页被编排成锚点页anchor结构性重页— 呼吸页breathing低密度留白— 密集页dense信息承载页交替的节奏封面与中段第 9 页是两个 anchor呼吸页分布在 P02、P10、P14其余为 dense。这相当于在动手画每一页 SVG 之前先用一行一行的键值把整册的信息密度曲线定死执行器逐页照表施工避免连续多页同样拥挤或同样空旷。2.7 page_charts逐页结构路由P03: timeline P04: vertical_list P05: team_roster P06: timeline P07: comparison_columns P08: quadrant_text_bullets P11: icon_grid P12: numbered_steps P13: icon_grid【免费下载链接】ppt-masterAI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations,>项目地址: https://gitcode.com/GitHub_Trending/ppt/ppt-master创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考
返回列表