@quirekit/pptx-editor 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +296 -0
- package/README.md +36 -2
- package/README.zh-CN.md +35 -0
- package/THIRD_PARTY_NOTICES.md +141 -0
- package/dist/ai.d.mts +296 -0
- package/dist/ai.mjs +786 -0
- package/dist/index.d.mts +20 -0
- package/dist/index.mjs +90 -0
- package/dist/styles.css +2362 -0
- package/dist/svg-raster-DL19F7ez.mjs +11 -0
- package/dist/types-Bed8XDUh.d.mts +1589 -0
- package/package.json +95 -4
package/dist/ai.mjs
ADDED
|
@@ -0,0 +1,786 @@
|
|
|
1
|
+
import{E as gt,Gt as Se,Ht as yt,Jt as wt,Kt as Le,N as kt,Nt as Ee,Rt as De,St as Me,Ut as q,Wt as W,Xt as G,Yt as xt,Zt as Ft,_ as Q,_t as Tt,at as vt,bt as Bt,ct as M,gt as Ct,kt as le,lt as P,mt as Re,ot as U,r as j,t as St,yt as Lt}from"./svg-raster-DL19F7ez.mjs";import{parseQuireHexColor as Et,quireSrgbToOklch as Dt}from"@quirekit/ui";import{addContentSlide as z,addSlideShape as Ne,addSlideTable as Mt,addSlideTextBox as Rt,addTitleSlide as V,createPresentation as Nt,emu as $e,findSlidePlaceholder as $t,getGroupChildren as At,getPresentationTheme as ce,getShapeBounds as _t,getShapeChartCategories as Ot,getShapeChartKind as Pt,getShapeChartSeriesNames as jt,getShapeChartSeriesValues as zt,getShapeDescription as Wt,getShapeFill as Kt,getShapeFillColor as It,getShapeFillColorResolved as Ht,getShapeFillEffective as de,getShapeId as C,getShapeImagePartName as qt,getShapeName as A,getShapePlaceholderType as Ae,getShapePreset as _e,getShapeRunFormat as Gt,getShapeRunFormatEffective as Qt,getShapeSize as Ut,getShapeText as K,getSlideAnimations as Oe,getSlideLayout as he,getSlideLayoutName as Vt,getSlideLayoutPartName as Pe,getSlideMasterPartName as je,getSlideNotes as ze,getSlidePartName as S,getSlideShapes as D,getSlides as L,getTableCellText as We,getTableCells as Ke,isShapeHidden as Jt,isShapePlaceholder as Ie,isSlideHidden as Xt,loadPresentation as pe,readPackagePart as I,removeShape as Zt,savePresentation as Yt,setMediaPartBytes as er,setShapeFill as He,setShapeImageFill as tr,setShapeNoStroke as qe,setShapeText as rr,setShapeTextFormat as ar}from"@quirekit/office-kit-pptx";import{v4 as nr}from"uuid";import{createQuireAiProviderSettings as ir,mountQuireAiDocumentPanel as or,quireAiImageGenerator as sr,resolveQuireAiModelConnection as lr}from"@quirekit/ai-assistant";import{createQuireAiSlidesDocumentSdk as cr,createQuireAiSlidesIdentity as dr,renderQuireAiSlidesView as hr}from"@quirekit/ai-runtime/slides";import{mergeDecks as pr}from"@quirekit/office-kit-pptx-editor/merge";import"@quirekit/ai-chat/styles.css";import"@quirekit/ai-assistant/styles.css";import{createQuireAiMemorySkillStore as mr,createQuireAiSkillLibrary as ur}from"@quirekit/ai-runtime";const J=e=>Dt(Et(e));function br(e){const{l:t,c:r}=J(e);return r>=.1&&t>=.3&&t<=.85?"saturated":t>=.6?"light":"dark"}function fr(e){const{c:t}=J(e);return t<.07?"low":t<=.15?"mid":"high"}function gr(e,t){const{c:r}=J(t);switch(e){case"any":return!0;case"low":return r<=.12;case"mid":return r>=.04&&r<=.22;case"high":return r>=.1}}function yr(e,t){const r=[];for(const a of["cover","content"]){const n=e.tokens[a],o=br(t[a]);n==="any"||n===o||n==="saturated"&&o==="dark"&&J(t[a]).c>=.1||r.push({kind:"page",page:a,expected:n,actual:o})}return gr(e.tokens.primary,t.primary)||r.push({kind:"primary",expected:e.tokens.primary,actual:fr(t.primary)}),r}const wr={photo:"商业摄影,真实场景,自然光,干净背景,统一的色彩分级","3d-object":"3D 渲染物件,磨砂或玻璃材质,柔和光影,干净的纯色背景","3d-character":"3D 卡通角色,圆润比例,柔和材质与高光,表情友好,干净的纯色背景","flat-illustration":"扁平矢量插画,平涂色块,少量颜色,简洁的人物与场景","line-art":"单色线描插画,细线条,几乎不填色,大量留白","ink-wash":"中国水墨画,淡墨晕染,大面积留白,宣纸纹理",guochao:"国潮平面插画,平涂色块,传统纹样,撞色",watercolor:"水彩插画,颜色晕染,纸张质感,低饱和,留白",fluid:"抽象流体丝带,柔和渐变,丝绸质感","tech-glow":"深色背景上的发光线条与粒子,全息界面元素,景深",geometric:"扁平几何构成,纯色块与简单图形",festive:"节庆元素,灯笼、烟花或礼盒,喜庆而不杂乱",civic:"庄重的红色与金色,红绸、柔和光晕、建筑剪影,对称构图",gradient:"柔和的抽象渐变与光斑,没有具体物体",type:"简洁的抽象背景,为大字留出空间",chart:"简洁的数据可视化示意,抽象图形"},kr="画面中不要出现任何文字、字母、数字、水印、商标或标志,不要出现国旗、国徽、党徽和地图";function xr(e,t,r,a){const n=q(t?.style),o=t?.custom?.picture||n?.hero.picture||(n?n.hero.kinds.map(c=>wr[c]).join(";"):""),s=t?`色调与页面协调:主色 ${t.palette.primary},强调色 ${t.palette.accent},页面底色 ${t.palette.background}`:"",d=r>a*1.2?"横版构图":a>r*1.2?"竖版构图":"方形构图";return[e.trim().replace(/[。.]$/u,""),o&&`风格:${o}`,s,d,kr].filter(Boolean).join("。")+"。"}const X=36e3;function Ge(e,t){const r=Math.max(e.x,t.x),a=Math.max(e.y,t.y),n=Math.min(e.x+e.width,t.x+t.width),o=Math.min(e.y+e.height,t.y+t.height);return n>r&&o>a?{x:r,y:a,width:n-r,height:o-a}:null}const Qe=e=>e.width*e.height;function me(e,t){return Math.max(0,t.x-e.x,t.y-e.y,e.x+e.width-t.x-t.width,e.y+e.height-t.y-t.height)}const ue=e=>e.role==="text"?e.text??e.frame:e.frame;function be(e,t){const r=Ge(e.frame,t.frame);return t.order<e.order&&r!==null&&Qe(r)>=Qe(e.frame)*.5}function Fr(e,t){const r=[],a={x:0,y:0,...t},n=e.filter(c=>c.role==="text"&&c.text!==null),o=e.filter(c=>c.role==="content");for(const c of n){const l=me(c.text,c.frame);l>36e3&&r.push({kind:"overflow",shapes:[c.id],amount:l});const i=e.filter(w=>w.role==="container"&&be(c,w)).sort((w,b)=>b.order-w.order)[0],p=i?me(c.text,i.frame):0;i&&p>36e3&&r.push({kind:"outside-container",shapes:[c.id,i.id],amount:p})}for(const c of[...n,...o]){const l=me(ue(c),a);l>36e3&&r.push({kind:"off-slide",shapes:[c.id],amount:l})}const s=e.filter(c=>c.role==="container");n.forEach((c,l)=>{const i=[...n.slice(l+1),...[...o,...s].filter(p=>!be(c,p))];for(const p of i){const w=Ge(ue(c),ue(p)),b=w?Math.min(w.width,w.height):0;b>36e3&&r.push({kind:"overlap",shapes:[c.id,p.id],amount:b})}});const d=e.filter(c=>c.role==="line");for(const c of n)for(const l of d){const i=s.some(p=>p.order>l.order&&be(c,p))?0:Tr(c.text,l.frame);i>36e3&&r.push({kind:"crosses-line",shapes:[c.id,l.id],amount:i})}return r}function Tr(e,t){const r={x:e.x+X,y:e.y+X,width:e.width-2*X,height:e.height-2*X};if(r.width<=0||r.height<=0)return 0;const a=t.width>=t.height,n=a?t.y+t.height/2:t.x+t.width/2;if(!(a?n>=r.y&&n<=r.y+r.height:n>=r.x&&n<=r.x+r.width))return 0;const o=a?Math.max(t.x,r.x):Math.max(t.y,r.y),s=a?Math.min(t.x+t.width,r.x+r.width):Math.min(t.y+t.height,r.y+r.height);return Math.max(0,s-o)}const vr=28800;function Br(e){const t=new Map,r=a=>{t.set(C(a),a);let n=[];try{n=At(a)}catch{}n.forEach(r)};return D(e).forEach(r),t}function Cr(e,t){if(!t)return!1;try{const r=de(e,t).kind;return r!=="none"&&r!=="inherit"&&r!=="background"}catch{return!1}}function Sr(e,t,r){const a=Br(t);return M(e,t,{lines:!0}).filter(n=>n.kind!=="group").map((n,o)=>{const s={x:n.x,y:n.y,width:n.width,height:n.height},d=Math.min(n.width,n.height)<vr&&(n.kind==="connector"||n.empty),c=n.rotation%360!==0?"decoration":d?"line":n.kind==="text"&&!n.empty?"text":n.kind==="picture"||n.kind==="chart"||n.kind==="table"||n.kind==="media"?"content":n.kind==="text"&&Cr(e,a.get(n.id))?"container":"decoration";return{id:n.id,role:c,frame:s,text:c==="text"?r.get(n.id)??null:null,order:o}})}function Lr(e,t,r){const a=r.measure(e,t);return{problems:Fr(Sr(e,t,a),P(e)),text:a}}const Er=()=>new Promise(e=>setTimeout(e,0));function Z(e,t=Er){const r=new Map;let a;const n=(d,c)=>{const l=he(c),i=[S(c),l?Pe(l):null,l?je(l):null];return{name:i[0],parts:i.map(p=>p?I(d,p):null),theme:JSON.stringify(ce(d))}},o=(d,c)=>{const l=n(d,c),i=r.get(l.name);return i&&i.theme===l.theme&&i.parts.every((p,w)=>p===l.parts[w])?i:void 0},s={peek(d,c){return o(d,c)?.problems},text(d,c){return o(d,c)?.text},check(d,c){const l=s.peek(d,c);if(l)return l;const i=n(d,c),{problems:p,text:w}=Lr(d,c,e);return r.set(i.name,{parts:i.parts,theme:i.theme,problems:p,text:w}),p},settle(d){const c=async()=>{for(const p of L(d))s.peek(d,p)||(await t(),s.check(d,p))},l=(a??Promise.resolve()).then(c),i=l.finally(()=>{a===i&&(a=void 0)});return a=i,l}};return s}const Dr={addSlide:"新建幻灯片",duplicateSlide:"复制幻灯片",setSlideHidden:"隐藏幻灯片",setSlideBackground:"设置背景",setSlideNotes:"修改备注",setSlideLayout:"更换版式",setSlideTransition:"设置切换",addTextBox:"插入文本框",addShape:"插入形状",addTable:"插入表格",addChart:"插入图表",addDiagram:"插入智能图形",setTableCellText:"修改单元格",setTableStyle:"设置表格样式",setChartData:"修改图表数据",setShapeFill:"设置填充",setShapeOutline:"设置轮廓",setShapeBounds:"调整位置和大小",duplicateShapes:"复制形状",alignShapes:"对齐",arrangeShapes:"调整层次",rotateShapes:"旋转",flipShapes:"翻转",ungroupShapes:"取消组合",setTextFormat:"设置文字格式",setTextAlignment:"设置对齐",setTextAnchor:"设置文字垂直对齐",setParagraphBullets:"设置项目符号",changeListLevel:"调整列表级别",setLineSpacing:"设置行距",addShapeAnimation:"添加动画",clearShapeAnimations:"删除动画",setDeckColors:"设置主题配色",setDeckFonts:"设置主题字体",applyMotion:"设置动画",setBrief:"记录简报",setDeckPlan:"写入故事线",setDeckDesign:"确定设计语言",setDeckDirections:"提出设计方向",drawSlide:"绘制幻灯片",moveShapes:"移动"};function Mr(e,t){try{const r=de(e,t).kind;return r!=="none"&&r!=="inherit"&&r!=="background"}catch{return!1}}function Rr(e,t){const r=new Map(G(t).map(o=>[C(o),o])),a=M(e,t).filter(o=>o.parent===null),n=a.map((o,s)=>({box:o,order:s})).filter(({box:o})=>{const s=r.get(o.id);return s!==void 0&&o.kind!=="picture"&&o.kind!=="chart"&&o.kind!=="table"&&o.kind!=="media"&&Mr(e,s)});return o=>{const s=a.findIndex(p=>p.id===o),d=a[s];if(d===void 0)return{container:null,color:void 0};const c=d.x+d.width/2,l=d.y+d.height/2,i=n.filter(p=>p.order<s&&c>=p.box.x&&c<=p.box.x+p.box.width&&l>=p.box.y&&l<=p.box.y+p.box.height).at(-1);return i===void 0?{container:null,color:void 0}:{container:i.box.id,color:Ht(e,r.get(i.box.id))}}}const Nr=/^qk:([a-z]+):e(\d+)-([A-Za-z]+):/u,$r=/^qk:draw:e\d+-([A-Za-z]+):/u,Ar=new Set(["title","eyebrow","subtitle","decoration","page"]);function Ue(e,t){const r=(a,n)=>Math.min(2,Math.max(0,Math.floor(a/n*3)));return`${["top","middle","bottom"][r(e.y+e.height/2,t.height)]}-${["left","centre","right"][r(e.width>t.width/3?e.x:e.x+e.width/2,t.width)]}`}function _r(e,t){const r=new Map;for(const l of M(e,t)){const i=$r.exec(l.name);i&&r.set(l.id,i[1])}if(r.size===0)return null;const a=P(e),n=M(e,t).filter(l=>r.has(l.id)),o=n.find(l=>r.get(l.id)==="title"),s=n.filter(l=>!Ar.has(r.get(l.id))),d=[...s].sort((l,i)=>i.width*i.height-l.width*l.height)[0],c=[o?`title ${Ue(o,a)}`:"no title",...d?[`${r.get(d.id)==="body"?d.kind:r.get(d.id)} ${Ue(d,a)}`]:[],`${Math.min(s.length,4)}${s.length>4?"+":""} block(s)`];return`${s.length>0?"content":"statement"}:${c.join("+")}`}function fe(e,t){const r=_r(e,t);if(r!==null)return r;const a=new Map;let n="";for(const o of D(t)){const s=Nr.exec(A(o)??"");s&&(n=s[1],a.set(Number(s[2]),s[3]))}return a.size===0?null:`${n}:${[...a.entries()].sort((o,s)=>o[0]-s[0]).map(([,o])=>o).join("+")}`}const v=Object.freeze({contentWords:80,statementWords:40,bodySize:16,smallTextWords:15,bodyWords:20,hierarchy:1.25,alignedWithin:18e3,alignmentReach:144e3,coverage:.5,perKind:3,typeLevels:5,headerDrift:36e4});function Or(e){const t=e?.delivery==="read";return{contentWords:t?v.contentWords*2:v.contentWords,statementWords:t?v.statementWords*1.5:v.statementWords,bodySize:e?.venue==="screen"?14:v.bodySize}}const Ve=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/gu;function Y(e){return(e.match(Ve)?.length??0)+(e.replace(Ve," ").match(/[\p{L}\p{N}]+/gu)?.length??0)}function Pr(e){let t;try{t=Gt(e,0,0)?.color??void 0}catch{t=void 0}return[It(e),t].filter(r=>typeof r=="string"&&/^#[0-9A-Fa-f]{6}$/u.test(r)).map(r=>r.toUpperCase())}function jr(e,t){const r=le(e);if(!r)return[];const a=new Set(Object.values(r.palette).map(n=>n.toUpperCase()));return t.flatMap(n=>{const o=Pr(n).find(s=>!a.has(s));return o?[{kind:"off-palette",shape:C(n),color:o}]:[]}).slice(0,v.perKind)}function zr(e){const t=[...new Set(e.map(r=>Math.round(r)))].sort((r,a)=>a-r);return t.length>v.typeLevels?[{kind:"type-levels",sizes:t,limit:v.typeLevels}]:[]}function Wr(e,t,r){const a=c=>{const l=r(c);if(!l||fe(e,c)?.split(":")[0]!=="content")return null;const i=M(e,c).find(p=>p.id===C(l));return i?{id:i.id,x:i.x,y:i.y}:null},n=a(t),o=L(e).map(a).filter(c=>c!==null);if(!n||o.length<3)return[];const s=c=>c.sort((l,i)=>l-i)[Math.floor(c.length/2)],d=Math.hypot(n.x-s(o.map(c=>c.x)),n.y-s(o.map(c=>c.y)));return d>v.headerDrift?[{kind:"header-drift",shape:n.id,offset:Math.round(d)}]:[]}const Kr=new Set(["dt","ftr","sldNum"]),Ir=/-(bigNumber|stats|quote|takeaway|number):/u,H=e=>{try{return K(e)}catch{return""}};function Hr(e){const t=A(e)??"";return Kr.has(Ae(e)??"")||/:(page-number|decoration|title-mark|takeaway-band):/u.test(t)}function ge(e){const t=Ae(e);return t==="title"||t==="ctrTitle"||/^qk:[a-z]+:e\d+-title:/u.test(A(e)??"")}function ee(e,t){return H(t).split(`
|
|
2
|
+
`).flatMap((r,a)=>{if(!r.trim())return[];try{return[Qt(e,t,a,0).size??18]}catch{return[]}})}function ye(e,t,r){const a=[],n=Or(Re(e)),o=fe(e,t),s=o?.split(":")[0]??($t(t,"ctrTitle")?"cover":"content"),d=P(e),c=Math.min(d.width,d.height)/6858e3,l=G(t).filter(u=>!Jt(u)&&!Hr(u)),i=l.filter(u=>Le(u)==="text"&&H(u).trim()),p=Rr(e,t),w=l.reduce((u,g)=>u+(Le(g)==="table"?Ke(g).flat().reduce((y,f)=>y+Y(We(f)),0):Y(H(g))),0),b=s==="content"?n.contentWords:n.statementWords;w>b&&a.push({kind:"dense",amount:w,limit:b});const x=n.bodySize*c,F=i.flatMap(u=>{if(ge(u)||Y(H(u))<v.smallTextWords)return[];const g=Math.min(...ee(e,u));return g<x-.05?[{kind:"small-text",shape:C(u),size:g,minimum:x}]:[]});a.push(...F.sort((u,g)=>u.size-g.size).slice(0,v.perKind));const h=i.find(ge),m=i.filter(u=>u!==h&&!Ir.test(A(u)??"")&&Y(H(u))>=v.bodyWords);if(s==="content"&&h&&m.length>0){const u=Math.max(...ee(e,h)),g=Math.max(...m.flatMap(y=>ee(e,y)));u<g*v.hierarchy&&a.push({kind:"weak-hierarchy",shape:C(h),size:u,body:g})}const k=i.flatMap(u=>{const g=p(C(u)),y=gt(e,t,u,g.container===null?void 0:g.color);return y?[{kind:"low-contrast",shape:C(u),ratio:y.ratio,needed:y.needed}]:[]});if(a.push(...k.slice(0,v.perKind)),a.push(...qr(e,t,new Set(l.map(C)),p).slice(0,v.perKind)),a.push(...jr(e,l)),a.push(...zr(i.flatMap(u=>ee(e,u)))),s==="content"&&a.push(...Wr(e,t,u=>G(u).find(ge))),s==="content"&&r!==void 0){const u=Gr(e,t,r,new Set(i.map(C)));u>v.coverage&&a.push({kind:"crowded",coverage:u,limit:v.coverage})}return{...o?{composition:o}:{},facts:a}}function qr(e,t,r,a){const n=M(e,t).filter(s=>s.parent===null&&r.has(s.id)&&s.rotation%360===0&&!s.empty&&(s.kind==="text"||s.kind==="picture"||s.kind==="chart"||s.kind==="table")),o=[];return n.forEach((s,d)=>n.slice(d+1).forEach(c=>{if(a(s.id).container!==a(c.id).container)return;const l=Math.abs(s.x-c.x);l>v.alignedWithin&&l<v.alignmentReach&&o.push({kind:"near-alignment",shapes:[s.id,c.id],offset:l})})),o.sort((s,d)=>s.offset-d.offset)}function Gr(e,t,r,a){const n=P(e),o=[...a].flatMap(l=>r.get(l)??[]);o.push(...M(e,t).filter(l=>l.parent===null&&l.kind==="table"));const s=64,d=36;let c=0;for(let l=0;l<d;l+=1)for(let i=0;i<s;i+=1){const p=(i+.5)*n.width/s,w=(l+.5)*n.height/d;o.some(b=>p>=b.x&&p<=b.x+b.width&&w>=b.y&&w<=b.y+b.height)&&(c+=1)}return c/(s*d)}function Je(e){const t=new Map;return{measure(r,a){const n=S(a),o=he(a),s=[n,o?Pe(o):null,o?je(o):null].map(p=>p?I(r,p):null),d=JSON.stringify(ce(r)),c=e?.text(r,a),l=t.get(n);if(l&&l.theme===d&&l.text===c&&l.parts.every((p,w)=>p===s[w]))return l.design;const i=ye(r,a,c);return t.set(n,{parts:s,theme:d,text:c,design:i}),i}}}const Qr=/^qk:draw:/u;function we(e){const t=Wt(e)?.trim()??"";return Qr.test(A(e)??"")&&t!==""&&Kt(e).kind!=="image"?t:void 0}const Ur=1600,Vr=3,Xe=3,Jr=2e3,ke=new WeakMap;async function Ze(e,t,r,a){const n=le(e.presentation());let o=ke.get(e);o||ke.set(e,o=new Map);const s=o,d=L(e.presentation()).filter(b=>a===void 0||S(b)===a).flatMap(b=>D(b).flatMap(x=>{const F=we(x),h=Ut(x),m=`${S(b)}#${C(x)}`;return F&&h&&!s.has(m)?[{key:m,part:S(b),id:C(x),prompt:F,width:h.w,height:h.h}]:[]})),c=new Map;for(const b of d)s.set(b.key,new Promise(x=>c.set(b.key,x)));let l=0,i=0;const p=async b=>{const x=Ur/Math.max(b.width,b.height,1),F=Math.round(b.width*x),h=Math.round(b.height*x),m=xr(b.prompt,n,F,h);let k;for(let g=1;g<=Xe&&!k&&!r?.aborted;g+=1)try{k=await t.generate({prompt:m,width:F,height:h,signal:r})}catch{g<Xe&&!r?.aborted&&await new Promise(y=>setTimeout(y,Jr*g))}if(!k||r?.aborted)return;const u=k;e.transact("生成配图",g=>{const y=xt(g,b.part),f=y&&D(y).find(T=>C(T)===b.id);return f?(rr(f,""),tr(f,u),!0):!1},"agent")&&(l+=1)},w=async()=>{for(;i<d.length;){const b=d[i++];try{await p(b)}finally{s.delete(b.key),c.get(b.key)?.()}}};return await Promise.all(Array.from({length:Math.min(Vr,d.length)},w)),l}async function Xr(e,t,r,a,n=6e4){Ze(e,r,a,t);const o=[...ke.get(e)?.entries()??[]].filter(([d])=>d.startsWith(`${t}#`)).map(([,d])=>d);if(o.length===0)return;let s;await Promise.race([Promise.all(o),new Promise(d=>{s=setTimeout(d,n)})]),clearTimeout(s)}const Zr={entr:"entrance",emph:"emphasis",exit:"exit",path:"path"};function xe(e){return Oe(e).filter(t=>t.sequence==="mainSeq").map(t=>({shapes:[...t.targetShapeIds],start:t.start==="withPrevious"?"with":t.start==="afterPrevious"?"after":"click",kind:Zr[t.presetClass??""]??"other",effect:t.effect}))}function Ye(e){let t=0;return e.map(r=>r.start==="click"?t+=1:t)}const et=8,Yr=3;function te(e){return e.flatMap(t=>t.kind==="shape"?[t.shape]:t.kind==="box"?[t.shape,...te(t.holds)]:[...t.items.flat(),...t.links])}function tt(e,t){for(const r of e)t(r),r.kind==="box"&&tt(r.holds,t)}const ea=(e,t)=>new Set(e.map(t));function ta(e,t){if(e.length===0)return[];const r=[],a=Ye(e),n=new Map;e.forEach((l,i)=>{if(l.kind==="entrance")for(const p of l.shapes)n.has(p)||n.set(p,a[i])});const o=l=>n.get(l)??-1,s=a.at(-1)??0;s>et&&r.push({kind:"many-clicks",clicks:s,limit:et}),tt(t.content,l=>{if(l.kind==="items")for(const i of l.items){const p=ea(i,o);p.size>1&&i.some(w=>n.has(w))&&r.push({kind:"split-item",shapes:i,clicks:p.size})}if(l.kind==="box"&&l.holds.every(i=>i.kind==="shape")){const i=o(l.shape),p=Math.min(...te(l.holds).map(o));i!==p&&r.push({kind:"box-apart",shape:l.shape,early:i<p?"box":"content"})}});for(const l of t.furniture)e.some(i=>i.shapes.includes(l))&&r.push({kind:"animated-furniture",shape:l});const d=t.content.map(l=>({shape:te([l])[0],at:Math.min(...te([l]).filter(i=>n.has(i)).map(o))})).filter(l=>Number.isFinite(l.at));for(let l=1;l<d.length;l+=1){const i=d.slice(0,l).find(p=>p.at>d[l].at);if(i!==void 0){r.push({kind:"build-order",later:d[l].shape,earlier:i.shape});break}}const c=new Map;return r.filter(l=>{const i=(c.get(l.kind)??0)+1;return c.set(l.kind,i),i<=Yr})}const re=36e4,ra=.25,aa=.1,na=.45,ia=new Set(["rect","roundRect","snip1Rect","snip2SameRect","round1Rect","round2SameRect"]);function rt(e){return e.flatMap(t=>t.kind==="shape"?[t.shape]:t.kind==="box"?[t.shape,...rt(t.holds)]:[...t.items.flat(),...t.links])}function Fe(e){return e.flatMap(t=>t.kind==="items"?[t]:t.kind==="box"?Fe(t.holds):[])}function ae(e){if(e.length===0)return null;const t=Math.min(...e.map(a=>a.x)),r=Math.min(...e.map(a=>a.y));return{x:t,y:r,width:Math.max(...e.map(a=>a.x+a.width))-t,height:Math.max(...e.map(a=>a.y+a.height))-r}}const oa=(e,t)=>t.x>=e.x-18e3&&t.y>=e.y-18e3&&t.x+t.width<=e.x+e.width+18e3&&t.y+t.height<=e.y+e.height+18e3,sa=(e,t)=>e.x-36e3<=t.x+t.width&&t.x-36e3<=e.x+e.width&&e.y-36e3<=t.y+t.height&&t.y-36e3<=e.y+e.height;function la(e,t){if(t===void 0)return!1;try{const r=de(e,t).kind;return r!=="none"&&r!=="inherit"&&r!=="background"}catch{return!1}}function ca(e,t,r,a){const n=P(e),o=new Map(M(e,t,{lines:!0}).filter(h=>h.parent===null).map(h=>[h.id,h])),s=new Map(G(t).map(h=>[C(h),h])),d=h=>{const m=o.get(h);return m===void 0?null:a?.get(h)??{x:m.x,y:m.y,width:m.width,height:m.height}},c=h=>Math.min(h.width,h.height)<.08*re&&(h.kind==="connector"||h.empty),l=rt(r.content),i=[],p=ae(r.header.flatMap(h=>d(h)??[])),w=r.furniture.flatMap(h=>d(h)??[]).filter(h=>h.y>=n.height*.75),b={top:p?p.y+p.height:0,bottom:w.length>0?Math.min(...w.map(h=>h.y)):n.height},x=ae(l.flatMap(h=>d(h)??[]));if(x!==null&&b.bottom>b.top){const h=b.bottom-b.top,m={top:(x.y-b.top)/h,bottom:(b.bottom-x.y-x.height)/h},k={top:"bottom",bottom:"top"},u=["bottom","top"].find(g=>m[g]>ra&&m[k[g]]<aa);u!==void 0&&i.push({kind:"empty-band",side:u,share:m[u]})}for(const h of o.values()){const m=s.get(h.id);if(!l.includes(h.id)||!h.empty||c(h)||!ia.has(_e(m)??"")||!la(e,m))continue;const k=[...o.values()].filter(y=>y!==h&&!c(y)&&oa(h,y)).flatMap(y=>d(y.id)??[]),u=h.width*h.height/(n.width*n.height);k.length===0&&u>=.02&&u<=.6&&i.push({kind:"empty-box",shape:h.id});const g=ae(k);g!==null&&h.height>=2.5*re&&g.height/h.height<na&&i.push({kind:"sparse-box",shape:h.id,filled:g.height/h.height})}for(const h of Fe(r.content)){if(h.layout==="grid"||h.items.length<2)continue;const m=h.items.map(y=>ae(y.flatMap(f=>o.get(f)&&!c(o.get(f))?[o.get(f)]:[])));if(m.some(y=>y===null))continue;const k=h.layout==="row"?m.map(y=>y.width):m.map(y=>y.height),u=m.slice(1).map((y,f)=>h.layout==="row"?y.x-m[f].x-m[f].width:y.y-m[f].y-m[f].height),g=y=>Math.max(...y)-Math.min(...y);(g(k)>Math.max(.3*re,Math.max(...k)*.15)||u.length>1&&g(u)>Math.max(.3*re,Math.max(...u)*.25))&&i.push({kind:"uneven-items",shapes:h.items.flat()})}const F=new Set(Fe(r.content).flatMap(h=>h.links));for(const h of l){const m=o.get(h);m===void 0||!c(m)||F.has(h)||Math.max(m.width/n.width,m.height/n.height)<.25||[...o.values()].some(k=>k!==m&&!c(k)&&l.includes(k.id)&&sa(m,k))||i.push({kind:"stray-line",shape:h})}return i}function at(e){return e.flatMap(t=>t.kind==="items"?t.items:t.kind==="box"?at(t.holds):[])}function Te(e,t,r,a,n){const o=at(a.content),s=c=>o.some(l=>c.every(i=>l.includes(i))),d=r.facts.filter(c=>c.kind!=="near-alignment"||!s(c.shapes));return{...r,facts:[...d,...ta(xe(t),a),...ca(e,t,a,n)]}}const ve={"bold-3d":{samples:50,genres:[{genre:"business",share:.34},{genre:"marketing",share:.18},{genre:"tech",share:.14},{genre:"classroom",share:.14},{genre:"medical",share:.08}],palettes:[{background:"#2A91E9",primary:"#0E82F9",text:"#FFFFFE",share:.1},{background:"#0169E8",primary:"#3EA1F7",text:"#E7F1FB",share:.08},{background:"#F4F7FF",primary:"#3A6FEC",text:"#184CC9",share:.08},{background:"#7243FE",primary:"#6940EC",text:"#FAF4FE",accent:"#C57694",share:.06},{background:"#39240D",primary:"#955F33",text:"#D9CABF",share:.04},{background:"#1C1433",primary:"#8462C4",text:"#A4AAAC",share:.04},{background:"#161719",primary:"#2486AA",text:"#92C9D6",share:.04},{background:"#010101",primary:"#DF3736",text:"#C5BDB3",share:.04}],covers:[{title:{box:[.08,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"3d_object",box:[.5,.18,.45,.8],bleed:!1},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["箭头按钮","底部白色波浪","条纹块"],share:.44},{title:{box:[.5,.3,.45,.25],align:"right",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"3d_object",box:[.03,.16,.47,.78],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["玻璃立方体","景深虚化","箭头点列"],share:.12},{title:{box:[.08,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"3d_object",box:[.55,.15,.41,.75],bleed:!1},eyebrow:"date",byline:"pill",frame:"card_on_bg",decor:["白色曲面雕塑","水面","三圆点"],share:.12},{title:{box:[.17,.32,.66,.12],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"festive",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["3D礼盒","金币","购物袋"],share:.06},{title:{box:[.08,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"3d_object",box:[.55,.22,.4,.6],bleed:!1},eyebrow:"date",byline:"pill",frame:"ornament_border",decor:["金色竖线","金线弧框","放射细线"],share:.06}],inner:[{skeleton:"TL contents left label + numbered items in a row; TR 4 tall cards with circle icons, last primary; ML photo cards; BL big numbers 01 02 in primary card + diagram; BC emoji rating scale; MR long text; BR primary stacked cards + photo",contents:"left CONTENTS/目录 label, items in a row on dark",header:"plain light title top-left on dark",cards:"primary cards with primary filled highlights",numbers:"01",photos:"photos in rounded frames",share:.46},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo; primary pages with orchid cards; slash marks near headers",contents:"left CONTENTS/目录 label, items in a row on primary",header:"white title top-left on primary",cards:"primary cards with circle icons, last card orchid",numbers:"01",photos:"few photos, tech images in rounded frames",share:.3},{skeleton:"TL contents left label + numbered items in a row; TC pie chart section; TR 4 tall cards with circle icons, last primary; ML text cards list; BL big numbers 01 02 in primary card + photo; MR text; BR primary stacked cards + chart illustration",contents:"left CONTENTS/目录 label, items in a row",header:"plain dark title top-left",cards:"white cards with last filled lime primary",numbers:"01",photos:"photos and chart illustrations",share:.08},{skeleton:"TL contents row; ML section title over a column of round icons or icon bars; BL two or three lines of large title over a landscape photo; R a full column of photos, no card row; primary; ML list rows with icon bars",contents:"left CONTENTS/目录 label, items in a row with primary numbers",header:"plain dark title top-left",cards:"primary icon bars in a column",numbers:"01",photos:"desert/landscape photos in rounded frames, right column",share:.04}],continuity:["black field with iridescent blobs leads to indigo-violet pages","cobalt field with white wave becomes cobalt cards on white","green primary with yellow accent carried into inner pages","saturated red ground everywhere, yellow as highlight fill"],traits:["gold scales of justice inside a gold-lined frame on mahogany","sculptural 3D fluid ribbon in bronze-white on dark chocolate","glass medical cross shield over blue-tinted microscope photo","3D calendar with magnifier check on nested cobalt-blue cards","glassy 3D browser window with media icons and pipes on violet","red-to-orange gradient with translucent white S-ribbon loop"]},"business-photo":{samples:164,genres:[{genre:"business",share:.36},{genre:"academic",share:.14},{genre:"medical",share:.11},{genre:"tech",share:.1},{genre:"marketing",share:.09}],palettes:[{background:"#FFFFFF",primary:"#466DC5",text:"#1C3264",share:.17},{background:"#FFFFFF",primary:"#4A90E3",text:"#272A37",share:.07},{background:"#FDFDFD",primary:"#975747",text:"#975747",share:.07},{background:"#FFFFFF",primary:"#B68C58",text:"#1E1E23",share:.04},{background:"#8690A6",primary:"#4666A3",text:"#FDFEFE",share:.04},{background:"#FFFFFF",primary:"#39C4D6",text:"#4A3D3C",share:.04},{background:"#274C84",primary:"#0B2556",text:"#FFFFFF",share:.03},{background:"#2561B5",primary:"#3579CF",text:"#E3EBF4",share:.03}],covers:[{title:{box:[.08,.32,.42,.24],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"masked_photo",box:[.55,0,.45,.85],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["点阵","斜切块","圆环"],share:.3},{title:{box:[.08,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"photo",box:[.6,0,.4,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"split",decor:["点阵","校徽","白色弧边"],share:.13},{title:{box:[.08,.3,.46,.24],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"photo",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["绿色渐变罩","蓝色半透明蒙层","竖向色条"],share:.1},{title:{box:[.45,.3,.5,.24],align:"right",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"masked_photo",box:[0,0,.5,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"split",decor:["大圆描边","左侧色块","渐隐"],share:.07},{title:{box:[.07,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"masked_photo",box:[.55,.1,.43,.88],bleed:!0},eyebrow:"date",byline:"plain",frame:"card_on_bg",decor:["点阵","大圆","汉堡线"],share:.06}],inner:[{skeleton:"TL contents left label + numbered items in a row; TR 4 tall cards with circle icons, last primary; ML photo + text; BL big numbers 01 02 in primary card + photo; MR long text; BR primary stacked cards + hospital photo",contents:"left CONTENTS/目录 label, items in a row",header:"plain dark title top-left",cards:"light cards with last filled primary",numbers:"01",photos:"photos in rounded frames",share:.49},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo; primary; BC row of thin-divider text columns",contents:"left CONTENTS/目录 label, items in a row with primary numbers",header:"plain dark title top-left",cards:"light cards with circle icons, last card primary",numbers:"01",photos:"medical and tech photos in rounded frames",share:.24},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo but TL is a list card instead of contents; cornflower primary with primary arc accent",header:"plain dark title top-left",cards:"light cards with circle icons, last card primary",numbers:"01",photos:"landscape and logistics photos in rounded frames",share:.06},{skeleton:"TL contents left label + numbered items row; TR 4 cards row with circle icons, last card primary; ML title + 2 icon list rows; BL primary panel big numbers 01 02; BR primary small cards + photo; BC people photos",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark title top-left",cards:"cream cards, last card primary filled",numbers:"01",photos:"photos in circles and frames",share:.05}],continuity:["orange title and fluid curve color fill inner cards on cream","blue-tinted glass building photo sits behind all inner pages","blue overlay on graduation photo becomes blue cards on white","cocoa brown overlay and bookmark tabs carry into brown cards"],traits:["aerial farmland photo under green gradient wash, white title","white spiral staircase sculpture fading into soft blue light","full-bleed airliner above sea of clouds with centered title","hands holding seedling soil photo under green duotone overlay","photo in a big circle crop plus teal and charcoal semicircles","skyscraper photo revealed through a gold-tinted diagonal slash"]},chalkboard:{samples:22,genres:[{genre:"classroom",share:.64},{genre:"business",share:.09},{genre:"academic",share:.09},{genre:"medical",share:.05},{genre:"tech",share:.05}],palettes:[{background:"#1D4638",primary:"#46A687",text:"#C4D2C5",share:.23},{background:"#302F2F",primary:"#BDBAB9",text:"#BDBAB9",share:.18},{background:"#363538",primary:"#446786",text:"#D2DDE4",share:.14},{background:"#BF9F5F",primary:"#7E673D",text:"#131413",share:.05},{background:"#1E4332",primary:"#E5A445",text:"#E9D6AA",share:.05},{background:"#12145F",primary:"#AA41BA",text:"#95AAD3",accent:"#12145F",share:.05},{background:"#1F2870",primary:"#7C86D1",text:"#CED1E9",share:.05},{background:"#7B8FA6",primary:"#212E33",text:"#212E33",share:.05}],covers:[{title:{box:[.18,.33,.64,.12],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"line_art",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"board",decor:["地球","粉笔涂鸦","纸飞机"],share:.32},{title:{box:[.2,.35,.6,.12],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"line_art",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"plain",frame:"card_on_bg",decor:["黑板纹理","粉笔线","粉笔纸飞机"],share:.23},{title:{box:[.08,.32,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"line_art",box:[.55,.15,.4,.85],bleed:!1},eyebrow:"date",byline:"plain",frame:"board",decor:["粉笔显微镜","原子符号","木框"],share:.14},{title:{box:[.08,.31,.45,.24],align:"left",lines:2,weight:"regular",family:"calligraphy",effect:"none"},hero:{kind:"line_art",box:[.48,.07,.5,.88],bleed:!0},eyebrow:"dots",byline:"plain",frame:"full_bleed",decor:["金色线描牡丹","蝴蝶","鹤翼"],share:.09}],inner:[{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo; chalkboard dark pages with primary cards; ML circle photo rows",contents:"left CONTENTS/目录 label, items in a row on chalkboard",header:"white title top-left on chalkboard",cards:"dark cards with circle icons, last card primary",numbers:"01",photos:"bookshelf photos in rounded frames",share:.59},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo variant on primary: TL contents as stacked text rows in dark card; TR 4 cards with primary circle icons, last primary; ML title + tea field photo; BL primary big numbers 01; BR primary cards",contents:"items stacked vertically in a dark tint card",header:"plain light title top-left on dark",cards:"primary cards with circle icons, last card primary filled",numbers:"01",photos:"landscape photos in rounded frames",share:.18},{skeleton:"TL contents left label + numbered items in a row; TC chalk telescope section; TR 4 tall cards with circle icons, last primary; ML primary text cards; BL big numbers 01 02 in primary card + science photo; BC periodic table image; MR microscope photo; BR primary stacked cards",contents:"left CONTENTS/目录 label, items in a row on primary board",header:"plain light title top-left on chalkboard",cards:"chalkboard primary cards with primary highlights in wooden frames",numbers:"01",photos:"science photos in rounded frames",share:.09},{skeleton:"TL contents left label column + numbered items in a row; TC chalkboard + 01; TR plain title + 4 tall cards row alternating white and primary with circle icons; ML photo + text rows; MR landscape photo; BL primary panel with big numbers 01 02 + image; BC primary cards row; BR primary side column",contents:"left CONTENTS/目录 label, numbered items laid out horizontally",header:"plain light title top-left on primary",cards:"alternating light and primary cards, circle icons on top",numbers:"01",photos:"photos in rectangular frames",share:.05}],continuity:["dark teal with faint embossed floral line art and serif type","blackboard ground with white stationery doodles carried over","chalkboard texture and chalk doodles continue on inner pages","charcoal chalkboard with frame borders on every inner page"],traits:["single glowing green heartbeat line across a deep navy card","black chalkboard covered with colorful chalk school doodles","wood-framed chalkboard with neon chalk microscope and atom drawings","chalkboard cover with bunting flags, chalk stars and grad-cap badge","dark slate chalkboard with chalk-drawn globe, astronaut and planets","blackboard ringed by dense white line-art school supplies and formulas"]},"dark-photo":{samples:39,genres:[{genre:"business",share:.56},{genre:"tech",share:.13},{genre:"marketing",share:.05},{genre:"civic",share:.05},{genre:"culture",share:.05}],palettes:[{background:"#1B1E2A",primary:"#CCBC9F",text:"#CCBC9F",share:.1},{background:"#010101",primary:"#4DC272",text:"#ACD7AA",share:.08},{background:"#121E3E",primary:"#4272EB",text:"#E0E7F1",share:.08},{background:"#3C3326",primary:"#CCA245",text:"#F0D595",share:.05},{background:"#1E4E77",primary:"#659FD5",text:"#FFFFFF",share:.05},{background:"#090909",primary:"#D2D0CC",text:"#D2D0CC",share:.05},{background:"#545453",primary:"#D29344",text:"#000101",share:.05},{background:"#010101",primary:"#E08021",text:"#BFB8B1",share:.05}],covers:[{title:{box:[.08,.32,.48,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"photo",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["左侧竖条","圆形箭头按钮","细线"],share:.28},{title:{box:[.08,.3,.42,.24],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"masked_photo",box:[.56,.04,.42,.85],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["点阵","弧形光带","光斑"],share:.26},{title:{box:[.08,.31,.43,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"photo",box:[.65,0,.35,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"split",decor:["点阵","校徽","红色弧边"],share:.1},{title:{box:[.46,.3,.47,.25],align:"right",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"photo",box:[.01,.11,.42,.86],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["斜切块","闪电折线","聚光暗场"],share:.1},{title:{box:[.2,.32,.6,.12],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"photo",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["蓝色调建筑仰拍","黑白仰拍楼宇","黄色细竖线"],share:.08}],inner:[{skeleton:"TL contents left label + numbered items row; TR 4 cards row with circle icons, last card primary; ML title + diagram with icons; BL primary panel big numbers 01 02; BR primary small cards stacked + landscape photo",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain light title top-left on dark",cards:"dark cards with primary accents, last card primary filled",numbers:"01",photos:"cutout athlete photo and photo strips",share:.54},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo with TL contents as stacked list in panel: TL contents list in primary panel; TR 4 cards row with circle icons, last card periwinkle; ML title + icon list rows; BL periwinkle panel big numbers 01 02; BR periwinkle small cards + photo; MR dense text",contents:"stacked list of items in a primary-tint panel, no row",header:"plain light title top-left on primary",cards:"periwinkle tinted cards on primary",numbers:"01",photos:"community photos in frames",share:.18},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo; black pages with primary cards; ML photo above heading",contents:"left CONTENTS/目录 label, items in a row on black",header:"white title top-left on black",cards:"primary cards with circle icons, last card primary",numbers:"01",photos:"industrial photos in rounded frames",share:.18},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo: TL contents left label + numbered items row; TC section number 01 with primary block; TR 4 cards row with circle icons, last card primary; ML title + round icon rows; BL primary panel big numbers 01 02; BR primary small cards; MR dense text; BC photo card row",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark title top-left",cards:"light cards with primary icons, last card primary filled",numbers:"01",photos:"office photos",share:.05}],continuity:["black field with teal arc becomes black pages with teal cards","deep ocean blue photo carries into dark pages with blue cards","dark sepia background with amber-yellow accents throughout","dark slate ground and sky blue pill color continue inside"],traits:["symmetric blue-tinted glass atrium photo with centered title","vaporwave classical statue bust with pink blobs and dot grid","monochrome folded-facade architecture with neon green title","dark sepia-toned city skyline photo with amber pill byline","dark monochrome city skyline photo with amber-orange title","sea turtle in an underwater cave silhouette with slider buttons"]},"flat-illustration":{samples:109,genres:[{genre:"classroom",share:.41},{genre:"business",share:.19},{genre:"kids",share:.13},{genre:"marketing",share:.08},{genre:"medical",share:.07}],palettes:[{background:"#FFFFFF",primary:"#4483D7",text:"#294285",accent:"#D8B66D",share:.2},{background:"#FFFFFF",primary:"#3FA37B",text:"#394C45",share:.15},{background:"#FFF5ED",primary:"#CD5945",text:"#4D3B41",accent:"#EAAE53",share:.11},{background:"#FFFFFF",primary:"#415899",text:"#415899",accent:"#52C0C3",share:.07},{background:"#FFFFFF",primary:"#F3A249",text:"#333237",share:.06},{background:"#EFFAEE",primary:"#45C283",text:"#5E7D5C",accent:"#E5CB79",share:.06},{background:"#7796F0",primary:"#46589E",text:"#FCFAFD",share:.05},{background:"#FFFBEF",primary:"#A98A37",text:"#845628",share:.05}],covers:[{title:{box:[.08,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"flat_people",box:[.55,.14,.42,.85],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["点阵","星芒","灯泡"],share:.29},{title:{box:[.08,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"flat_people",box:[.53,.17,.45,.75],bleed:!1},eyebrow:"date",byline:"pill",frame:"card_on_bg",decor:["三圆点","网格底纹","有机色块"],share:.17},{title:{box:[.18,.33,.64,.12],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"cartoon",box:[0,.47,1,.53],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["山丘","云朵","燕子"],share:.13},{title:{box:[.48,.3,.47,.25],align:"right",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"cartoon",box:[0,.18,.45,.82],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["斜切块","医疗十字","时钟"],share:.08},{title:{box:[.08,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"flat_people",box:[.55,.15,.4,.8],bleed:!1},eyebrow:"date",byline:"block",frame:"ornament_border",decor:["网格底纹","灯塔","光束"],share:.05}],inner:[{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo; ML large meeting photo; BL primary panel big numbers 01; BR primary small cards plus photos; MR isometric map graphic",contents:"left CONTENTS/目录 label, items 01 02 in a row",header:"plain dark title top-left",cards:"white cards with primary circle icons, last card primary filled",numbers:"01",photos:"office photos",share:.4},{skeleton:"TL contents left label + numbered items row; TR 4 cards row with circle icons, last card amber; ML title + text + primary block; BL amber panel big numbers 01 02; BR amber small cards + photo; MR cartoon icons",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark title top-left",cards:"white cards with primary outline offset, last card amber filled",numbers:"01",photos:"children photos and cartoon icons",share:.34},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo but TL is a list card instead of contents; primary; cartoon city skyline edges",header:"plain dark title top-left",cards:"light cards with circle icons, last card primary",numbers:"01",photos:"photos in rounded frames",share:.11},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo: TL contents left label + numbered items row; TC framed section page; TR 4 cards row with circle icons, last card primary; ML title + sketch cards; BL primary panel big numbers 01 02; BR bookshelf photo; MR painting child photo; BC photo row",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark title top-left",cards:"light cards, last card primary filled",numbers:"01",photos:"children activity photos",share:.04}],continuity:["orange primary and grid paper texture carry into inner pages","green primary with blue secondary and stripe corners repeated","sky blue and handwritten font continue; paper plane doodles","red primary and primary-color circles continue at inner edges"],traits:["flat cartoon brown bear standing in leafy circle on pale sage","cute cartoon dinosaur with egg on pale blue doodle background","flat figure presenting a chart on a periwinkle organic blob","big-eyed cartoon kid with pencil and backpack on muted purple","flat female judge at lectern on periwinkle blob background","flat astronauts floating around a giant tablet in indigo space"]},geometric:{samples:97,genres:[{genre:"business",share:.37},{genre:"recruitment",share:.14},{genre:"academic",share:.13},{genre:"marketing",share:.12},{genre:"classroom",share:.11}],palettes:[{background:"#FFFFFF",primary:"#C57460",text:"#684137",share:.11},{background:"#FFFFFF",primary:"#776BFA",text:"#3C3B7B",accent:"#F5CB3E",share:.08},{background:"#FFFFFF",primary:"#373B3F",text:"#373B3F",share:.07},{background:"#FFFFFF",primary:"#4CA6A7",text:"#384756",accent:"#F7BC13",share:.06},{background:"#FFFBF7",primary:"#F3BD2F",text:"#686348",share:.05},{background:"#FFFFFF",primary:"#577D9E",text:"#2E4154",share:.05},{background:"#0456B0",primary:"#143B5E",text:"#FCFEFF",share:.04},{background:"#FFFFFF",primary:"#60706B",text:"#60706B",share:.03}],covers:[{title:{box:[.2,.34,.6,.13],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"geometric",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["点阵","半圆","细线同心圆"],share:.23},{title:{box:[.08,.3,.45,.24],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"geometric",box:[.5,0,.5,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["点阵","V形箭头","半圆"],share:.22},{title:{box:[.15,.32,.7,.12],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"geometric",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"card_on_bg",decor:["波浪线","点阵","黄色圆"],share:.1},{title:{box:[.08,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"geometric",box:[.59,0,.41,.9],bleed:!0},eyebrow:"date",byline:"pill",frame:"split",decor:["斜切块","斜切橙色块","橙色竖块"],share:.05},{title:{box:[.2,.35,.6,.13],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"geometric",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"ornament_border",decor:["半圆","细线框","短横线组"],share:.05}],inner:[{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo; primary; dot grid accents on inner corners",contents:"left CONTENTS/目录 label, items in a row with primary numbers",header:"plain dark title top-left",cards:"cream cards with circle icons, last card primary",numbers:"01",photos:"team and office photos in rounded frames",share:.57},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo but TL is a stacked contents card; dusty rose primary; ML photo above heading",contents:"stacked list card top-left",header:"plain dark title top-left",cards:"light cards with circle icons, last card dusty rose",numbers:"01",photos:"business and product photos in rounded frames",share:.29},{skeleton:"TL list card; TC ring + 01; TR plain title + 4 tall cards row alternating white and primary with circle icons; ML photo cards; MR chart illustration; BL primary panel with big numbers 01 02 + chart; BC photo; BR people photo",header:"plain dark title top-left",cards:"alternating white and primary cards, circle icons on top",numbers:"01",photos:"business photos and charts",share:.05},{skeleton:"TL contents as white card with stacked item lines (no CONTENTS label column); TR 4 cards row with circle icons, last card primary filled; ML number badges 01 03 with text rows; BL primary panel big numbers 01; BC 4-column text items with divider lines; BR primary small cards plus line-art org chart and resume graphics",contents:"white card with items stacked vertically",header:"plain dark title top-left",cards:"white cards with primary circle icons, last card primary filled",numbers:"01",photos:"few photos, line-art recruiting illustrations",share:.03}],continuity:["black ground and champagne gold carry into cards and accents","red overlay tint and dark ground used across all inner pages","dark purple with neon gradient planets and dot grids continue","coral orange ring color fills inner cards; ring motif repeats"],traits:["grayscale city-and-person photo masked inside thick red ring","stacked red chevron arrow on right edge with faint diamonds","emerald green card with a lime gradient planet and ring orbit","Memphis pastel blobs with mustard stripes and confetti dashes","copper gradient chevron arrows at opposite corners on charcoal","retro orange concentric-arc stripes at top and bottom on peach"]},guochao:{samples:36,genres:[{genre:"culture",share:.5},{genre:"classroom",share:.25},{genre:"marketing",share:.17},{genre:"festival",share:.06},{genre:"business",share:.03}],palettes:[{background:"#EDF5F0",primary:"#4A876B",text:"#1F4B50",share:.25},{background:"#FFFFFF",primary:"#BC7252",text:"#98563C",share:.14},{background:"#F6F4F0",primary:"#4F464C",text:"#4F464C",share:.08},{background:"#FDF5EF",primary:"#AA381C",text:"#AA381C",share:.06},{background:"#E0E0F0",primary:"#1E264A",text:"#1E264A",share:.06},{background:"#039C8D",primary:"#05ACD5",text:"#FDFEFB",accent:"#039C8D",share:.06},{background:"#1B3336",primary:"#5C8C53",text:"#E9EDEC",share:.06},{background:"#4A9579",primary:"#469276",text:"#F8F3E9",share:.03}],covers:[{title:{box:[.28,.32,.45,.22],align:"center",lines:2,weight:"regular",family:"sans",effect:"none"},hero:{kind:"guochao",box:[0,.6,1,.4],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["仙鹤","祥云","红日"],share:.22},{title:{box:[.08,.3,.45,.22],align:"left",lines:2,weight:"heavy",family:"serif",effect:"none"},hero:{kind:"guochao",box:[0,.3,1,.7],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["红日","圆日","飞鸟"],share:.14},{title:{box:[.5,.3,.45,.24],align:"right",lines:2,weight:"heavy",family:"serif",effect:"none"},hero:{kind:"guochao",box:[0,.05,.45,.95],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["蝴蝶","花鸟","山水"],share:.08},{title:{box:[.08,.3,.45,.22],align:"left",lines:2,weight:"bold",family:"serif",effect:"none"},hero:{kind:"guochao",box:[.55,0,.45,.95],bleed:!0},eyebrow:"date",byline:"plain",frame:"full_bleed",decor:["祥云","圆日","底部色带"],share:.08},{title:{box:[.08,.3,.4,.22],align:"left",lines:2,weight:"bold",family:"serif",effect:"none"},hero:{kind:"guochao",box:[.45,.1,.5,.85],bleed:!1},eyebrow:"date",byline:"outline",frame:"ornament_border",decor:["竹叶","长城","顶部色带"],share:.08}],inner:[{skeleton:"TL contents left label + numbered items in a row; TC flower illustration section; TR 4 tall cards with circle icons, last primary; ML round photo thumbnails; BL big numbers 01 02 in primary card + bookshelf photo; MR long text; BR primary stacked cards + english sign photo",contents:"left CONTENTS/目录 label, items in a row",header:"plain dark title top-left",cards:"light cards with last filled primary",numbers:"01",photos:"photos in rounded frames",share:.83},{skeleton:"NOT TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo: TL contents left label + numbered items row; ML section title + vertical column of round photo icons; BL two-line title + photo; MR/BR photos right column; TC section number 01",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark serif title top-left",cards:"light cards with round photo icons, primary bars",numbers:"01",photos:"education photos in rounded frames",share:.06},{skeleton:"TL list card; TC pagoda + 01; TR plain title + 4 tall cards row alternating white and primary with circle icons; ML icon list rows; MR flat illustration; BL primary panel with big numbers 01 02 + farm photo; BC text columns; BR primary side column + produce photo",header:"plain dark title top-left",cards:"alternating white and vermilion cards, circle icons on top",numbers:"01",photos:"farm and produce photos in rectangular frames",share:.03},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo: TL contents left label + numbered items row; TR 4 cards row with circle icons, last card primary; ML title + stacked primary cards; BL primary panel big numbers 01 02; BR illustration; MR guochao poster; TC section number 01",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark serif title top-left",cards:"light cards, last card primary filled",numbers:"01",photos:"illustration posters, few photos",share:.03}],continuity:["deep teal bands and bamboo corners recur on cream inner pages","sage green with botanical illustration accents at corners","mint ground with green stylized hills and bamboo at inner edges","green from the mountains fills inner cards on a pale mint ground"],traits:["guochao teal-gold Great Wall mountains under a big yellow sun","guochao pagoda and cranes inside a cloud-shaped window on teal","guochao orange-teal cloud mountains and red pine trees on white","muted taupe cover with flowing satin-like mountains and gold crane","guochao peach cloud sea, pagoda and cranes under golden moon on jade","illustrated ancient scholar in a beige circle with birds, serif title"]},"ink-paper":{samples:69,genres:[{genre:"culture",share:.49},{genre:"classroom",share:.22},{genre:"business",share:.07},{genre:"academic",share:.07},{genre:"marketing",share:.06}],palettes:[{background:"#FFFFFF",primary:"#433F3D",text:"#433F3D",share:.25},{background:"#FFFFFF",primary:"#69645D",text:"#69645D",share:.2},{background:"#EBF3F7",primary:"#4D575D",text:"#4D575D",share:.19},{background:"#FFFFFF",primary:"#49AF88",text:"#3B6453",share:.1},{background:"#F6FAFB",primary:"#3F7D8E",text:"#2E515E",share:.07},{background:"#FFFFFF",primary:"#C31D2A",text:"#4C3138",share:.06},{background:"#FAF4F4",primary:"#BE8B86",text:"#725754",share:.04},{background:"#EF7238",primary:"#924826",text:"#FDF9ED",share:.01}],covers:[{title:{box:[.08,.3,.45,.22],align:"left",lines:2,weight:"regular",family:"serif",effect:"none"},hero:{kind:"ink_wash",box:[.5,.1,.5,.9],bleed:!0},eyebrow:"date",byline:"plain",frame:"full_bleed",decor:["飞鸟","远山","红日"],share:.25},{title:{box:[.18,.35,.64,.13],align:"center",lines:1,weight:"heavy",family:"serif",effect:"none"},hero:{kind:"ink_wash",box:[0,.45,1,.55],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["飞鸟","红日","小舟"],share:.19},{title:{box:[.08,.3,.46,.23],align:"left",lines:2,weight:"regular",family:"serif",effect:"none"},hero:{kind:"ink_wash",box:[.56,.11,.41,.85],bleed:!1},eyebrow:"date",byline:"plain",frame:"ornament_border",decor:["切角框","印章","色块角"],share:.09},{title:{box:[.48,.3,.47,.22],align:"right",lines:2,weight:"regular",family:"serif",effect:"none"},hero:{kind:"ink_wash",box:[0,.1,.8,.6],bleed:!0},eyebrow:"date",byline:"plain",frame:"full_bleed",decor:["印章","飞鸟","亭子"],share:.07},{title:{box:[.45,.3,.49,.22],align:"right",lines:2,weight:"regular",family:"serif",effect:"none"},hero:{kind:"ink_wash",box:[0,.1,.45,.9],bleed:!0},eyebrow:"date",byline:"plain",frame:"full_bleed",decor:["飞鸟","远山","红日"],share:.06}],inner:[{skeleton:"TL contents left label + numbered items row; TR 4 cards row with circle icons, last card taupe; ML title + text + architecture image; BL taupe panel big numbers 01 02; BR taupe small cards + portrait photo; MR leaf photo",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark serif title top-left",cards:"white cards, last card taupe filled",numbers:"01",photos:"nature and portrait photos",share:.41},{skeleton:"TL contents left label + numbered items row; TR 4 cards row with circle icons, last card primary; ML title + illustration cards; BL primary panel big numbers 01 02; BR photo; BC text columns",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark serif title top-left",cards:"cream and primary cards, last card primary filled",numbers:"01",photos:"classroom photos and illustrations",share:.25},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo; muted primary; ink-wash pavilion and crane cutouts at edges",contents:"left CONTENTS/目录 label, items in a row with primary numbers",header:"plain dark title top-left",cards:"light cards with circle icons, last card primary",numbers:"01",photos:"classroom and calligraphy photos in rounded frames",share:.17},{skeleton:"TL contents left label + numbered items in a row; ML primary icon list bars; BL title + forest photo; MR misty mountain photo; BR primary foliage photo",contents:"left CONTENTS/目录 label, items in a row with primary numbers",header:"plain dark title top-left",cards:"primary filled bars with outline icons",numbers:"01",photos:"nature photos in rounded frames",share:.04}],continuity:["ink-wash mountains and red brush accent recur on white pages","paper texture with blue-green mountains and red title accent","jade green border and ink-wash motifs at inner page corners","teal watercolor tone reappears as card fill and pill color"],traits:["unrolled scroll revealing 3D jade mountains over misty water","crimson ink bamboo on warm beige with deep red serif title","snow mountain peak emerging from white clouds on pale blue-gray","teal watercolor splash rising from the bottom under a teal title","faint ink-wash mountain mist with crimson date and pill","right-aligned brush title balanced by a pink-ink lotus on the left"]},"light-flow":{samples:84,genres:[{genre:"business",share:.49},{genre:"classroom",share:.11},{genre:"marketing",share:.11},{genre:"academic",share:.07},{genre:"tech",share:.07}],palettes:[{background:"#FBFDFE",primary:"#4374D2",text:"#3E599A",share:.17},{background:"#3265EA",primary:"#4977ED",text:"#FFFFFF",share:.07},{background:"#FEF5F6",primary:"#5D6C97",text:"#5D6C97",share:.07},{background:"#FBF2E7",primary:"#B27D7F",text:"#7C5458",share:.06},{background:"#FFFFFF",primary:"#0738C6",text:"#042483",accent:"#DF44EB",share:.05},{background:"#E7EAF4",primary:"#32AB9E",text:"#275550",share:.04},{background:"#171D4B",primary:"#528ACA",text:"#BECEE1",share:.04},{background:"#F2F4F5",primary:"#464444",text:"#464444",share:.04}],covers:[{title:{box:[.08,.32,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"3d_object",box:[.45,.1,.55,.9],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["汉堡线","祥云纹","细横线"],share:.25},{title:{box:[.2,.35,.6,.12],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"geometric",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"plain",frame:"full_bleed",decor:["点阵","小圆点","同心圆环"],share:.25},{title:{box:[.08,.3,.45,.24],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"fluid",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"plain",frame:"full_bleed",decor:["水彩晕染","流动细线束","玻璃圆"],share:.15},{title:{box:[.15,.33,.7,.12],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"fluid",box:[0,.03,1,.72],bleed:!0},eyebrow:"date",byline:"pill",frame:"card_on_bg",decor:["玻璃面板","四芒星","菜单图标"],share:.1},{title:{box:[.08,.3,.46,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"gradient",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"plain",frame:"card_on_bg",decor:["点阵","细曲线","大圆弧"],share:.05}],inner:[{skeleton:"TL contents left label + numbered items in a row; TR 4 tall cards with circle icons, last primary; ML round photo thumbnails row; BL big numbers 01 02 in primary card + photo; MR text column; BR primary stacked cards + classroom photo",contents:"left CONTENTS/目录 label, items in a row",header:"plain dark title top-left",cards:"light cards with last filled primary",numbers:"01",photos:"round thumbnails and rounded photo frames",share:.49},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo; primary; ML side label rows with small titles",contents:"left CONTENTS/目录 label, items in a row with primary numbers",header:"plain dark title top-left",cards:"white cards with circle icons, last card primary",numbers:"01",photos:"photos in rounded frames beside primary cards",share:.38},{skeleton:"TL contents left label column + numbered items in a row; ML title + periwinkle photo cards; MR portrait photo; BL title + sketch image; BC icon tiles; BR Great Wall photo",contents:"left CONTENTS/目录 label, numbered items laid out horizontally",header:"plain dark title top-left",cards:"periwinkle tinted photo cards and pale bars",numbers:"01",photos:"photos in rectangular frames",share:.04},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo: TL contents left label + numbered items row; TR 4 cards row with circle icons, last card primary; ML title + primary text cards; BL primary panel big numbers 01 02; BR primary small cards + map graphic; MR dense text; BC primary small cards row",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark title top-left",cards:"primary cards, last card primary filled",numbers:"01",photos:"few images, flat graphics",share:.02}],continuity:["coral pink title color and organic corner blobs recur inside","white field and pink from the gradient orb become pink cards","pink-coral organic blobs and leaf line art at inner corners","pink bubbles and frosted glass card soften into coral cards"],traits:["frosted glass spheres on pale blue with bold blue bottom bar","black marble with gold veins and italic gold gradient title","layered indigo fluid waves with magenta and cyan corner blobs","oversized thick blue paperclip-like stroke on near-white cover","molecule photo under a translucent emerald duotone overlay","soft pink and blue watercolor wash with cornflower serif title"]},"line-sketch":{samples:29,genres:[{genre:"business",share:.28},{genre:"academic",share:.14},{genre:"classroom",share:.14},{genre:"kids",share:.1},{genre:"recruitment",share:.1}],palettes:[{background:"#FFFFFF",primary:"#64A58A",text:"#232930",share:.17},{background:"#F9F9F9",primary:"#4F4842",text:"#4F4842",share:.14},{background:"#FFFFFF",primary:"#FF941D",text:"#423529",share:.14},{background:"#FFFFFF",primary:"#C07572",text:"#7C4845",share:.1},{background:"#EFF1FF",primary:"#426FDF",text:"#2E4A93",share:.1},{background:"#FFFFFF",primary:"#010101",text:"#010101",share:.07},{background:"#FFFFFF",primary:"#FFB002",text:"#403730",share:.07},{background:"#FFFFFF",primary:"#53C155",text:"#151A1C",share:.03}],covers:[{title:{box:[.08,.32,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"line_art",box:[.55,.2,.4,.8],bleed:!0},eyebrow:"date",byline:"plain",frame:"full_bleed",decor:["齿轮","折线人字纹","斜线排列"],share:.24},{title:{box:[.2,.33,.61,.13],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"line_art",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["有机色块","手绘叶片","线描花朵"],share:.21},{title:{box:[.08,.3,.42,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"flat_people",box:[.55,.15,.38,.7],bleed:!1},eyebrow:"date",byline:"pill",frame:"card_on_bg",decor:["点阵","蓝色角块","三点符号"],share:.1},{title:{box:[.1,.31,.44,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"line_art",box:[.58,.15,.35,.72],bleed:!1},eyebrow:"date",byline:"outline",frame:"ornament_border",decor:["细线框","虚线","圆弧"],share:.07},{title:{box:[.07,.29,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"line_art",box:[.55,.15,.4,.8],bleed:!1},eyebrow:"date",byline:"plain",frame:"device",decor:["浏览器顶栏","橙色色块","点阵"],share:.07}],inner:[{skeleton:"TL contents left label + numbered items in a row; TR 4 tall cards with petal icons, last terracotta; ML photo thumbnail + text; BL big numbers 01 02 in terracotta card; MR text column; BC text columns with rules; BR terracotta stacked cards",contents:"left CONTENTS/目录 label, items in a row",header:"plain dark title top-left",cards:"light blush cards with last filled terracotta",numbers:"01",photos:"few small photos",share:.38},{skeleton:"TL contents left label + numbered items in a row; TC contour line section; TR 4 tall cards with circle icons, last steel primary; ML numbered list 01 03 with text; BL big numbers 01 02 in primary card + medical photo; MR person arrow illustration; BR primary stacked cards + photo",contents:"left CONTENTS/目录 label, items in a row",header:"plain dark title top-left",cards:"light cards with last filled steel primary",numbers:"01",photos:"photos in rounded frames",share:.31},{skeleton:"TL contents left label + numbered items in a row; TC outline big number 01 section; TR 4 tall cards with circle icons, last gray; ML 3D icon cards; BL big numbers 01 02 in gray card + photo; BR gray stacked cards + chart illustration",contents:"left CONTENTS/目录 label, items in a row",header:"plain dark title top-left",cards:"light cards with last filled mid-gray",numbers:"01",photos:"photos and 3D chart illustrations",share:.1},{skeleton:"TL contents left label + numbered items in a row; TC phone mockup section; ML primary cards with round photos; BL title text + landscape photos; MR landscape photos",contents:"left CONTENTS/目录 label, items in a row with primary numbers",header:"plain dark title top-left",cards:"primary tinted cards",numbers:"01",photos:"landscape photos in rounded frames",share:.07}],continuity:["pink desk-flat-lay doodles frame inner pages, coral primary","jade green and blue gradient landmark motifs echo at page tops","blue primary and paper-plane line icons reappear on inner pages","stacked browser-window frames and orange accents continue"],traits:["flat vivid green with oversized white outline chat bubble","stacked chevron line-art pattern, strict black-and-white minimal","gold outline leaves and soft organic blobs on pale mint","black line-art woman running with a browser window over pink blob","black-and-white line-drawn people riding a neon green growth arrow","gold line-drawn peonies framing bronze serif title on speckled paper"]},"red-ceremony":{samples:42,genres:[{genre:"civic",share:.6},{genre:"festival",share:.33},{genre:"recruitment",share:.02},{genre:"business",share:.02},{genre:"marketing",share:.02}],palettes:[{background:"#FFFFFF",primary:"#D32511",text:"#67140F",share:.29},{background:"#E82716",primary:"#AC1310",text:"#FEFEFE",share:.14},{background:"#A91614",primary:"#E0382F",text:"#FDF9F5",share:.12},{background:"#DB1C12",primary:"#EC5A28",text:"#FCFBF8",share:.1},{background:"#9F3B3A",primary:"#CEA373",text:"#FAF1EA",accent:"#9F3B3A",share:.07},{background:"#D90018",primary:"#8C0403",text:"#FEFFFF",share:.07},{background:"#1C4DD5",primary:"#093CCA",text:"#FCFCFD",share:.02},{background:"#2C40A5",primary:"#F42A29",text:"#FEF7F0",accent:"#4559BA",share:.02}],covers:[{title:{box:[.18,.35,.64,.13],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"civic",box:[0,.55,1,.45],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["光带","红绸","白鸽"],share:.36},{title:{box:[.08,.3,.45,.22],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"civic",box:[.55,.2,.45,.8],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["飞鸽","红绸光带","竖向圆点导航"],share:.17},{title:{box:[.15,.2,.7,.12],align:"center",lines:1,weight:"heavy",family:"sans",effect:"gradient"},hero:{kind:"festive",box:[0,.45,1,.55],bleed:!0},eyebrow:"date",byline:"plain",frame:"full_bleed",decor:["红绸","烟花","月饼"],share:.1},{title:{box:[.09,.3,.47,.22],align:"left",lines:2,weight:"bold",family:"calligraphy",effect:"none"},hero:{kind:"festive",box:[.15,.05,.85,.95],bleed:!0},eyebrow:"date",byline:"plain",frame:"full_bleed",decor:["金马","烟花","金山"],share:.05},{title:{box:[.47,.29,.47,.25],align:"right",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"guochao",box:[0,.05,.5,.8],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["长城","白鸽","祥云山丘"],share:.05}],inner:[{skeleton:"TL contents left label + numbered items row; TR 4 cards row with circle icons, last card primary; ML title + photo cards; BL primary panel big numbers 01 02; BR primary small cards + photo",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark serif title top-left",cards:"white cards, last card primary filled",numbers:"01",photos:"photos in frames",share:.52},{skeleton:"TL contents left label column + numbered items in a row; TC big 01 on primary; TR plain title + 4 tall cards row alternating white and primary with circle icons; ML title + text; MR horse motif; BL primary panel with big numbers 01 02 + field photo; BC photo text columns; BR terraced field photo",contents:"left CONTENTS/目录 label, numbered items laid out horizontally",header:"plain dark calligraphic title top-left",cards:"alternating white and festive primary cards, circle icons on top",numbers:"01",photos:"landscape photos in rectangular frames",share:.21},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo with TL contents as stacked list in panel: TL contents list in primary panel; TR 4 cards row with circle icons, last card primary; ML title + primary numbers 01 02 text; BL primary panel big numbers 01 02; BR primary small cards + photo; BC primary card row",contents:"stacked list of items in a primary panel",header:"plain dark title top-left",cards:"primary tint cards, last card primary filled",numbers:"01",photos:"people photos in frames",share:.07},{skeleton:"TL bulleted contents list; ML title + icon rows with tinted bars; MR landscape photo; BL title + photo; BC icon tiles; BR primary binders photo",contents:"plain bulleted list of section titles in one column",header:"plain dark title top-left with primary ribbon top band",cards:"pale tinted bars with icons",numbers:"none",photos:"photos in rectangular frames",share:.05}],continuity:["festive red and gold horse motif recur in corners and cards","christmas red primary and snowman stickers at inner page edges","paper texture with red scalloped valance and dashed frame","cream paper ground, serif type and bamboo leaves continue"],traits:["folded red ribbon chevrons slicing a laptop photo diagonally","glowing skyscraper cluster rising from red silk under red sky","golden stone lion over red silk ribbon, civic propaganda style","billowing red silk with white doves, gold-tinted centered title","glowing open book with flying pages and gold light rings on red","full red gradient field with fine silk-ribbon line waves"]},"soft-3d":{samples:106,genres:[{genre:"business",share:.33},{genre:"marketing",share:.19},{genre:"classroom",share:.18},{genre:"finance",share:.08},{genre:"tech",share:.08}],palettes:[{background:"#E7F3F9",primary:"#3255A9",text:"#3255A9",share:.17},{background:"#FFFFFF",primary:"#5173B8",text:"#263E6E",share:.16},{background:"#F3F5F7",primary:"#DB7250",text:"#8B432B",share:.1},{background:"#FFFFFF",primary:"#F4A433",text:"#704630",share:.1},{background:"#E1F0E5",primary:"#60A883",text:"#406250",share:.08},{background:"#FFFFFF",primary:"#BF7637",text:"#836444",share:.06},{background:"#BBD9F3",primary:"#4D8FD1",text:"#404973",share:.05},{background:"#FFFFFF",primary:"#5EAEDF",text:"#5E6D79",share:.05}],covers:[{title:{box:[.08,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"3d_object",box:[.55,.15,.4,.8],bleed:!1},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["点阵","三圆点","玻璃圆环"],share:.43},{title:{box:[.08,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"3d_object",box:[.55,.15,.4,.75],bleed:!1},eyebrow:"date",byline:"pill",frame:"card_on_bg",decor:["四点","星星","菜单图标"],share:.24},{title:{box:[.47,.3,.47,.25],align:"right",lines:2,accentLine:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"3d_object",box:[.04,.15,.45,.75],bleed:!1},eyebrow:"date",byline:"pill",frame:"card_on_bg",decor:["彩点","细线","玻璃卡片"],share:.08},{title:{box:[.47,.3,.46,.23],align:"right",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"3d_object",box:[.01,.15,.47,.75],bleed:!1},eyebrow:"date",byline:"block",frame:"full_bleed",decor:["公式纸卷","纸飞机","滑雪人"],share:.06},{title:{box:[.08,.3,.49,.24],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"3d_object",box:[.56,.05,.43,.88],bleed:!1},eyebrow:"date",byline:"pill",frame:"none",decor:["箭头组","散落立方块","斜向圆角条"],share:.04}],inner:[{skeleton:"TL contents list in light panel; TR 4 cards row with circle icons, last card primary; ML title + photo list rows; BL primary panel big numbers 01 02; BR primary small cards + photo",contents:"light panel with short text list",header:"plain dark title top-left",cards:"primary cards, last card primary filled",numbers:"01",photos:"finance photos in small frames",share:.39},{skeleton:"TL contents list in light panel; TR 4 cards row with circle icons, last card primary; ML title + text columns; BL primary panel big numbers 01 02; BR primary small cards + tech photo",contents:"light panel with short text list",header:"plain dark title top-left",cards:"white and primary cards, last card primary filled",numbers:"01",photos:"photos in rounded frames",share:.33},{skeleton:"TL contents left label column + numbered items in a row; TC shapes + 01; TR plain title + 4 tall cards row alternating white and primary with circle icons; ML photo cards; MR paragraph text; BL primary panel with big numbers 01 02 + circuit photo; BC landscape photos; BR city photo",contents:"left CONTENTS/目录 label, numbered items laid out horizontally",header:"plain dark title top-left",cards:"alternating white and burnt primary cards, circle icons on top",numbers:"01",photos:"landscape and tech photos",share:.09},{skeleton:"TL contents left label column + numbered items in a row; TC 3D object + 01; TR plain title + 4 tall cards row alternating white and primary with circle icons; ML chevron icon list card; MR english word sticky note; BL primary panel with big numbers 01 02 + figure; BC text columns; BR strategy sign photo",contents:"left CONTENTS/目录 label, numbered items laid out horizontally",header:"plain dark title top-left",cards:"alternating white and primary cards, circle icons on top",numbers:"01",photos:"graphics and photos",share:.08}],continuity:["violet from the 3D podium fills inner cards on pale lavender","sky blue and yellow double frame edges carry into inner pages","burnt orange arch and spheres color fill inner cards on cream","copper brown primary and notched-corner frame repeat inside"],traits:["frosted glass panels and translucent blue ring on pale blue","exploding metallic data cubes with triple chevron logo mark","cluster of pastel violet 3D cubes on a lavender split panel","stacked translucent violet glass cubes on lavender gradient","translucent glass capsule spilling molecules on pale icy blue","3D purple shopping bag, coins and shield check on blue blob"]},"tech-glow":{samples:108,genres:[{genre:"tech",share:.4},{genre:"business",share:.26},{genre:"marketing",share:.14},{genre:"recruitment",share:.06},{genre:"finance",share:.06}],palettes:[{background:"#002C43",primary:"#10B1D4",text:"#96C4C7",share:.14},{background:"#0C305C",primary:"#5C8AB0",text:"#B8C3C8",share:.13},{background:"#050C1F",primary:"#57A8E5",text:"#CBE1ED",share:.11},{background:"#0B2A73",primary:"#2B5DCE",text:"#B6D2EE",share:.08},{background:"#0C1349",primary:"#763DC1",text:"#7F81C4",accent:"#180857",share:.06},{background:"#010101",primary:"#2DB463",text:"#A9CDB5",share:.06},{background:"#100F0C",primary:"#D1863A",text:"#DCC197",share:.04},{background:"#010101",primary:"#2AADE9",text:"#BFD0D3",share:.04}],covers:[{title:{box:[.08,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"tech_glow",box:[.5,.1,.5,.9],bleed:!0},eyebrow:"date",byline:"plain",frame:"full_bleed",decor:["电路线","光点","光带"],share:.3},{title:{box:[.2,.33,.6,.13],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"tech_glow",box:[0,0,1,.8],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["深蓝渐变","黑底","金色曲线"],share:.19},{title:{box:[.08,.32,.45,.24],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"tech_glow",box:[.3,0,.7,1],bleed:!0},eyebrow:"date",byline:"plain",frame:"full_bleed",decor:["粒子光流","大圆","下划短线"],share:.1},{title:{box:[.5,.3,.45,.25],align:"right",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"tech_glow",box:[0,.08,.55,.85],bleed:!0},eyebrow:"date",byline:"plain",frame:"full_bleed",decor:["金色细线束","弧形切面","透视网格"],share:.09},{title:{box:[.07,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"tech_glow",box:[.3,.05,.7,.95],bleed:!0},eyebrow:"date",byline:"plain",frame:"card_on_bg",decor:["光轨","发光城市","光纤流线"],share:.06}],inner:[{skeleton:"TL contents left label + numbered items in a row; TR 4 tall cards with circle icons, last primary; ML photo + text cards; BL big numbers 01 02 in primary card + photo; MR long text; BR primary stacked cards + engine photo",contents:"left CONTENTS/目录 label, items in a row on primary",header:"plain light title top-left on primary",cards:"primary filled cards on primary",numbers:"01",photos:"photos in rounded frames",share:.32},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo on primary ground; ML title + text rows; BR primary cards + landscape photos",contents:"left CONTENTS/目录 label, items 01 02 in a row",header:"plain light title top-left on dark",cards:"dark cards with primary circle icons, last card primary filled",numbers:"01",photos:"landscape photos in rounded frames",share:.28},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo; ML photo cards; BL primary panel big numbers 01 beside forest lake photo; BR lighter primary cards; MR line-art analytics illustration",contents:"left CONTENTS/目录 label, items 01 02 in a row",header:"plain light title top-left on primary",cards:"primary cards with brighter primary highlight",numbers:"01",photos:"nature photos and line art",share:.14},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo but TL is a primary list card instead of contents label; primary ground with neon primary",header:"white title top-left on dark",cards:"primary cards with circle icons on primary",numbers:"01",photos:"few photos, mostly primary panels",share:.09}],continuity:["black ground and violet primary taken from the particle wave","dark grayscale ground with electric blue accents throughout","dark navy ground and soft blue primary from the glowing vortex","indigo-violet tech palette and bottom gradient band carry over"],traits:["liquid gold wave sculpture on a black pedestal against black","glowing wireframe globe touched by digital hand on deep blue","glowing teal particle wave across dark teal with soft circles","holographic stock chart screen floating on a perspective grid","armored figure stepping through a glowing neon ring in mist","minimal dark purple cover with swirling glowing filament arcs"]},"toon-3d":{samples:45,genres:[{genre:"business",share:.29},{genre:"classroom",share:.22},{genre:"kids",share:.2},{genre:"medical",share:.13},{genre:"recruitment",share:.11}],palettes:[{background:"#FDF7F2",primary:"#E66427",text:"#8D4D24",accent:"#FED35B",share:.13},{background:"#FFFFFF",primary:"#376EDB",text:"#113261",accent:"#FAD093",share:.09},{background:"#FFFFFF",primary:"#3DA7EA",text:"#1A4B80",share:.09},{background:"#FEF7EC",primary:"#F9AD31",text:"#533D28",share:.07},{background:"#1891D3",primary:"#63AED4",text:"#F0F2ED",share:.07},{background:"#FFFFFF",primary:"#829E6F",text:"#314052",share:.07},{background:"#E9D8CA",primary:"#7C3830",text:"#080406",accent:"#F6DB93",share:.04},{background:"#08B6F4",primary:"#A1DCD4",text:"#505964",accent:"#08B6F4",share:.04}],covers:[{title:{box:[.08,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"3d_character",box:[.55,.1,.45,.85],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["纸飞机","行星","星星"],share:.47},{title:{box:[.08,.3,.41,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"3d_character",box:[.55,.1,.42,.9],bleed:!0},eyebrow:"date",byline:"pill",frame:"card_on_bg",decor:["3D铃铛","叠层卡片","粗色边框"],share:.22},{title:{box:[.5,.3,.45,.25],align:"right",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"cartoon",box:[0,.15,.45,.85],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["动物群","书本","三圆点"],share:.11},{title:{box:[.45,.3,.5,.25],align:"right",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"3d_character",box:[.05,.1,.43,.88],bleed:!1},eyebrow:"date",byline:"plain",frame:"card_on_bg",decor:["斜切块","四角星","弧线"],share:.09},{title:{box:[.08,.3,.45,.25],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"cartoon",box:[.55,.15,.4,.75],bleed:!1},eyebrow:"date",byline:"pill",frame:"device",decor:["游戏机按键","进度条","棋盘格"],share:.07}],inner:[{skeleton:"TL contents left label + numbered items row; TR 4 cards row with circle icons, last card amber; ML title + photo; BL amber panel big numbers 01 02; BR amber small cards + photo; MR education icon illustration",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark title top-left",cards:"cream cards on amber ground, last card amber filled",numbers:"01",photos:"photos in rounded frames and line icon illustrations",share:.44},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo; primary; web-page chrome on inner pages",contents:"left CONTENTS/目录 label, items in a row with primary numbers",header:"plain dark title top-left",cards:"light cards with circle icons, last card primary",numbers:"01",photos:"office photos in rounded frames",share:.4},{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo: TL contents left label + numbered items row; TC section number 01; TR 4 cards row with circle icons, last card primary; ML title + icon list rows; BL primary panel big numbers 01 02; BR primary small cards + prohibition sign; MR dense text; BC bus photo + text",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark title top-left",cards:"light cards, last card primary filled",numbers:"01",photos:"traffic photos",share:.04},{skeleton:"TL contents row; ML section title over a column of round icons or icon bars; BL two or three lines of large title over a landscape photo; R a full column of photos, no card row; ML title + round photo card; BL title text + lake photo; MR/BR landscape photos right column",contents:"left CONTENTS/目录 label, items 01 02 in a row",header:"plain dark title top-left",cards:"white tint cards with outline icons",numbers:"01",photos:"landscape and lake photos in rounded frames",share:.04}],continuity:["bright blue primary carried as frame bars around inner pages","bright azure blue and circular shapes repeat on inner pages","cobalt blue with cream moon shape carries into cobalt cards","red title and bottom swoosh become red cards; drones repeat"],traits:["3D cartoon doctor with clipboard on pale green diagonal light","cute cartoon astronaut kid riding a planet in royal blue space","cartoon zoo animals gathered around an open book on warm yellow","cartoon wild animals gathered around an open book on pale cream","cover drawn as a handheld game console with cute monster cartoons","torn paper diagonal revealing a 3D schoolboy running in classroom"]},"type-poster":{samples:17,genres:[{genre:"business",share:.41},{genre:"classroom",share:.24},{genre:"tech",share:.12},{genre:"marketing",share:.12},{genre:"culture",share:.06}],palettes:[{background:"#FFFFFF",primary:"#393C3E",text:"#393C3E",accent:"#39967B",share:.18},{background:"#FFFFFF",primary:"#4B7BB1",text:"#3B3D49",share:.12},{background:"#2D2F33",primary:"#C8CBCF",text:"#C8CBCF",share:.12},{background:"#5A5C27",primary:"#FBA84F",text:"#F6F0E8",share:.06},{background:"#FFFFFF",primary:"#182F85",text:"#182F85",share:.06},{background:"#003F3E",primary:"#2E868E",text:"#FBFDFE",share:.06},{background:"#000000",primary:"#032A56",text:"#D5D7D7",share:.06},{background:"#6BBE6E",primary:"#59B55D",text:"#F4F2E2",share:.06}],covers:[{title:{box:[.2,.33,.6,.12],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:null,eyebrow:"date",byline:"pill",frame:"ornament_border",decor:["大引号","圆角线框","黑板纹理"],share:.18},{title:{box:[.2,.35,.6,.13],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"line_art",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"board",decor:["黑板木框","粉笔公式","粉笔擦"],share:.18},{title:{box:[.08,.3,.43,.22],align:"left",lines:2,weight:"regular",family:"sans",effect:"none"},hero:null,eyebrow:"date",byline:"plain",frame:"none",decor:[],share:.12},{title:{box:[.2,.35,.6,.15],align:"center",lines:1,weight:"heavy",family:"sans",effect:"shadow"},hero:{kind:"geometric",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["大圆环","四分圆块","同色深浅块"],share:.12}],inner:[{skeleton:"TL contents: a CONTENTS label column with numbered items in a row; TR 4 tall cards in a row, circle icons on top, the last card filled with primary; BL a primary panel with big numbers 01 02; BR small primary cards beside a photo; gray monochrome primary; ML circle icon bullet rows",contents:"left CONTENTS/目录 label, items in a row with gray numbers",header:"plain dark title top-left",cards:"light cards with circle icons, last card gray",numbers:"01",photos:"infographic and chart images",share:.65},{skeleton:"TL contents list in light panel; TR 4 cards row with circle icons, last card slate; ML title + photo cards; BL slate panel big numbers 01 02; BR slate small cards + graphic; BC photo row",contents:"light panel with short text list",header:"plain dark title top-left",cards:"white cards, last card slate gray-primary filled",numbers:"01",photos:"business people photos in frames",share:.12},{skeleton:"TL contents left label + numbered items in a row; TC cartoon kid peeking over board; ML primary card with outline icon list; BL title + car photo; MR karst landscape photo; BR traffic cone photo",contents:"left CONTENTS/目录 label, items in a row",header:"plain light title top-left on primary",cards:"primary chalkboard cards with primary frames",numbers:"01",photos:"photos in rounded frames",share:.06},{skeleton:"TL contents left label column + numbered items in a row; ML title + photo cards; MR chart photo; BL title + office photo; BC primary bars with icons; BR business photo",contents:"left CONTENTS/目录 label, numbered items laid out horizontally",header:"plain dark title top-left",cards:"pale tinted cards with primary bars",numbers:"01",photos:"business photos in rectangular frames",share:.06}],continuity:["rice-paper ground with fret corner brackets on inner pages","deep teal primary from the cover frame becomes card and panel fills","olive chalkboard with orange frame repeated on pages","charcoal chalkboard and peach-rust accents continue"],traits:["realistic wooden-framed chalkboard with faint chalk formulas","pure black cover with only white light-weight type, no imagery","cyan gradient title over blue hexagon grid and HUD rings","bare black cover with only a blue-to-magenta gradient display-font title","nested rounded frames over a teal-tinted building photo, white pill byline","flat teal chalkboard with brown wood frame, chalk and leafy plants on peach"]},watercolor:{samples:51,genres:[{genre:"business",share:.29},{genre:"classroom",share:.18},{genre:"marketing",share:.1},{genre:"academic",share:.1},{genre:"tech",share:.08}],palettes:[{background:"#FFFFFF",primary:"#625846",text:"#625846",share:.29},{background:"#F2F7F6",primary:"#5AA065",text:"#4A6E4B",share:.25},{background:"#FFFBEF",primary:"#DE565B",text:"#725156",share:.1},{background:"#FFFFFF",primary:"#E29D49",text:"#744D2D",share:.08},{background:"#F6F8FA",primary:"#5093B9",text:"#385B6D",share:.08},{background:"#FFFFFF",primary:"#996260",text:"#6B4D4A",share:.06},{background:"#A8A486",primary:"#8CB177",text:"#FFFBF7",share:.02},{background:"#F0FAF5",primary:"#90C73D",text:"#45623E",share:.02}],covers:[{title:{box:[.08,.3,.42,.22],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"watercolor",box:[.55,.12,.4,.85],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["点阵","光斑","底部色带"],share:.22},{title:{box:[.2,.35,.6,.12],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"watercolor",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"ornament_border",decor:["叶片","植物枝叶","金色细框"],share:.18},{title:{box:[.2,.35,.6,.12],align:"center",lines:1,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"watercolor",box:[0,0,1,1],bleed:!0},eyebrow:"date",byline:"pill",frame:"full_bleed",decor:["植物叶片","花朵","粉色色块"],share:.16},{title:{box:[.5,.29,.45,.22],align:"right",lines:2,weight:"bold",family:"serif",effect:"none"},hero:{kind:"watercolor",box:[.03,.14,.41,.8],bleed:!1},eyebrow:"date",byline:"plain",frame:"ornament_border",decor:["荷花","细线框","拱形窗"],share:.08},{title:{box:[.08,.3,.4,.22],align:"left",lines:2,weight:"heavy",family:"sans",effect:"none"},hero:{kind:"watercolor",box:[.55,.15,.45,.85],bleed:!0},eyebrow:"date",byline:"pill",frame:"card_on_bg",decor:["菜单图标","点阵","汉堡图标"],share:.06}],inner:[{skeleton:"TL contents left label + numbered items row; TR 4 cards row with circle icons, last card taupe; ML title + photo cards; BL taupe panel big numbers 01 02; BR taupe small cards + photo; MR line illustration",contents:"left italic CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark serif title top-left",cards:"cream cards, last card taupe filled",numbers:"01",photos:"photos and line illustrations",share:.33},{skeleton:"TL contents as white card with stacked item lines (no CONTENTS label column); TR 4 cards row with circle icons, last card primary filled; ML list rows with photo thumbnails; BL primary panel big numbers 01; BR primary small cards plus 3D bar chart graphic; MR gauge graphic",contents:"white card with items stacked vertically",header:"plain dark title top-left",cards:"white cards with primary circle icons, last card primary filled",numbers:"01",photos:"finance photos and 3D chart icons",share:.16},{skeleton:"TL contents left label + numbered items row; TR 4 cards row with circle icons, last card ochre; ML title + photo + text list; BL ochre panel big numbers 01 02; BR ochre small cards + illustration",contents:"left CONTENTS/目录 label, items 01 02 in a row at top",header:"plain dark serif title top-left",cards:"cream cards, last card ochre filled",numbers:"01",photos:"photos and flat illustrations mixed",share:.16},{skeleton:"TL contents left label column + numbered items in a row; TR plain title + 4 tall cards row alternating white and primary with circle icons; ML photo + text columns; MR paragraph text; BL primary panel with big numbers 01 02 + chart; BC photo text columns; BR primary side column + portrait photo",contents:"left CONTENTS/目录 label, numbered items laid out horizontally",header:"plain dark title top-left",cards:"alternating white and sage primary cards, circle icons on top",numbers:"01",photos:"people photos in rectangular frames",share:.14}],continuity:["olive green primary and botanical sprigs at inner page edges","sage green and brush font continue; hydrangea corners recur","mint ground and sakura branches continue at inner page tops","eucalyptus watercolor leaves frame inner pages, serif type"],traits:["anime-style girl riding a dragonfly over lotus pond at night","watercolor flowering branches framing a white centered title","pink-gray-sage leaf blobs framing a sage-green centered title","soft watercolor fern leaves at both sides, centered green title","golden ginkgo branch with red ribbon wind chime and cloud lines","crayon-textured autumn trees and drifting leaves on peach"]}},ne={w:33.867,h:19.05},ie=e=>`${Math.round(e*100)}%`;function nt(e){const[t,r,a,n]=e;return`x ${(t*ne.w).toFixed(1)} y ${(r*ne.h).toFixed(1)} w ${(a*ne.w).toFixed(1)} h ${(n*ne.h).toFixed(1)}`}function da(e,t){const r=e.title,a=[`标题${r.align==="left"?"左对齐":r.align==="right"?"右对齐":"居中"}(${nt(r.box)}),${r.lines} 行${r.accentLine?`、第 ${r.accentLine} 行换主色`:""},${r.weight}/${r.family}${r.effect&&r.effect!=="none"?`,${r.effect}`:""}`,e.hero?`主视觉 ${e.hero.kind}(${nt(e.hero.box)}${e.hero.bleed?",出血":""})`:"没有主视觉",`眉标 ${e.eyebrow}`,`落款 ${e.byline}`,`版面 ${e.frame}`,...e.decor.length?[`装饰 ${e.decor.join("、")}`]:[]];return`- 封面 ${String.fromCharCode(65+t)}(${ie(e.share)}):${a.join(";")}`}function ha(e,t=r=>r){if(!e||e.samples===0)return"";const r=e.inner.map(a=>`- ${a.skeleton}(${ie(a.share)})${[a.contents&&`目录:${a.contents}`,a.header&&`标题:${a.header}`,a.cards&&`卡片:${a.cards}`,a.numbers&&`编号:${a.numbers}`,a.photos&&`图片:${a.photos}`].filter(Boolean).map(n=>`
|
|
3
|
+
${n}`).join("")}`);return`
|
|
4
|
+
## 真实稿件里的做法(${e.samples} 套样本归纳,只作参考,按内容重新设计)
|
|
5
|
+
|
|
6
|
+
样本题材:${e.genres.map(a=>`${t(a.genre)} ${ie(a.share)}`).join("、")}
|
|
7
|
+
|
|
8
|
+
### 配色
|
|
9
|
+
${e.palettes.map(a=>`- 底 ${a.background},主 ${a.primary}${a.accent?`,强调 ${a.accent}`:""},字 ${a.text}(${ie(a.share)})`).join(`
|
|
10
|
+
`)}
|
|
11
|
+
|
|
12
|
+
### 封面版式(坐标为 16:9 页面上的厘米,竖屏或其他尺寸按比例换算)
|
|
13
|
+
${e.covers.map(da).join(`
|
|
14
|
+
`)}
|
|
15
|
+
|
|
16
|
+
### 内页(位置缩写:TL 左上、TR 右上、ML 左中、MC 正中、MR 右中、BL 左下、BC 下中、BR 右下)
|
|
17
|
+
${r.join(`
|
|
18
|
+
`)}
|
|
19
|
+
|
|
20
|
+
### 整套如何统一
|
|
21
|
+
${e.continuity.map(a=>`- ${a}`).join(`
|
|
22
|
+
`)}
|
|
23
|
+
|
|
24
|
+
### 好样本的特点
|
|
25
|
+
${e.traits.map(a=>`- ${a}`).join(`
|
|
26
|
+
`)}
|
|
27
|
+
`}const pa="22";function R(e){const t=Object.entries(e.files??{}).map(([r,a])=>({path:r,mediaType:"text/markdown",content:a.trim()}));return{id:e.id,name:e.name,description:e.description,category:e.category,version:pa,files:[{path:"SKILL.md",mediaType:"text/markdown",content:e.instructions.trim()},...t]}}const Be="style-library",it=e=>`${e}.md`,ot={photo:"摄影","3d-object":"3D 物件","3d-character":"3D 卡通人物","flat-illustration":"扁平插画","line-art":"线描","ink-wash":"水墨",guochao:"国潮纹样",watercolor:"水彩",fluid:"流体丝带","tech-glow":"科技光效",geometric:"几何",festive:"节庆元素",civic:"党政符号",gradient:"抽象渐变",type:"大字",chart:"图表"},oe={civic:"机关单位与主题宣讲",classroom:"课堂教学",kids:"儿童与亲子",tech:"科技发布",business:"商务汇报",finance:"金融财报",medical:"医疗健康",culture:"国风与传统文化",festival:"节庆活动",marketing:"营销推广",academic:"学术答辩",recruitment:"招聘与述职",social:"竖屏知识卡"},st={light:"浅色",dark:"深色",saturated:"饱和色",any:"不限"},ma={low:"低饱和",mid:"中等饱和",high:"鲜艳",any:"不限"},ua={none:"直角",small:"小圆角",large:"大圆角",mixed:"直角与圆形并用"},ba=e=>e.hero.picture===void 0;function fa(e){const{hero:t,dimensions:r,tokens:a,components:n,pages:o}=e;return`
|
|
28
|
+
# ${e.name}(${e.key})
|
|
29
|
+
|
|
30
|
+
**主张**:${e.idea}
|
|
31
|
+
**情绪**:${e.moods.join("、")}
|
|
32
|
+
**适合**:${e.genres.map(s=>oe[s]).join("、")}
|
|
33
|
+
|
|
34
|
+
## 主视觉
|
|
35
|
+
- 类型:${t.kinds.map(s=>ot[s]).join("、")}
|
|
36
|
+
- 用形状画:${t.vector}
|
|
37
|
+
${t.picture?`- 能生成图片时,prompt 的风格词:${t.picture}`:"- 这种风格完全用形状、线条和渐变画,不需要图片。"}
|
|
38
|
+
|
|
39
|
+
## 风格维度
|
|
40
|
+
- 色彩:${r.color}
|
|
41
|
+
- 页面底:${r.surface}
|
|
42
|
+
- 层次:${r.depth}
|
|
43
|
+
- 构图:${r.composition}
|
|
44
|
+
- 字体:${r.type}
|
|
45
|
+
|
|
46
|
+
## 取值范围(设计语言落在范围内,具体值由你定)
|
|
47
|
+
- 封面底:${st[a.cover]};内容页底:${st[a.content]};主色:${ma[a.primary]}
|
|
48
|
+
- 标题字体:${a.heading.join("、")};正文字体:${a.body.join("、")}
|
|
49
|
+
- 大字与正文字号比:${a.scale[0]} 到 ${a.scale[1]} 倍;圆角:${ua[a.radius]}
|
|
50
|
+
- 质感:${a.effects.length?a.effects.join("、"):"无,保持扁平"}
|
|
51
|
+
|
|
52
|
+
## 元素词汇
|
|
53
|
+
${e.elements.join("、")}
|
|
54
|
+
|
|
55
|
+
元素库里适合的元素(drawSlide 的 motif,用法见 element-library):${e.motifs.join("、")}
|
|
56
|
+
|
|
57
|
+
默认组件皮肤(setDeckDesign 的 skin,用法见 component-library):${Object.entries(e.skin).map(([s,d])=>`${s} ${d}`).join(",")}
|
|
58
|
+
|
|
59
|
+
## 组件画法
|
|
60
|
+
- 标题组:${n.titleGroup}
|
|
61
|
+
- 卡片:${n.card}
|
|
62
|
+
- 徽章:${n.badge}
|
|
63
|
+
- 内容页标题区:${n.header}
|
|
64
|
+
|
|
65
|
+
## 页面倾向
|
|
66
|
+
- 封面:${o.cover}
|
|
67
|
+
- 章节:${o.section}
|
|
68
|
+
- 内容:${o.content}
|
|
69
|
+
- 数据:${o.data}
|
|
70
|
+
- 结尾:${o.closing}
|
|
71
|
+
|
|
72
|
+
## 禁忌
|
|
73
|
+
${e.taboos.map(s=>`- ${s}`).join(`
|
|
74
|
+
`)}
|
|
75
|
+
|
|
76
|
+
## 样张(文字描述,只示意气质,不照抄位置)
|
|
77
|
+
${e.sample}
|
|
78
|
+
${ha(ve[e.key],s=>oe[s]??s)}`}const ga=`
|
|
79
|
+
# 参考做同款
|
|
80
|
+
|
|
81
|
+
用户给了参考图、一份模板或一段描述(“像这张那样”“要苹果发布会那种感觉”),只学它的风格,不搬它的东西。
|
|
82
|
+
|
|
83
|
+
## 逐项提炼
|
|
84
|
+
1. **主视觉**:是什么(摄影、3D 物件、3D 人物、扁平插画、线描、水墨、国潮、水彩、流体、科技光效、几何、纯大字)、占画面多少、放在哪里。
|
|
85
|
+
2. **底面与层次**:白底、浅色渐变、满版色、深色、纸纹、分区色块;扁平、投影、玻璃、发光。
|
|
86
|
+
3. **色彩**:主色和页面色各是什么(看图时取主色块的大致颜色),色彩策略是单色浓郁、黑白加一色、撞色、低饱和还是渐变光感。
|
|
87
|
+
4. **构图与字体**:标题在哪、主视觉在哪、对称还是偏置;标题是粗黑、细黑、宋体、书法还是圆润字。
|
|
88
|
+
5. **元素与组件**:反复出现的几何、线条、纹样、符号;卡片、徽章、页眉、落款长什么样(对应组件皮肤)。
|
|
89
|
+
6. **禁忌**:这个风格里明显不会出现的东西。
|
|
90
|
+
|
|
91
|
+
## 落成设计语言
|
|
92
|
+
- 先对照风格库:大部分参考都能落到某张卡上,用那张卡的 key,按参考调颜色、字体和皮肤;需要两张卡的结合时用 blend。
|
|
93
|
+
- 对不上时写 custom:name、idea(一句主张)、hero(主视觉及其画法:能生成图片时怎么描述,不能时用哪些元素库元素拼)、
|
|
94
|
+
picture(生成图片的风格词)、elements、motifs(元素库里能用的)、taboos、source(如“用户给的发布会截图”)。
|
|
95
|
+
- 颜色写进 palette,组件样子写进 skin,和普通设计语言一样。
|
|
96
|
+
|
|
97
|
+
## 不能做的
|
|
98
|
+
- 不照搬参考的版面坐标、图片、文字、标志和品牌名;不仿冒具体机构或产品的视觉识别。
|
|
99
|
+
- 参考里有国旗、国徽、党徽、地图或形似旭日旗的放射条纹时,不学这些,按 genres.md 的“庄重场合的细节”处理。
|
|
100
|
+
- 看不到图(模型不能看图、或用户只给了文件名)时,请用户用几句话描述,或从文字描述里提炼,不要猜。
|
|
101
|
+
`;function ya(e){const t=r=>{const a=ve[r.key];return(a?.genres.find(n=>n.genre===e)?.share??0)*(a?.samples??0)};return W.filter(r=>r.genres.includes(e)||t(r)>=3).sort((r,a)=>t(a)-t(r))}const lt=e=>ve[e.key]?.samples??0,wa=Object.keys(oe),ka=R({id:Be,name:"风格库",category:"演示文稿",description:`定一份稿件的样子时读:${W.length} 张风格卡,每张是一种设计主张加取值范围、主视觉、元素词汇、组件画法和禁忌,按题材找候选、读卡、混合或自创。`,instructions:`
|
|
102
|
+
# 风格库
|
|
103
|
+
|
|
104
|
+
风格卡是一种设计主张,写明主视觉、风格维度上的选择、取值范围、元素词汇、组件画法和禁忌。它不是模板:卡里没有固定的版面和坐标,
|
|
105
|
+
颜色、位置、构图都由你按这份稿件的内容设计。同一张卡做两个主题,应该长得不一样。
|
|
106
|
+
|
|
107
|
+
## 怎么用
|
|
108
|
+
1. **按题材找候选**:先读 slide-design 的 genres.md 判断题材,再看下面的“题材 → 候选风格卡”。候选按真实稿件里的使用占比排序,括号里是样本数。
|
|
109
|
+
优先在有样本的卡里按观众、场合和用户的话挑,不要每次都挑第一张。
|
|
110
|
+
2. **读卡**:用 \`skill_read\`(id ${Be},file 写卡的 key 加 .md,如 ink-paper.md)读完整的卡。
|
|
111
|
+
从样本归纳出来的卡带有“真实稿件里的做法”:常见配色、封面版式(厘米坐标)、各类内页的网格与卡片、整套如何统一。这是上千套真实稿件的规律,按它起步,再按内容改。
|
|
112
|
+
3. **写设计语言**:\`setDeckDesign\` 的 style 写卡的 key。配色从卡的常见配色里挑一套贴近这份稿件气质的做起点,再按品牌或用户的话调;页面明暗和主色鲜艳度落在范围内,字体从卡里选,
|
|
113
|
+
母题和图像方式用卡的元素词汇。读稿视图会指出超出范围的地方。
|
|
114
|
+
4. **混合**:想要两张卡的结合(如水墨的留白加几何的秩序),style 写主卡,blend 写第二张,只借它的元素或页面处理,不要两边都要。
|
|
115
|
+
5. **做同款与自创**:用户给了参考图、模板或一段描述时,读 reference.md 提炼它的风格。和某张卡对得上就用那张卡(必要时 blend);
|
|
116
|
+
对不上时不写 style,把提炼结果写进 setDeckDesign 的 custom(自定义风格卡),之后每页照它画。
|
|
117
|
+
6. **给方向**:两三个方向用不同的风格卡(或一个自创),在主视觉、页面底和构图上都要不同。
|
|
118
|
+
7. **按卡画**:封面从卡的封面版式里选一个,按标题长短和主视觉调整位置;内页照“内页”和“整套如何统一”排,整套用同一种页眉和卡片。画每一页时照卡的主视觉、组件画法和页面倾向;不能生成图片时,抽象主视觉用卡里列出的元素库元素(motif)组合,人物和物件用 illustration 画 SVG 插画,不要留空。
|
|
119
|
+
|
|
120
|
+
## 风格卡一览
|
|
121
|
+
| key | 名称 | 主张 | 主视觉 | 无图可画 |
|
|
122
|
+
| --- | --- | --- | --- | --- |
|
|
123
|
+
${W.map(e=>`| ${e.key} | ${e.name} | ${e.idea} | ${e.hero.kinds.map(t=>ot[t]).join("、")} | ${ba(e)?"是":"用形状替代"} |`).join(`
|
|
124
|
+
`)}
|
|
125
|
+
|
|
126
|
+
## 题材 → 候选风格卡
|
|
127
|
+
| 题材 | 候选 |
|
|
128
|
+
| --- | --- |
|
|
129
|
+
${wa.map(e=>`| ${oe[e]} | ${ya(e).map(t=>`${t.name}(${t.key}${lt(t)?`,${lt(t)} 套样本`:""})`).join("、")} |`).join(`
|
|
130
|
+
`)}
|
|
131
|
+
`,files:{...Object.fromEntries(W.map(e=>[it(e.key),fa(e)])),"reference.md":ga}});function xa(e){const t=q(e.style),r=e.custom;if(!t&&r)return{key:"custom",name:r.name,idea:r.idea,misfits:[],custom:{hero:r.hero,elements:[...r.elements],motifs:[...r.motifs??[]],taboos:[...r.taboos??[]],...r.source?{source:r.source}:{}}};if(!t)return;const a=q(e.blend),n=yr(t,{cover:Ee(e.palette,e.pages.cover.background),content:Ee(e.palette,e.pages.content.background),primary:e.palette.primary});return{key:t.key,name:t.name,idea:t.idea,...a?{blend:{key:a.key,name:a.name}}:{},card:{skill:Be,file:it(t.key)},misfits:n}}function ct(e,t,r,a,n){return{size:P(e),brief:Re(e),plan:vt(e),design:Ta(e,le(e)),directions:Tt(e).map(o=>{const s=q(o.design.style)?.name,d=n?.(e,o)??[];return{name:o.design.name,primary:o.design.palette.primary,...s?{style:s}:{},motif:o.design.motif,samples:o.samples.length,...d.length?{problems:d}:{}}}),slides:L(e).map(o=>{const s=he(o),d=new Map(D(o).map(i=>[C(i),i])),c={key:S(o),layout:s===null?null:Vt(s),hidden:Xt(o),notes:ze(o)??"",shapes:M(e,o,{lines:!0}).map(i=>{const p=d.get(i.id),w=i.kind==="text"?K(p):"",b=w===""&&(i.kind==="text"||i.kind==="other"||i.kind==="connector")?_e(p)??(i.kind==="connector"?"line":i.placeholder===null?"freeform":null):null;return{id:i.id,name:i.name,kind:i.kind,placeholder:i.placeholder,text:w,...i.parent===null?{}:{parent:i.parent},...b===null?{}:{form:b},...we(p)===void 0?{}:{pending:we(p)},bounds:{x:i.x,y:i.y,width:i.width,height:i.height},...i.kind==="table"?{table:Ke(p).map(x=>x.map(We))}:{},...i.kind==="chart"?{chart:Fa(p)}:{}}})},l=xe(o);return l.length>0&&Object.defineProperty(c,"builds",{enumerable:!0,value:l}),a!==void 0&&Object.defineProperty(c,"structure",{enumerable:!0,get:()=>a.read(e,o)}),r!==void 0&&Object.defineProperty(c,"design",{enumerable:!0,get:()=>{const i=r.measure(e,o);return a===void 0?i:Te(e,o,i,a.read(e,o),t?.text(e,o))}}),t===void 0?c:Object.defineProperty(c,"problems",{enumerable:!0,get:()=>{const i=t.peek(e,o);return i===void 0&&t.settle(e),(i??[]).map(p=>({...p,shapes:[...p.shapes]}))}})})}}function Fa(e){const t=jt(e)??[];return{kind:Pt(e)??"chart",categories:Ot(e)??[],series:t.map(r=>({name:r,values:zt(e,r)??[]}))}}function Ta(e,t){if(!t)return null;const r=i=>typeof i=="string"?i:`${i.radial?"a radial":"a"} gradient from ${i.from} to ${i.to}`,a=Object.fromEntries(Object.entries(t.pages).map(([i,p])=>[i,{background:r(p.background),text:p.text}])),{style:n,blend:o,skin:s,custom:d,...c}=t,l=xa(t);return{...c,grid:Bt(Lt(e,t.margin,t.type.title)),...l?{style:l}:{},...s?{skin:Object.fromEntries(Object.entries(s))}:{},palette:{...t.palette},type:{...t.type},pages:a}}function dt(e,t){return e==="addSlide"||e==="duplicateSlide"?!0:e==="drawSlide"&&t?.replace!==!0}function va(e,t,r,a){const n=e.factories[r];if(n===void 0)return{ok:!1,reason:`${r} is not installed`};const o=n(a);let s;try{s=o({presentation:t,dispatch:!1})}catch(d){return{ok:!1,reason:d instanceof Ft?d.message:`${r} cannot apply these values: ${d instanceof Error?d.message:String(d)}`}}return s?(o({presentation:t,dispatch:!0}),{ok:!0,changed:!0}):{ok:!1,reason:`${r} does not apply here; check the ids and values against the view`}}const Ba=/^qk:draw:e(\d+)-/u,Ca=12;function Sa(e){const t=new Map;return(r,a)=>{const n=JSON.stringify(a),o=t.get(n);if(o!==void 0)return o;const s=a.samples.flatMap((d,c)=>{const l=Ct(r,a,c),i=new Map(D(l.slide).map(p=>[C(p),Number(Ba.exec(A(p)??"")?.[1])]));return e.check(l.presentation,l.slide).flatMap(p=>{const w=p.shapes.map(b=>i.get(b)).filter(b=>b!==void 0&&Number.isFinite(b));return w.length===0?[]:[{sample:c+1,kind:p.kind,objects:w,amount:p.amount}]})});return t.size>=Ca&&t.clear(),t.set(n,s),s}}function ht(e,t,r,a={}){const{document:n,table:o}=e,s=Je(t),d=U(),c=a.samples===void 0?void 0:Sa(a.samples),l=new Set;let i=!0,p;const w=()=>{t!==void 0&&(clearTimeout(p),p=setTimeout(()=>{t.settle(n.presentation())},400))},b=n.subscribe(h=>{h.content&&!h.live&&w()});return w(),{isOpen:()=>i,isEditable:()=>i,onDestroy(h){return l.add(h),()=>l.delete(h)},revision:()=>String(n.version()),read:()=>({...ct(n.presentation(),t,s,d,c),...a.pictures?{pictures:!0}:{}}),settle:()=>t?.settle(n.presentation())??Promise.resolve(),selection:()=>n.selection(),...r===void 0?{}:{picture:async h=>({data:Da(await r(h,Ea)),mimeType:"image/png"})},commands(){const h=new Map;for(const[m,k]of o.descriptors()){const{description:u,params:g,target:y,kinds:f,ordinals:T,risk:B,standalone:_,category:E,group:$,planning:O}=k;h.set(m,{description:u,params:g,target:y,kinds:f,ordinals:T,risk:B,standalone:_,category:E,group:$,planning:O,label:Dr[m]})}return h},apply(h){const m=h.map(()=>({ok:!1,reason:"not run"}));let k=-1;try{n.transact("AI 修改",u=>{let g=!1;const y=[],f=new Map;return h.forEach((T,B)=>{k=B;const _=new Set(L(u).map(S)),E=x(u,T,y,f),$=L(u).map(S).filter(O=>!_.has(O));y.push(...$),m[B]=E.ok&&$.length>0?{...E,created:$}:E,E.ok&&E.changed&&(g=!0)}),k=-1,g?!0:null},"agent")}catch(u){if(k<0)throw u;const g=u instanceof Error?u.message:String(u);return h.map((y,f)=>({ok:!1,reason:f===k?`it failed while editing: ${g}`:"not applied, because another operation of this call failed while editing and the whole call was taken back; send this one again"}))}return m},checkpoint:()=>n.save(),async revert(h,m){const k=await h,u=await m,g=await n.save();if(La(g,u))return n.adopt(k,"撤回 AI 修改","agent");const y=pr(u,g,k);return y.ok?n.adopt(y.bytes,"撤回 AI 修改","agent"):!1},subscribe(h){return n.subscribe(m=>{m.content&&!m.live&&h({agent:m.origin==="agent"})})},close(){if(i){i=!1,clearTimeout(p),b();for(const h of[...l])h();l.clear()}}};function x(h,m,k,u){switch(m.kind){case"replace":return F(h,"setShapeText",{slide:m.slide,shape:m.shape,text:m.text});case"replace_text":return F(h,"replaceShapeText",{slide:m.slide,shape:m.shape,find:m.find,replace:m.replace,occurrence:m.occurrence});case"replace_all":{const g=wt(h,m.slide,m.shape);if(g===null)return{ok:!1,reason:"the shape no longer exists"};const y=K(g).split(m.find).length-1;for(let f=y-1;f>=0;f-=1){const T=F(h,"replaceShapeText",{slide:m.slide,shape:m.shape,find:m.find,replace:m.replace,occurrence:f});if(!T.ok)return T}return{ok:!0,changed:y>0}}case"delete_shape":return F(h,"deleteShape",{slide:m.slide,shape:m.shape});case"delete_slide":return F(h,"deleteSlide",{slide:m.slide});case"move_slide":return F(h,"moveSlide",{slide:m.slide,to:m.to});case"command":{const g=m.name,y=o.descriptors().get(g);if(y===void 0)return{ok:!1,reason:`${m.name} is not a described command`};let f=m.target.created===void 0?m.target.slide:k[m.target.created];const T=(m.target.created===k.length||m.target.created===void 0&&f===null&&y.target==="slide")&&dt(g,m.params);if(T&&(f=L(h).map(S).at(-1)),f===void 0)return{ok:!1,reason:"the slide it names was not added by the earlier operations of this call; read the deck for its id"};const B=!T&&typeof f=="string"&&dt(g,m.params)?f:void 0;B!==void 0&&(f=u.get(B)??B);const _={presentation:h,slide:f,shape:m.target.shape,text:m.target.text,prepared:void 0,...m.target.shapes===void 0?{}:{shapes:m.target.shapes},icons:a.icons?.(),pictures:a.pictures===!0},E=y.adapt===void 0?m.params:y.adapt(m.params,_);if(E===null)return{ok:!1,reason:f===null&&y.target==="slide"?"name the slide it acts on":"nothing in the deck matches the parameters"};const $=B===void 0?void 0:new Set(L(h).map(S)),O=F(h,g,E),Ce=$&&L(h).map(S).filter(ft=>!$.has(ft)).at(-1);return B!==void 0&&Ce&&u.set(B,Ce),!O.ok&&y.satisfied?.(m.params,_)===!0?{ok:!0,changed:!1}:O}}}function F(h,m,k){return va(o,h,m,k)}}function La(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r+=1)if(e[r]!==t[r])return!1;return!0}const Ea=1024;function Da(e){let t="";for(let r=0;r<e.length;r+=32768)t+=String.fromCharCode(...e.subarray(r,r+32768));return btoa(t)}const Ma=/^qk:draw:/u,Ra=1600;async function Na(e,t,r){const a=e.presentation(),n=new Map;for(const o of L(a)){const s=S(o);for(const d of D(o)){if(r?.aborted||!Ma.test(A(d)??""))continue;const c=qt(d),l=kt(a,s,d),i=_t(d),p=c?I(a,c):null,w=l?I(a,l):null;if(!c||!w||!i||!p||!Me(p)||n.has(c))continue;const b=Ra/Math.max(i.w,i.h,1),x=await St(t,new TextDecoder().decode(w),i.w*b,i.h*b);x&&n.set(c,x)}}return n.size===0||r?.aborted?0:e.transact("生成插画位图",o=>{let s=!1;for(const[d,c]of n){const l=I(o,d);l&&Me(l)&&(s=er(o,d,c)||s)}return s?!0:null},"agent")?n.size:0}const $a=R({id:"component-library",name:"组件库",category:"演示文稿",description:`排版内容页前读:${Se.length} 个组件(标题组、内容页标题区、引言块、卡片组、指标组、步骤、时间轴、目录、对比栏、模拟邮件、模拟手机聊天、模拟网页),drawSlide 的 component 对象给一个框和内容,编辑器按整套稿件的组件皮肤排好。`,instructions:`
|
|
132
|
+
# 组件库
|
|
133
|
+
|
|
134
|
+
组件是按风格换皮的版面单元:你给一个框(x、y、w、h,厘米)和内容,编辑器按设计语言的组件皮肤画出卡片、徽章、编号和文字,
|
|
135
|
+
整套稿件的卡片、徽章、页眉天然一致,也不用逐个计算每个方框的坐标。组件之外照样可以自由画形状、元素库元素和图片。
|
|
136
|
+
|
|
137
|
+
## 怎么用
|
|
138
|
+
- 写 \`{ "kind": "component", "component": "cards", "variant": "icon-top", "x": 2, "y": 4.5, "w": 29.8, "h": 9, "content": { "items": [{ "title": "核对发件人", "text": "…", "icon": "mail-search" }] } }\`。
|
|
139
|
+
- 框给到组件能用的最大范围;卡片、对比栏会按内容收缩高度,不会留下半张空卡片。
|
|
140
|
+
- 内容页的标题统一用 header 组件,整套位置和样子一致;封面、章节、结尾的标题用 title-group。
|
|
141
|
+
- 组件要和主视觉、元素库元素配合:一页一个视觉主角,组件负责把信息排清楚。不要整套每页都是“header + cards”,相邻页换组件或换构图。
|
|
142
|
+
- 颜色不用写:组件按页面底色自动选强调色(主色,或在主色页面上改用强调色)。
|
|
143
|
+
|
|
144
|
+
## 组件皮肤
|
|
145
|
+
设计语言的 skin 决定组件长什么样,整套统一;不写时用风格卡的默认皮肤。
|
|
146
|
+
${Object.entries(yt).map(([e,t])=>`- ${e}:${t.join("、")}`).join(`
|
|
147
|
+
`)}
|
|
148
|
+
|
|
149
|
+
## 组件一览
|
|
150
|
+
| 组件 | 名称 | 内容字段 | 变体 | 用法 |
|
|
151
|
+
| --- | --- | --- | --- | --- |
|
|
152
|
+
${Se.map(e=>`| ${e.name} | ${e.label} | ${e.needs.join("、")}${e.items?`(${e.items[0]}–${e.items[1]} 项)`:""} | ${e.variants.map(([t,r])=>`${t}(${r})`).join(";")} | ${e.usage} |`).join(`
|
|
153
|
+
`)}
|
|
154
|
+
`}),Aa={"composition.md":`
|
|
155
|
+
# 构图类型
|
|
156
|
+
|
|
157
|
+
版式从这一页要做的事推出来,不从菜单里挑。先问:这一页在提出问题、证明观点、停顿,还是收尾?视觉主角是什么?
|
|
158
|
+
下面是常见的构图类型,同一套稿件里要轮换使用;相邻两页不用同一种。
|
|
159
|
+
|
|
160
|
+
| 构图 | 适合 | 怎么画 |
|
|
161
|
+
| --- | --- | --- |
|
|
162
|
+
| 海报大字 | 开场、结论、口号、章节 | 一句话占页面一半以上,满版色或渐变底,其余几乎全空 |
|
|
163
|
+
| 巨大数字 | 一个关键数据 | 数字 150–250pt,压在页面一侧或中心,一句说明贴着它 |
|
|
164
|
+
| 卡片网格 | 三到六个并列项 | 等大的卡片;克制的稿件可以不画卡片底,只用顶部细线和编号(cards 的 rule);确有主次时把一项设为重点卡 |
|
|
165
|
+
| 主次格子 | 一个核心加几个支撑点 | 一块满高的大块,旁边竖叠两到四个小块(bento 组件) |
|
|
166
|
+
| 四象限 | 两个维度分出四类 | 2×2 矩阵,需要时沿边画坐标轴(matrix 组件) |
|
|
167
|
+
| 主次分栏 | 一段论述配一组要点或一张图 | 一宽一窄两栏,宽栏放论述,窄栏放要点或图 |
|
|
168
|
+
| 卡片浮层 | 一段需要阅读的内容 | 满版色或渐变背景上浮一张白色或半透明卡片,内容在卡片里 |
|
|
169
|
+
| 分屏对比 | 两个对象、前后、对错 | 页面左右或上下切成两块不同颜色,两边版式可以不同 |
|
|
170
|
+
| 中轴对称 | 庄重的宣讲、仪式感 | 标题居中,元素左右对称,金色细线框或柔和光晕在中轴上 |
|
|
171
|
+
| 时间轴带 | 历程、节点 | 一条横贯的轴线,节点为圆点或年份大字,可以斜着上升 |
|
|
172
|
+
| 路径流程 | 步骤、方法 | 编号节点沿一条线或箭头排开,每步一个图标 |
|
|
173
|
+
| 中心辐射 | 一个核心和几个要素 | 核心放中心的大圆,要素围成一圈 |
|
|
174
|
+
| 金字塔与漏斗 | 层次、优先级、转化 | 由宽到窄的色块叠起来,说明写在右侧(pyramid 组件,funnel 变体是漏斗) |
|
|
175
|
+
| 分层架构 | 技术或业务分层 | 自上而下的横条,左侧层名,右侧是这一层的模块(layers 组件) |
|
|
176
|
+
| 模拟物件 | 让人身临其境 | 画出邮件、手机、网页、聊天、证件、仪表盘的样子,在上面标注 |
|
|
177
|
+
| 图表主导 | 趋势、占比、对比 | 图表占正文大部分,标题写结论;要看的柱子或表格行写进 highlight,其余自动变淡 |
|
|
178
|
+
| 编辑排版 | 阅读型稿件 | 大标题、分栏正文、引文、注释,像杂志 |
|
|
179
|
+
| 满版图 | 情绪、场景 | 图片铺满,文字压在暗部或半透明色块上(需要能生成图片) |
|
|
180
|
+
|
|
181
|
+
## 空间手法
|
|
182
|
+
- **不对称比居中有张力**:七三分比五五分更有方向感(庄重的对称是例外,那是有意为之)。
|
|
183
|
+
- **用满整页,敢贴边**:大色块、光晕、形状从页边出血,比内容缩在中间更有画面感。
|
|
184
|
+
- **关系表达意思**:叠在一起显得相关,被大片留白隔开显得重要,被页边裁掉显得画面更大。
|
|
185
|
+
- **密就密到底,空就空到底**:不疏不密最像没做完。
|
|
186
|
+
- **换落点**:这一页内容压左下,下一页居中,再下一页在右三分之一。
|
|
187
|
+
- **不是所有内容都要装进框**:一个数字就是一个数字;框只在分组需要时用。
|
|
188
|
+
|
|
189
|
+
## 动手时
|
|
190
|
+
- 先用栅格放大块:标题放标题带(area 的 band 写 title),主要内容块按栏放进内容带,例如左 7 栏写论述、右 5 栏放图,分屏的图写 bleed 贴边。读稿视图的 grid 一行给出各条带和各栏的厘米值;斜放、出格的装饰可以继续直接写坐标。
|
|
191
|
+
- 坐标是厘米,从左上角算;页边距用设计语言里的 margin,对齐到同一条边,间距用一两种固定值。
|
|
192
|
+
- 文字框要给够高度:一行字高约为字号(磅)× 0.035 × 1.3 厘米;中文一个字宽约为字号 × 0.035 厘米。放不下就删字、拆页或放大框,不要缩字硬塞。
|
|
193
|
+
- 后画的对象在上层:背景色块和光晕先画,卡片其次,文字最后。
|
|
194
|
+
- 截图、代码这类素材:一页只讲一个区域或几行,其余进备注或拆页。
|
|
195
|
+
`},_a={"words.md":`
|
|
196
|
+
# 标题与文字
|
|
197
|
+
|
|
198
|
+
- 标题写结论,不写话题:“退款周期是投诉的主要来源”,不是“退款情况”。不超过 20 个汉字。
|
|
199
|
+
- 幻灯片上有的,演讲者不再念一遍;演讲者要说的,屏幕上不再写一遍。讲稿、解释、例子、过渡句写进备注。
|
|
200
|
+
- 副标题或眉标说明范围、时间、出处,不重复标题。
|
|
201
|
+
- 正文每条一行;能用数字就用数字,单位写清楚。
|
|
202
|
+
- 中英混排时英文不加粗、不全大写;术语首次出现可在括号里给英文。
|
|
203
|
+
- 一页里字号只有三级。不要用缩小字号的办法塞进更多字。
|
|
204
|
+
- 标题末尾不加句号;正文左对齐,只有标题、引言和单独一句话可以居中(对称构图除外)。
|
|
205
|
+
`,"rhythm.md":`
|
|
206
|
+
# 整套节奏
|
|
207
|
+
|
|
208
|
+
- 视觉节奏像音乐的强弱拍:内容页是弱拍,章节页、巨大数字页、引言页、满版画面页是强拍。每三到五页内容后放一个强拍,差一点旋律就散了。
|
|
209
|
+
- 相邻两页换构图和落点;同一种构图最多连用两页。
|
|
210
|
+
- 底色的变化由题材决定:可以深浅交替,也可以整套同一个底色只在强拍换成对比色,还可以整套高饱和每页换一种颜色。
|
|
211
|
+
- 开场一页提出问题或给出最重要的结论;收尾一页只放一句话或一个行动。
|
|
212
|
+
- 15 分钟的讲稿约 10–15 页;一页讲 1 分钟左右。
|
|
213
|
+
`,"split.md":`
|
|
214
|
+
# 改已有稿件、换风格与拆页
|
|
215
|
+
|
|
216
|
+
- 先沿用原稿的样子:原来的配色、字体、版式装饰都保留,用户要求时才换。
|
|
217
|
+
- 换风格(换主题):用户没说换成什么样,先用 setDeckDirections 给几个方向让用户选;说清楚了就直接用 setDeckDesign 写一份新的设计语言,
|
|
218
|
+
再逐页用 drawSlide(replace: true)按新设计语言重画,内容和备注不变,构图按新风格重新安排,不只是换颜色。
|
|
219
|
+
- 用户只描述了感觉(“更活泼”“像杂志”“适合家长”“更有科技感”),就把它翻译成风格维度上的取值。
|
|
220
|
+
- 一页讲了几件事,就拆成几页:复制这一页(duplicateSlide),每份只留一件事的内容,其余删掉,把剩下的内容放大。
|
|
221
|
+
- 表格太大:拆成“结论一页 + 完整表格一页”,或只留与结论相关的行列,完整表格进备注。
|
|
222
|
+
- 一句话里的关键数字或关键词用 ** 包起来(如“成本降低 **30%**”),一页最多两三处;大数字用 number 角色,单位会自动缩小,不用拆成两个文本框。
|
|
223
|
+
- 表格用 table 对象、图表用 chart 对象,不要用文本框、线条或形状拼,否则用户没法编辑数据。drawSlide 画的表格和图表已按设计语言配好颜色、字体、细线和数值标注,不要再套内置表格样式或改图表配色;要突出某几行或某根柱子就写 highlight。
|
|
224
|
+
- 页面上用户自己放的图片在重画时会保留,用移动和缩放命令把它们安排进新构图,或在不需要时删除。
|
|
225
|
+
- 改完核对:原来的知识点都还在(屏幕上或备注里)。
|
|
226
|
+
`,"motion.md":`
|
|
227
|
+
# 动画
|
|
228
|
+
|
|
229
|
+
- 动画的作用是控制观众看哪里:讲到哪块出哪块。用 applyMotion 统一设置,不逐个对象挑效果。
|
|
230
|
+
- 一块就是一个意思:时间轴的一列、一张卡片、编号列表的一项。同一项的年份、图标、说明一起出。
|
|
231
|
+
applyMotion 已按单元分块;要单独调整时,用动画命令直接指向单元或单项(u1、u1.2),整项一次出现。
|
|
232
|
+
- 装饰(decoration 角色)不参与动画,随页面一起出现。
|
|
233
|
+
- 设完看结果里的 builds 和设计提示:点击太多、一项分几次出、底框先空着出现、出场顺序和阅读顺序相反,都要改。
|
|
234
|
+
- 现场讲:pace click。录视频或自动播放:pace auto。阅读用的稿件不加动画。
|
|
235
|
+
- 封面、章节、结尾页的标题随换页出现,不设点击;数据图表、结论句是焦点,最后出现。
|
|
236
|
+
`,"checklist.md":`
|
|
237
|
+
# 审稿清单
|
|
238
|
+
|
|
239
|
+
画完整套后逐条过一遍,改掉做不到的。
|
|
240
|
+
|
|
241
|
+
## 内容
|
|
242
|
+
- 只看标题能不能读懂整套?每个标题是不是一句结论?
|
|
243
|
+
- 每页是不是只有一个视觉主角?有两个以上同样大的焦点就删一个。
|
|
244
|
+
- 讲稿式稿件每页可见文字一般不超过 60 个汉字;超过就拆页或移进备注。
|
|
245
|
+
|
|
246
|
+
## 风格
|
|
247
|
+
- 把封面换到另一个主题上还成立吗?成立就说明不够具体,回到题材和母题再做一遍。
|
|
248
|
+
- 这套稿件的题材能一眼看出来吗?机关单位的庄重、科技的光感、儿童的明快,有没有落到底色、元素和字体上?
|
|
249
|
+
- 内容页是不是又变成了浅灰白纸面加小字?如果题材不需要,就把题材的颜色带进内容页。
|
|
250
|
+
- 母题有没有在多数页面上以不同方式出现?
|
|
251
|
+
- 庄重场合(党政、纪念、悼念、司法、外事):逐条对照 genres.md 的“庄重场合的细节”,尤其是有没有任何从一点向外放射的条纹、光束或光芒。
|
|
252
|
+
|
|
253
|
+
## 构图
|
|
254
|
+
- 把缩略图连起来看:是不是页页都是“左上标题、下面一排编号”?整套至少用到四五种构图类型,相邻两页不同。
|
|
255
|
+
- 每页至少有一个不是文字的元素:形状、图标、图表、大数字、模拟物件。
|
|
256
|
+
- 对齐、对比、重复、亲密:同类元素对齐到同一条边;层级之间字号拉开;同类页面的标题位置一致;相关的东西靠近、无关的东西分开。
|
|
257
|
+
- 深底上的正文接近白色;没有标题下划线、页边细色条这类装饰。
|
|
258
|
+
`},Oa={"genres.md":`
|
|
259
|
+
# 题材视觉语言
|
|
260
|
+
|
|
261
|
+
先判断稿件属于哪个题材,再在这个题材的语言里做出这份稿件自己的样子。每个题材的候选风格卡见风格库技能(style-library)的“题材 → 候选风格卡”。每个题材都列了两种以上的做法,挑一种或混合,
|
|
262
|
+
不要每次都挑同一种。下面是常识,不是模板:位置、比例、细节都由你按内容设计。
|
|
263
|
+
|
|
264
|
+
## 机关事业单位、主题宣讲、党建学习
|
|
265
|
+
- **气质**:庄重、正式、有仪式感,不轻佻。
|
|
266
|
+
- **底与色**:正红(约 #B5121B 到 #C8102E)与金色(约 #D4A537、#F2C14E)是主语言。大红只给封面、章节、结尾这些强拍页;内容页用暖白或浅米底,
|
|
267
|
+
每页保留红色页眉带、金色细线或角花,不能变成普通的灰白页面。整页大红读久了刺眼,内容页不要满版红;需要更沉稳时,强拍页可以用深红到暗红的渐变配金色细线框。
|
|
268
|
+
- **元素**:柔和的金色光晕、干净的实心五角星(不加光芒)、丝带飘带、祥云纹、城墙或建筑剪影、麦穗、金色细线框与角花、竖排大字。用元素库或几何形状画,不要堆砌。
|
|
269
|
+
- **字体**:标题用宋体(Songti SC)或粗黑体,字重大、字距稳;大标题可以对称居中。
|
|
270
|
+
- **构图**:中轴对称、居中大标题、横向时间轴(如年份节点)、编号章节(一、二、三)。
|
|
271
|
+
- **禁忌**:不仿制红头文件和组织部门的法定表格样式;国旗、国徽、党徽有使用规范,不随意变形、拼贴、做底纹;不用卡通和网络流行语。逐条对照下一节。
|
|
272
|
+
|
|
273
|
+
## 庄重场合的细节
|
|
274
|
+
党政机关、纪念与庆典、悼念、司法、外事等庄重场合,一处细节出错就会出事。画之前、画完之后都逐条对照:
|
|
275
|
+
- **不做形似旭日旗的画面**:任何页面都不画从一点向外放射的条纹、光束或光芒,范围再小也不行;红色或白底上的放射图形会被看成日本军国主义的旭日旗。
|
|
276
|
+
需要光感时只用柔和的径向光晕(元素库 glow),不画放射线条。
|
|
277
|
+
- **国家与政党标志**:不自己画五星红旗、国徽、党徽,也不拿它们当装饰、底纹或拼贴素材;需要时由用户提供标准图片。五角星只作为单独的几何装饰出现,不排成国旗的样子。
|
|
278
|
+
- **地图**:不画中国地图或世界地图轮廓;地图必须完整准确(含台湾、南海诸岛等),示意时宁可不用。
|
|
279
|
+
- **称谓与提法**:领导人姓名、职务、会议名称、口号与理论提法一字不改,不简称、不改写、不编造;缺的写占位,请用户按原文补。
|
|
280
|
+
- **外来与不当符号**:不混入日式纹样(旭日、菊纹)、他国国旗或宗教符号;外事场合各国国旗与名称的顺序、样式由用户提供或确认。
|
|
281
|
+
- **字体与动效**:用宋体或稳重的黑体,不用卡通字、手写体、倾斜或变形的字;动画只用淡入淡出,不用弹跳、旋转、飞入。
|
|
282
|
+
- **颜色与构图**:庆典用红金,悼念用黑白灰与素色、不用红;构图中轴对称、平稳,不用斜切色块、散落几何和俏皮的插画。
|
|
283
|
+
|
|
284
|
+
## 课堂教学(中小学、大学、职业培训)
|
|
285
|
+
- **气质**:清楚、有条理、有亲和力;学生要看得清、跟得上。
|
|
286
|
+
- **底与色**:做法一:明亮的浅色底配一两个饱和的学科色(理科蓝绿、文科暖橙),知识点用色块标注;做法二:黑板绿或深蓝底配粉笔色文字(手写感);
|
|
287
|
+
做法三:牛皮纸或方格本底,像笔记本。
|
|
288
|
+
- **元素**:编号步骤、例题框、荧光笔高亮、手写圈注、便签、对勾和叉号、图标。
|
|
289
|
+
- **字体**:标题黑体或楷体(LXGW WenKai、Kaiti SC),正文苹方;字号偏大。
|
|
290
|
+
- **构图**:题目在上、分步出现的解答;左概念右例子;表格对照;一页一个知识点。
|
|
291
|
+
- **低年级**:幼儿园到小学二年级、绘本和故事课按下面“儿童与亲子”的做法,不用黑板风格。
|
|
292
|
+
|
|
293
|
+
## 儿童与亲子
|
|
294
|
+
- **气质**:明快、有趣、安全感。
|
|
295
|
+
- **底与色**:高饱和的整版色(明黄、草绿、天蓝、珊瑚粉),每页可以换一种底色;圆润的大色块。
|
|
296
|
+
- **元素**:圆角、气泡、波浪边、星星、贴纸感的图标、大号数字。
|
|
297
|
+
- **字体**:圆润的黑体,字很大,每页字很少。
|
|
298
|
+
- **构图**:一页一个画面,元素大而少,留出呼吸感。
|
|
299
|
+
- **画面**:小朋友要看到活泼可爱的插画,风格卡用扁平插画或 3D 卡通人物,不用黑板、水墨这类深色或素雅的底。讲故事(寓言、童话、绘本)时主角和关键情节必须画出来:
|
|
300
|
+
封面画主角,每个情节页一张插画。能生成图片时用 image 对象,提示词写清主角的样子、动作和场景,同一个角色每张都用同样的描述;
|
|
301
|
+
不能生成时用 illustration 对象自己画 SVG 插画:扁平、圆润、大色块、表情生动,先在封面把主角画好,之后各页沿用同一个主角的画法,只改动作和场景。
|
|
302
|
+
|
|
303
|
+
## 科技发布、产品、互联网
|
|
304
|
+
- **气质**:未来感、精密、有冲击力。
|
|
305
|
+
- **底与色**:做法一:近黑或深海军蓝底,霓虹色(青、紫、品红)径向光晕和渐变,发光的线条;做法二:纯白底配一种电光蓝,大量留白,像苹果式发布;
|
|
306
|
+
做法三:深色底上的玻璃卡片(半透明面板加柔和投影)。
|
|
307
|
+
- **元素**:网格线、点阵、发光的细线、数据曲线、芯片或电路线条、界面截图模拟、大号参数。
|
|
308
|
+
- **字体**:几何感的无衬线(Avenir Next、Helvetica Neue、苹方),数字特别大。
|
|
309
|
+
- **构图**:一页一个参数(巨大数字)、产品居中加光、左右对比(旧与新)、便当盒网格(bento)。
|
|
310
|
+
|
|
311
|
+
## 商务汇报、咨询、管理
|
|
312
|
+
- **气质**:可信、专业、结论先行。
|
|
313
|
+
- **底与色**:做法一:白底配深海军蓝与一个强调色(橙或青),图表为主;做法二:深蓝封面与章节,内容页浅灰白,左侧细色带;
|
|
314
|
+
做法三:咨询风,白底、细黑线、编号小标题、高密度图表。
|
|
315
|
+
- **元素**:图表、KPI 卡片、对比箭头、进度条、矩阵、流程。
|
|
316
|
+
- **字体**:无衬线,层级分明。
|
|
317
|
+
- **构图**:标题写结论、正文一张图表;三个指标并排;问题—原因—行动三段。
|
|
318
|
+
|
|
319
|
+
## 金融、财报
|
|
320
|
+
- **气质**:稳健、精确、高端。
|
|
321
|
+
- **底与色**:深墨绿或深蓝配金色;或白底配墨绿与暗金,细线分隔。
|
|
322
|
+
- **元素**:细线表格、走势线、金色数字、印章感的标注。
|
|
323
|
+
- **构图**:大数字加同比箭头、图表占满、注释小字。
|
|
324
|
+
|
|
325
|
+
## 医疗健康
|
|
326
|
+
- **气质**:干净、可信、温和。
|
|
327
|
+
- **底与色**:白底或极浅蓝绿底,主色医疗蓝或青绿,强调色用柔和的珊瑚色。
|
|
328
|
+
- **元素**:圆角卡片、人体或器官的简化线条图标、十字、步骤图。
|
|
329
|
+
- **构图**:症状—原因—做法;数据图;清单。
|
|
330
|
+
|
|
331
|
+
## 国风、传统文化、节庆
|
|
332
|
+
- **气质**:雅致、有留白、有意境。
|
|
333
|
+
- **底与色**:做法一:宣纸米白底配墨黑与朱红印章;做法二:节庆用中国红与金;做法三:青绿山水的石青、石绿。
|
|
334
|
+
- **元素**:印章、竖排文字、书法大字、山形、窗格、云纹、扇形或圆形画框。
|
|
335
|
+
- **字体**:宋体、楷体,竖排标题。
|
|
336
|
+
- **构图**:大面积留白、竖排、偏置的大字、圆形取景。
|
|
337
|
+
|
|
338
|
+
## 营销、电商、促销
|
|
339
|
+
- **气质**:热烈、抓眼、有紧迫感。
|
|
340
|
+
- **底与色**:高饱和撞色(红黄、紫橙)、渐变、大块撞色色块。
|
|
341
|
+
- **元素**:价格大字、标签、倒计时、优惠券、箭头、星形爆炸框。
|
|
342
|
+
- **构图**:一个巨大的卖点或价格、斜切分割、层叠卡片。
|
|
343
|
+
|
|
344
|
+
## 学术答辩、研究汇报
|
|
345
|
+
- **气质**:严谨、清楚。
|
|
346
|
+
- **底与色**:白底配学校或学科的深色(深蓝、深红、墨绿),少量强调色。
|
|
347
|
+
- **元素**:图表、公式、流程图、编号、参考文献小字。
|
|
348
|
+
- **构图**:研究问题—方法—结果—结论;左图右说明。
|
|
349
|
+
|
|
350
|
+
## 自媒体知识卡(竖屏)
|
|
351
|
+
- **气质**:第一眼抓人、手机上一眼看懂。
|
|
352
|
+
- **底与色**:高对比的整版色或深色底配亮色字;每屏可以变换底色形成节奏。
|
|
353
|
+
- **元素**:巨大的标题字、编号、箭头、对话气泡。
|
|
354
|
+
- **构图**:一屏一个点,标题占上半屏。
|
|
355
|
+
|
|
356
|
+
## 没有对应题材时
|
|
357
|
+
从观众和场合推:给谁看、希望他们有什么感受,然后在 style.md 的风格维度上逐项做决定。
|
|
358
|
+
`},Pa={"style.md":`
|
|
359
|
+
# 设计语言与风格维度
|
|
360
|
+
|
|
361
|
+
设计语言是这份稿件的一组决定,用 setDeckDesign 写进文件,之后每页都照它画。
|
|
362
|
+
|
|
363
|
+
## 风格维度
|
|
364
|
+
一份设计语言在下面每个维度上都有一个明确的选择。提出几个方向时,方向之间至少在三个维度上不同;只换颜色、字体相同、构图相同,等于同一个方向。
|
|
365
|
+
|
|
366
|
+
| 维度 | 可选的方向(举例,不止这些) |
|
|
367
|
+
| --- | --- |
|
|
368
|
+
| 色彩策略 | 单色浓郁(整套一种颜色的深浅);黑白加一色;互补撞色;低饱和高级灰;高饱和多彩;渐变光感 |
|
|
369
|
+
| 页面底 | 满版色;深色;浅色或纸色;渐变;分区色块(页面切成两三块颜色) |
|
|
370
|
+
| 层次 | 扁平;纸张层叠(投影);玻璃面板(半透明加投影);光晕(径向渐变、发光) |
|
|
371
|
+
| 构图倾向 | 海报式大字;卡片网格;分屏对比;中轴对称;编辑排版;满版图加文字 |
|
|
372
|
+
| 字体性格 | 庄重宋体;理性黑体;亲切楷体;几何无衬线;超粗展示字 |
|
|
373
|
+
| 图像方式 | 线条图标;几何插画(用形状拼);生成的照片或插画;数据图形;不用图 |
|
|
374
|
+
| 母题 | 一个贯穿全套、认得出的元素,见下文 |
|
|
375
|
+
|
|
376
|
+
## 配色
|
|
377
|
+
- **主色和页面色都要你来定**(palette.primary、palette.background),按题材和观众的感受选,没有默认值。白、纸色、深墨、正红、亮黄都可以是页面色。
|
|
378
|
+
- **一色主导**:主色或页面色占画面大部分色彩分量,再配一两个辅助色调和一个锐利的强调色(accent),各色分量相当就没有主心骨。
|
|
379
|
+
- 其余角色由编辑器按页面色的明暗推出并保证文字对比度:深底推出浅色文字,浅底推出深色文字。读稿视图会列出对比度不够的组合,它们只能用在形状和大字上。
|
|
380
|
+
- 页面上写角色名(primary、accent、background、surface、text、muted、dark),不写十六进制,整套才不会走样。
|
|
381
|
+
|
|
382
|
+
## 每类页面画在什么底上(pages)
|
|
383
|
+
- 至少写封面和内容页;章节、引言、结尾默认跟封面,数据页默认跟内容页,需要不同就单独写。
|
|
384
|
+
- 内容页不一定是浅色:机关单位宣讲可以整套红底或红金,科技发布可以整套深色带光,儿童稿可以每页高饱和。是否深浅交替由题材和节奏决定,不是固定规则。
|
|
385
|
+
- 底可以是渐变:径向渐变(radial)做出光从一处散开的感觉,线性渐变做出空间深度。
|
|
386
|
+
|
|
387
|
+
## 字体与字号
|
|
388
|
+
- 标题和正文各选一款,按题材的性格选。常用:苹方(PingFang SC)、宋体(Songti SC)、楷体(Kaiti SC)、霞鹜文楷(LXGW WenKai);
|
|
389
|
+
西文可配 Avenir Next、Helvetica Neue、Georgia、Didot。正文用无衬线更易读。
|
|
390
|
+
- 层级要拉开:标题明显大于正文;发布会、海报式的页面,主字可以是正文的五到十倍。一页里只用三级字号。
|
|
391
|
+
|
|
392
|
+
## 母题
|
|
393
|
+
- 一个贯穿全套、看一眼就认得出的元素:被页边裁掉的大圆、斜切色块、金色细框、荧光笔高亮、手写圈注、点阵网格、编号大字……
|
|
394
|
+
在不同页面上换大小、位置、裁切方式出现,而不是每页贴在同一个角落。
|
|
395
|
+
- 母题要敢于出现:太小、太淡、删掉也没人发现的装饰没有意义。
|
|
396
|
+
- 不要拿标题下划线、页面顶部或侧边的细色条当母题。
|
|
397
|
+
|
|
398
|
+
## 质感
|
|
399
|
+
- 投影(shadow):soft 让卡片落在页面上,lifted 让它浮起来,strong 做厚重的层次。
|
|
400
|
+
- 发光(glow)和径向渐变:科技、夜景、舞台感。
|
|
401
|
+
- 柔边(softEdge):让一个色块融进背景,做氛围光斑。
|
|
402
|
+
- 渐隐(gradient 的 toOpacity):让颜色淡出到底色,做出空间。
|
|
403
|
+
- 质感跟着题材走,一套稿件里用一两种就够。
|
|
404
|
+
|
|
405
|
+
## 图标与图片
|
|
406
|
+
- 图标用 drawSlide 的 icon 对象,写 Lucide 图标名(如 shield-check、mail-warning、key-round、users、chart-line),颜色写角色名;
|
|
407
|
+
一组并列的项目配同一套图标、大小一致。可以把图标放进圆形或圆角色块里做成徽章。
|
|
408
|
+
- 读稿视图写明可以生成图片时,封面、章节页和需要场景的页放 image 对象,prompt 写清主体、构图、风格、色调,与设计语言一致。
|
|
409
|
+
不能生成图片时,抽象的主视觉用元素库(element-library)的 motif 画(光晕、圆环、丝带、粒子、远山、窗格、印章……),不留空图框;
|
|
410
|
+
人物、动物、物件这类具象画面用 illustration 对象自己画 SVG 插画,不用形状硬拼。
|
|
411
|
+
`},ja=R({id:"slide-design",name:"幻灯片设计大脑",category:"演示文稿",description:"做或改任何演示文稿前读:读场合、定故事线、按题材选风格卡定风格、逐页当镜头来导演、画完看图自审。附题材视觉语言、风格维度、构图类型、标题与文字、节奏、改稿、动画、审稿清单八个主题文件。",instructions:`
|
|
412
|
+
# 设计大脑
|
|
413
|
+
|
|
414
|
+
这份稿件只为这个场合、这群观众而做。编辑器没有模板,样子全部由你设计;如果把这份稿件的封面换到别的主题上也成立,就说明还不够具体。
|
|
415
|
+
|
|
416
|
+
## 一、读场合
|
|
417
|
+
- 先分清是**给人讲的**还是**给人看的**。讲的稿配合演讲者,屏幕只放观众要看的,解释、例子、过渡句进备注;看的稿要能自己读懂,可以更密。
|
|
418
|
+
- 观众是谁、在哪看(会议室大屏、礼堂投影、手机竖屏)、讲多久。场地越大,字越大、内容越往页面上方放。
|
|
419
|
+
- 用户说清楚了就在回复开头用一句话复述,并读对应场景的技能(如 slides-lecture)。
|
|
420
|
+
|
|
421
|
+
## 二、定故事线
|
|
422
|
+
- 每页一个结论,写成一句话;整套按“开场—展开—收束”,章节之间有章节页。
|
|
423
|
+
- 从零做而用户没给内容:先用 \`setDeckPlan\` 写草稿故事线(每页结论、证明方式、缺的事实),回复只问会被编造的事实,最多三问,不在回复里重复大纲。用户确认(视图显示 confirmed)或说直接做,再往下走。
|
|
424
|
+
- 名称、数字、电话、日期不编,缺了写醒目的占位(如【公司热线】)并在回复里列出。
|
|
425
|
+
|
|
426
|
+
## 三、定风格
|
|
427
|
+
1. **判断题材**:读 genres.md,找到这份稿件属于什么题材(机关单位宣讲、课堂、儿童、科技发布、商务汇报、国风、营销……),记下这个题材的用色、元素、字体性格和禁忌。题材决定底色和气质,不要把所有稿件都做成浅色纸面加深色封面。
|
|
428
|
+
2. **选风格卡**:读风格库技能(style-library),在这个题材的候选卡里按观众和用户的话挑一张,读完整的卡;需要时混合第二张,或在没有卡对得上时自创。
|
|
429
|
+
3. **写设计语言**:用 \`setDeckDesign\` 写下来,style 写卡的 key,见 style.md:
|
|
430
|
+
- 主色和页面色(palette.primary、palette.background)都是你按题材定的,没有默认值;
|
|
431
|
+
- pages 写明每类页面画在什么底上:机关单位的内容页可以是正红或红金,科技稿可以整套深色带光效,儿童稿可以是高饱和的整版色;
|
|
432
|
+
- 字体性格、母题、图像方式、质感(扁平、层叠投影、光感渐变)、动画方式。
|
|
433
|
+
主视觉、元素、组件画法照卡来,颜色和版面按内容定。
|
|
434
|
+
4. **样子没定时先给方向**:新稿件用户没描述感觉也没说直接做,或者用户要换风格却没说换成什么,用 \`setDeckDirections\` 给两三个方向,然后停下等用户选。每个方向用不同的风格卡,在主视觉、页面底和构图上真正不同,只换颜色不算不同。
|
|
435
|
+
|
|
436
|
+
## 四、逐页导演:一页一个镜头
|
|
437
|
+
- 把每一页当成电影里的一个镜头:观众要在几秒内被一个画面抓住。先定这一页的**视觉主角**,再放字:
|
|
438
|
+
一个巨大的数字、一张图、一个结构图、一组强烈对比、一个模拟的真实物件(邮件、手机界面、证书、报表、聊天记录)、一句话。
|
|
439
|
+
- 把信息**结构化、图像化、场景化**:并列变成网格,先后变成路径,层级变成金字塔或树,抽象概念变成一个具体场景。成段文字是最后的选择。
|
|
440
|
+
- 构图从这一页要做的事推出来,读 composition.md 的构图类型;动手前把整套的构图连起来想一遍,相邻页的构图和落点要换。
|
|
441
|
+
- 同类页面(所有内容页)标题位置和字号保持一致,让整套是一个整体;变化发生在正文的构图上。
|
|
442
|
+
|
|
443
|
+
## 五、画与审
|
|
444
|
+
- 用 \`drawSlide\` 逐页画,每次一两页,按顺序;每页写 page(cover、section、content、data、quote、closing),底色和文字色随设计语言。
|
|
445
|
+
位置和大小用厘米(页面尺寸见读稿视图第一行),颜色写角色名,标题给 title 角色,纯装饰给 decoration 角色,需要页码的放 pageNumber。
|
|
446
|
+
- 排信息用组件库(component-library):内容页标题用 header,并列要点用 cards,数字用 stats,流程用 steps,历程用 timeline,目录用 agenda,对比用 comparison,
|
|
447
|
+
真实物件用 mock-email、mock-phone、mock-browser;组件按设计语言的皮肤画,整套一致。组件之外照样自由画。
|
|
448
|
+
- 主视觉:能生成图片时用 image;不能时用元素库(element-library)的 motif 组合出画面,如光晕加 HUD 圆环加粒子、水墨远山加印章、金色光晕加细线框与角花、流体丝带加光晕。人物、建筑、祥云、灯笼这类具象画面只用生成图片,不用形状硬拼。
|
|
449
|
+
主视觉要大,可以超出页面被裁切。
|
|
450
|
+
- 可以用的质感:投影(shadow)、发光(glow)、柔边(softEdge)、线性或径向渐变及渐隐(gradient 的 radial、toOpacity)、图标(icon)。质感服务于题材:科技稿用光,商务稿用克制的投影,儿童稿用圆润的色块,机关单位用庄重的对称和金色线条。
|
|
451
|
+
- 讲的话写进 \`setSlideNotes\`。
|
|
452
|
+
- 画完前两页先看图(slide_look),确认风格立住了再往下;全部画完按 checklist.md 审一遍,改掉问题。layout problems 必须修,design notes 挑适用的改。
|
|
453
|
+
- 现场讲用 \`applyMotion\`(pace: click),录视频用 pace: auto。
|
|
454
|
+
|
|
455
|
+
# 主题文件
|
|
456
|
+
风格卡在 style-library,参数化的装饰与主视觉元素在 element-library,版面组件在 component-library。用 \`skill_read\` 读:genres.md(题材视觉语言)、style.md(设计语言与风格维度)、composition.md(构图类型)、words.md(标题与文字)、
|
|
457
|
+
rhythm.md(整套节奏)、split.md(改已有稿件、换风格与拆页)、motion.md(动画)、checklist.md(审稿清单)。第一次用到某类问题时读一次即可。
|
|
458
|
+
`,files:{...Oa,...Pa,...Aa,..._a}}),za={"big-number.md":`
|
|
459
|
+
# 大数字
|
|
460
|
+
|
|
461
|
+
一页只讲一个数字时,数字本身就是画面。标题写这个数字说明了什么。
|
|
462
|
+
|
|
463
|
+
## 范例 1:一个数字 + 一句解释
|
|
464
|
+
- 内容:标题「没睡好,第二天学得更慢」,数字「−40%」,说明「熬夜后记住新内容的能力,大约下降这么多」。
|
|
465
|
+
- 画法:数字做到 150pt 以上、占左边大半页,说明紧贴在数字下方;标题在上,右侧大片留白或母题。
|
|
466
|
+
- 好在哪:数字占半页,一眼看到;标题是结论,说明解释数字的含义。
|
|
467
|
+
- 换个题材:科技稿用深色底,数字发光(glow);儿童稿把数字放进一个高饱和大圆里;机关单位用金色宋体数字居中,两侧金色细线。
|
|
468
|
+
- 常见错误:把数字写进一段话里(「研究表明熬夜后记忆能力下降约 40%……」),观众要读完才找到重点。
|
|
469
|
+
|
|
470
|
+
## 范例 2:从文字墙改出来的大数字
|
|
471
|
+
- 原稿:一页 150 字的段落,里面有「新增注册用户 128 万,同比增长 63%,72% 来自自然流量」。
|
|
472
|
+
- 改法:这页只留最关键的一个数「+63%」,说明「新增注册用户同比增长,达到 128 万」;72% 的来源拆到下一页做指标或图表,原段落进备注。
|
|
473
|
+
- 好在哪:一页一个焦点;其他数字有自己的位置,不挤在一起。
|
|
474
|
+
- 常见错误:同一页放三个一样大的数字,没有主次。
|
|
475
|
+
`,"stats.md":`
|
|
476
|
+
# 指标组
|
|
477
|
+
|
|
478
|
+
几个并列的数字一起说明一件事时排成一组,最多 4 个;数字短,标签一句话。
|
|
479
|
+
|
|
480
|
+
## 范例 1:三项核心指标
|
|
481
|
+
- 内容:标题「三项指标都好于目标」,三个数:128 万(新增用户)、63%(同比增长)、72%(来自自然流量)。
|
|
482
|
+
- 画法:三个大号数字等距排成一排、底线对齐,标签在下;不必给每个数字加框。
|
|
483
|
+
- 好在哪:数字对齐成一排,读的时候能横向比较;标题先给判断。
|
|
484
|
+
- 换个画法:便当盒网格,最重要的指标占一个大格、其余小格;或者三张浮在色块上的卡片,带 lifted 投影。
|
|
485
|
+
- 常见错误:把指标当要点列表用,每项写成一句长话;或者放 6 个以上,失去重点。
|
|
486
|
+
|
|
487
|
+
## 范例 2:指标 + 图表分左右
|
|
488
|
+
- 内容:标题「熬夜后正确率明显下降」,睡足 76%、熬夜 46%,配一张两根柱子的柱状图。
|
|
489
|
+
- 画法:左边窄栏放两个精确数字,右边宽栏放图表;两边说的是同一件事。
|
|
490
|
+
- 好在哪:左边给精确数字,右边给直观对比,各自独立可读。
|
|
491
|
+
- 常见错误:数字和图表说的是两件事,观众不知道看哪边。
|
|
492
|
+
`,"chart.md":`
|
|
493
|
+
# 图表
|
|
494
|
+
|
|
495
|
+
图表页的标题写结论(「投放的留存只有自然流量一半」),不写图表名(「用户留存对比」)。
|
|
496
|
+
|
|
497
|
+
## 范例 1:趋势
|
|
498
|
+
- 内容:标题「下半年增长明显加快」,折线图(各月份,一条系列),一句说明「增长来自 9 月上线的新功能」。
|
|
499
|
+
- 画法:图表占正文区大部分;在 9 月的位置用强调色画一条竖线或小标注,把说明放在旁边。
|
|
500
|
+
- 好在哪:只有一条线,结论写在标题和标注里,观众不用自己找规律。
|
|
501
|
+
- 常见错误:一张图放五条线和十几个类目,图例比数据还显眼。
|
|
502
|
+
|
|
503
|
+
## 范例 2:两组对比
|
|
504
|
+
- 内容:标题「投放用户的留存只有自然流量一半」,柱状图(自然流量、付费投放,系列「30 日留存」)。
|
|
505
|
+
- 画法:两根柱子,要强调的那根用强调色,另一根用 muted。
|
|
506
|
+
- 好在哪:两根柱子,差距一眼可见;选柱状图而不是饼图,因为比较的是两个量的大小。
|
|
507
|
+
- 常见错误:用饼图比较两个独立的比例;或者数据只有两个却画成表格。
|
|
508
|
+
`},Wa={"cover.md":`
|
|
509
|
+
# 封面
|
|
510
|
+
|
|
511
|
+
封面只做两件事:说清这份稿件讲什么,让人想听下去。标题是一句话,不是一个名词。封面最能体现题材,同一个标题在不同题材里应该长得完全不同。
|
|
512
|
+
|
|
513
|
+
## 范例:同一个标题「睡一觉,记得更牢」的几种封面
|
|
514
|
+
- **科普讲座(科技感)**:深海军蓝底,右侧一个大圆用青到透明的径向渐变做成发光的“月亮”,被页边裁掉一半;标题白色超粗黑体压在左下,眉标用青色小字。
|
|
515
|
+
- **课堂(亲和)**:暖白纸色底,标题楷体大字居中偏上,下方一条荧光黄高亮压在“记得更牢”上;角落三个手绘感圆点和一个时钟图标。
|
|
516
|
+
- **儿童(明快)**:整版天蓝底,标题超大圆润黑体分两行,下方几个高饱和色块拼成一张“床”和“星星”,每个元素都很大。
|
|
517
|
+
- 常见错误:标题写成「睡眠与记忆的关系研究」,名词堆叠;封面只有标题和日期,没有任何画面。
|
|
518
|
+
|
|
519
|
+
## 范例:机关单位主题宣讲
|
|
520
|
+
- 内容:眉标「【单位名称】主题宣讲」,标题「庆祝中华人民共和国成立【周年数】周年」,落款日期与宣讲人。
|
|
521
|
+
- 画法:深红到正红的线性渐变底;中轴对称,标题宋体超大字居中,金色;标题上方一团柔和的金色径向光晕(元素库 glow),四角细线角花;不画任何放射状的线条、光束或光芒,那会像旭日旗;
|
|
522
|
+
下方一条金色细线和落款。不用国徽党徽做装饰。
|
|
523
|
+
- 常见错误:红色封面配上一套灰白的内容页,前后像两份稿件。
|
|
524
|
+
|
|
525
|
+
## 范例:数字开场(汇报、发布会)
|
|
526
|
+
- 内容:标题「新增用户 128 万,增长 63%」,副标题「季度经营汇报」。
|
|
527
|
+
- 画法:白底,“+63%”用强调色做成全页最大的字(200pt 以上)压在左侧,标题和副标题在右侧窄栏;数字本身就是画面。
|
|
528
|
+
|
|
529
|
+
## 范例:竖屏知识卡封面
|
|
530
|
+
- 适合:9:16 竖屏,设计语言的 aspect 设为 9:16。
|
|
531
|
+
- 画法:整版高饱和底,标题占上半屏、字极大、分两三行;下半屏一个大色块或图标组合,副标题压在色块上。
|
|
532
|
+
`,"section.md":`
|
|
533
|
+
# 章节页
|
|
534
|
+
|
|
535
|
+
章节页是整套的“强拍”:告诉观众进入下一部分,也让眼睛休息。一句话,大字,留白多。
|
|
536
|
+
|
|
537
|
+
## 范例
|
|
538
|
+
- **带序号的章节(商务、课堂)**:换成与内容页对比的底色;序号做成超大数字(如「02」)贴在页面左侧,标题紧挨着它,其余留白。
|
|
539
|
+
- **机关单位**:红底,中轴对称,“第二部分”与标题上下居中,左右各一条金色细线收向中间。
|
|
540
|
+
- **科技发布**:深色底,一个问题句(「那该怎么复习?」)居中,背后一团径向光晕。
|
|
541
|
+
- 常见错误:章节页只写「原因分析」;每一两页就放一个章节页,节奏被打碎。一般三到六页内容配一个章节页。
|
|
542
|
+
`,"closing.md":`
|
|
543
|
+
# 结束页
|
|
544
|
+
|
|
545
|
+
结束页留下一个动作或一句话,不写「谢谢观看」了事。
|
|
546
|
+
|
|
547
|
+
## 范例
|
|
548
|
+
- **行动号召**:标题「今晚,早点睡」,三个做法压成一行小字;版式呼应封面,让首尾相接。
|
|
549
|
+
- **汇报的下一步**:标题「预算从投放转向内容运营」,下方用强调色的块单独标出“需要决定:内容团队增加 2 人”。
|
|
550
|
+
- **机关单位**:红金底,中轴对称,一句号召(如「立足岗位,接续奋斗」)宋体大字居中,下方落款单位与日期。
|
|
551
|
+
- 常见错误:结束页重复一遍目录,或只写「Q&A」。
|
|
552
|
+
`},Ka={"steps.md":`
|
|
553
|
+
# 步骤
|
|
554
|
+
|
|
555
|
+
有先后顺序的内容排成一条路径,3–5 步;每步一个短标题加一句说明。
|
|
556
|
+
|
|
557
|
+
## 范例 1:过程
|
|
558
|
+
- 内容:标题「一晚上,记忆走了三步」,三步:白天暂存(新内容先放在海马体,像草稿纸)、深睡回放(深睡时大脑反复重播)、醒来入库(重要的部分搬进大脑皮层)。
|
|
559
|
+
- 画法:一条贯穿页面的线,三个节点等距落在线上,节点用大号序号;也可以让三步从左下往右上逐级抬高,表示“越来越牢”。
|
|
560
|
+
- 好在哪:三步有清楚的先后,每步的标题本身就能读懂过程;用比喻(草稿纸)降低理解门槛。
|
|
561
|
+
- 换个画法:机关单位用横向时间轴,节点是金色圆点和年份大字;科技稿用发光的连线和编号徽章(图标放进圆形色块);课堂用便签贴纸一步一张。
|
|
562
|
+
- 常见错误:把步骤写成要点列表,看不出顺序;或者拆成 8 步以上,现场讲不完。
|
|
563
|
+
|
|
564
|
+
## 范例 2:操作流程(课件)
|
|
565
|
+
- 内容:标题「三步装好开发环境」,三步的标题是动作(下载、安装、验证),说明写具体命令或界面位置;详细截图放到后面单独几页。
|
|
566
|
+
- 画法:三列等宽,每列顶部一个大序号,命令用等宽字体放在浅色底块里。
|
|
567
|
+
- 好在哪:先给全局再讲细节,学生知道自己在第几步。
|
|
568
|
+
- 常见错误:一页里塞进每一步的截图,图小到看不清。
|
|
569
|
+
`,"comparison.md":`
|
|
570
|
+
# 对比
|
|
571
|
+
|
|
572
|
+
两样东西放在一起比较时,用空间把它们分开,同样的维度放在同样的位置。
|
|
573
|
+
|
|
574
|
+
## 范例 1:两种做法
|
|
575
|
+
- 内容:标题「睡前复习比熬夜复习记得牢」,熬夜复习(第二天回忆正确率 46%)对睡前复习(76%)。
|
|
576
|
+
- 画法:页面一分为二,熬夜一侧用 dark 深底、睡前一侧用浅底;两个百分比做成大字放在同样的高度,好的那个用强调色。
|
|
577
|
+
- 好在哪:左右结构一样,眼睛能逐项对照;结论在标题里。
|
|
578
|
+
- 常见错误:左边写三条、右边写五条,维度对不上,没法比较。
|
|
579
|
+
|
|
580
|
+
## 范例 2:多维度对比用表格
|
|
581
|
+
- 维度超过 3 个时改用表格,第一行是比较对象,第一列是维度,最多 6 行 5 列。
|
|
582
|
+
- 好在哪:表格适合查找,观众可以自己挑关心的维度看。
|
|
583
|
+
- 常见错误:现场讲的稿件里放满格的大表;讲稿只保留 2–3 个关键维度,完整表格放附录或备注。
|
|
584
|
+
`,"cards.md":`
|
|
585
|
+
# 卡片
|
|
586
|
+
|
|
587
|
+
几个并列、没有先后的概念,3–4 个;每个一个标题加一两句话。不一定要画成卡片。
|
|
588
|
+
|
|
589
|
+
## 范例 1:三个原则
|
|
590
|
+
- 内容:标题「记牢的三个习惯」:学完再睡、固定作息、睡前放下手机,各配一句“为什么”。
|
|
591
|
+
- 画法:三行横排,每行左边一个大号序号或图形,右边标题加一句说明;也可以三张卡片,但卡片之间留足间距、大小一致。
|
|
592
|
+
- 好在哪:卡片标题是可执行的动作,读标题就够;说明只补充“为什么”。
|
|
593
|
+
- 换个画法:中心辐射(核心放大圆,三个习惯围一圈);或卡片浮层(整版色底上浮三张白卡,各带一个图标徽章)。
|
|
594
|
+
- 常见错误:卡片里写成长段落;或者卡片数量 6 张以上,每张都很挤。
|
|
595
|
+
`,"table.md":`
|
|
596
|
+
# 表格
|
|
597
|
+
|
|
598
|
+
表格用于需要精确对照的信息;讲的稿件里表格要小,看的稿件里可以完整。
|
|
599
|
+
|
|
600
|
+
## 范例 1:课件里的知识对照
|
|
601
|
+
- 内容:标题「哪些类型可以原地修改」,三列四行:类型、示例、可变。
|
|
602
|
+
- 画法:表格占正文区主要宽度,行高给足;“是”和“否”可以用颜色区分。
|
|
603
|
+
- 好在哪:三列四行,一眼能找到答案;每格很短。
|
|
604
|
+
- 常见错误:把整章的知识点放进一张 8 列的大表,字号被压到 10pt 以下。拆成几页,或者只保留这一页要讲的列。
|
|
605
|
+
`},Ia={"quote.md":`
|
|
606
|
+
# 引用
|
|
607
|
+
|
|
608
|
+
一句有分量的话独占一页,是整套里的强拍。
|
|
609
|
+
|
|
610
|
+
## 范例 1:权威观点
|
|
611
|
+
- 内容:引言「睡眠不是在浪费时间,而是在整理白天学到的东西。」出处「某睡眠研究者(示例)」。
|
|
612
|
+
- 画法:整页一句大字,可以用深底;一个超大的引号做母题,出处小字跟在下面。
|
|
613
|
+
- 好在哪:只有一句话和出处,大字居中,讲者可以停顿。
|
|
614
|
+
- 常见错误:引用后面再加三条解读,削弱了这一页的分量;解读放下一页或备注。
|
|
615
|
+
|
|
616
|
+
## 范例 2:用户原话(汇报、发布会)
|
|
617
|
+
- 内容:标题「用户最常说的一句话」,引言「终于不用每天手动整理了。」出处「来自 32 位受访用户」。
|
|
618
|
+
- 画法:引言做成画面主体,出处写清样本量。
|
|
619
|
+
- 好在哪:真实的声音比总结更有说服力;出处写清样本量。
|
|
620
|
+
`,"explain.md":`
|
|
621
|
+
# 一段解释与要点
|
|
622
|
+
|
|
623
|
+
真正需要读的内容才用文字和要点。讲的稿件里,屏幕上只放关键词,解释进备注。
|
|
624
|
+
|
|
625
|
+
## 范例 1:一个定义
|
|
626
|
+
- 内容:标题「变量只是对象的名字」,一句解释「赋值不会复制对象,两个变量可以指向同一个列表。」,最容易错的一点「改了一个,另一个也变」。备注里写完整的例子和讲法。
|
|
627
|
+
- 画法:画两个名字指向同一个对象的示意(两个标签、一个方块、两条箭头),解释放在旁边。
|
|
628
|
+
- 好在哪:一句话解释概念,配一个画出来的关系;例子在备注里,讲者按需展开。
|
|
629
|
+
- 常见错误:把教材段落原样贴上屏,学生只能低头读。
|
|
630
|
+
|
|
631
|
+
## 范例 2:确实需要列表的时候
|
|
632
|
+
- 适合:并列、没有数字、没有先后、也不适合做卡片的短项,比如「本节要点」。
|
|
633
|
+
- 内容:标题「本节要记住三件事」,三条,每条不超过 15 个字。
|
|
634
|
+
- 画法:三条之间留足行距,每条前用一个和母题一致的小标记。
|
|
635
|
+
- 好在哪:列表短、条目少,是总结而不是讲稿。
|
|
636
|
+
- 常见错误:整套每一页都是标题加 6 条要点,这是最常见、最需要避免的默认样子。
|
|
637
|
+
`},Ha=R({id:"slide-exemplars",name:"幻灯片范例",category:"演示文稿",description:"按页面用途分类的好页面范例:每个范例写清适合什么内容、可以怎么画、为什么好、常见的错误做法。做某一类页面前读对应文件。",instructions:`
|
|
638
|
+
# 怎么用
|
|
639
|
+
|
|
640
|
+
做一页之前,先想这一页的用途,读对应的文件,参考它的取舍,再按自己的内容和设计语言重新画。范例里的画法是一种可能,不是模板;不要照抄范例里的文字、数字和版式。
|
|
641
|
+
|
|
642
|
+
| 页面用途 | 文件 |
|
|
643
|
+
| --- | --- |
|
|
644
|
+
| 封面 | cover.md |
|
|
645
|
+
| 章节页 | section.md |
|
|
646
|
+
| 结束页 | closing.md |
|
|
647
|
+
| 一个关键数字 | big-number.md |
|
|
648
|
+
| 几个并列的指标 | stats.md |
|
|
649
|
+
| 趋势、占比、对比数据 | chart.md |
|
|
650
|
+
| 有先后的过程 | steps.md |
|
|
651
|
+
| 两样东西比较 | comparison.md |
|
|
652
|
+
| 几个并列的概念 | cards.md |
|
|
653
|
+
| 需要精确对照的信息 | table.md |
|
|
654
|
+
| 一句有分量的话 | quote.md |
|
|
655
|
+
| 解释一个概念、确实需要列表时 | explain.md |
|
|
656
|
+
|
|
657
|
+
一次读一两个文件就够;同一类页面在这次对话里读过就不用再读。
|
|
658
|
+
`,files:{...Wa,...za,...Ka,...Ia}}),pt={geometry:"几何",light:"光",nature:"山水与纹样",frame:"边框"},mt=[ja,ka,R({id:"element-library",name:"元素库",category:"演示文稿",description:`画主视觉和装饰前读:${De.length} 个参数化矢量元素(点阵、圆环与仪表、有机形、斜切块、波浪、网格、电路、光晕、丝带、粒子、光线、远山、海浪纹、窗格、印章、边框等),drawSlide 的 motif 对象一次画成一组可编辑形状。`,instructions:`
|
|
659
|
+
# 元素库
|
|
660
|
+
|
|
661
|
+
元素库里的每个元素都是参数化的矢量图形:给一个框(x、y、w、h,厘米),编辑器按框的大小画出整组形状并编成一组,可以整体移动、缩放和改色。
|
|
662
|
+
不能生成图片时,封面、章节页和需要画面的页靠它们做主视觉;能生成图片时,它们做图片周围的光、框和肌理。
|
|
663
|
+
|
|
664
|
+
## 怎么用
|
|
665
|
+
- 在 drawSlide 的 elements 里写 \`{ "kind": "motif", "motif": "rings", "variant": "hud", "x": 18, "y": -2, "w": 20, "h": 20, "color": "primary", "color2": "accent" }\`。
|
|
666
|
+
- **color / color2** 写颜色角色;**opacity** 整体透明度;**density** 疏密(sparse、medium、dense);**count** 重复单元的个数;**seed** 换一种随机排布;
|
|
667
|
+
**variant** 见下表;印章和复古窗口要 **text**。默认是纯装饰(decoration),放映时不参与动画。
|
|
668
|
+
- **当主视觉就要大**:主视觉元素占画面的三到六成,或者让框超出页面、被页边裁掉一部分,比完整缩在页内更有张力。
|
|
669
|
+
- **当点缀就要克制**:点阵、网格、斜线、粒子放在角落或标题背后,透明度低,不和文字抢。
|
|
670
|
+
- **不压字**:先画元素再画文字;元素和文字重叠时,元素要淡或在文字的留白一侧。
|
|
671
|
+
- **叠加组合**:一个画面可以叠两三个元素,如深色底上 glow + rings(hud)+ particles,或纸色底上 mountains(ink)+ seal + window-lattice。
|
|
672
|
+
- **跟着风格卡走**:每张风格卡列了适合它的元素;同一套稿件反复用同一两个元素,就成了母题。
|
|
673
|
+
- **只做抽象**:元素库只有光、线、纹理、框这类抽象图形。人物、动物、建筑、植物这类具象画面用生成图片,不能生成时用 illustration 对象自己画 SVG 插画;不用元素库或形状拼简笔画。
|
|
674
|
+
|
|
675
|
+
${Object.keys(pt).map(e=>`## ${pt[e]}
|
|
676
|
+
| 元素 | 名称 | 变体 | 用法 | 常用于风格 |
|
|
677
|
+
| --- | --- | --- | --- | --- |
|
|
678
|
+
${De.filter(t=>t.category===e).map(t=>`| ${t.name} | ${t.label} | ${t.variants.map(([r,a])=>`${r}(${a})`).join(";")} | ${t.usage} | ${W.filter(r=>r.motifs.includes(t.name)).map(r=>r.name).join("、")||"按需"} |`).join(`
|
|
679
|
+
`)}`).join(`
|
|
680
|
+
|
|
681
|
+
`)}
|
|
682
|
+
`}),$a,Ha,R({id:"slides-lecture",name:"课堂课件",category:"演示文稿",description:"做或改上课用的课件(中小学、大学、培训):一页一个知识点、例题与练习页、术语和讲稿进备注。",instructions:`
|
|
683
|
+
# 适用
|
|
684
|
+
老师现场讲的课件。学生要记笔记、跟着做练习,所以要清楚、有节奏,而不是一次看完。
|
|
685
|
+
|
|
686
|
+
# 结构
|
|
687
|
+
封面(课题、对象、时长)→ 本节目标(3 条以内)→ 每个知识点:引入(生活现象或问题)→ 概念 → 例子 → 小练习 →
|
|
688
|
+
小结 → 作业或课后资源。每 15–20 分钟放一个练习或互动页,让学生动手。
|
|
689
|
+
|
|
690
|
+
# 写法
|
|
691
|
+
- 一页一个知识点,标题写成学生要记住的那句话。
|
|
692
|
+
- 定义、公式单独一页,字大;推导过程按步骤排开,一步一次点击。
|
|
693
|
+
- 例题页:题目在上,解答分步出现;答案不要和题目一起出现。
|
|
694
|
+
- 术语、音标、英文对照、补充阅读写进备注;需要学生抄的才上屏。
|
|
695
|
+
- 代码讲解:一页只放 10 行以内,讲到的行用文字说明,完整代码进备注或附录页。
|
|
696
|
+
- 练习页写清:做什么、几分钟、怎么交。
|
|
697
|
+
|
|
698
|
+
# 设计语言与动画
|
|
699
|
+
读 genres.md 的“课堂教学”(低龄读“儿童与亲子”):明亮底配学科色、黑板风或笔记本风任选一种,字号偏大。
|
|
700
|
+
例题、练习页用同一个母题标出来,学生一眼知道“该动手了”。现场讲用 applyMotion(click)。
|
|
701
|
+
`}),R({id:"slides-launch",name:"发布会",category:"演示文稿",description:"做产品发布会、新品介绍、主题演讲风格的稿件:大字少字、一页一个瞬间、大数字与对比、强拍节奏。",instructions:`
|
|
702
|
+
# 适用
|
|
703
|
+
台上讲、台下大屏看的演讲。观众离屏幕远,记住的是瞬间,不是页面。
|
|
704
|
+
|
|
705
|
+
# 结构
|
|
706
|
+
开场(一个问题或一个场景)→ 产品亮相(整页名字或图片)→ 每个卖点一页或两页 → 价格与上市 → 收尾一句话。
|
|
707
|
+
|
|
708
|
+
# 写法
|
|
709
|
+
- 一页一个瞬间:一个数字、一句话或一张图。可见文字通常不超过 15 个汉字。
|
|
710
|
+
- 卖点用大数字讲:“40 小时”比“续航时间长”有力;下一页再给对比或解释。
|
|
711
|
+
- 对比用左右两栏:旧的和新的、别人和我们。
|
|
712
|
+
- 价格单独一页,最后出现。
|
|
713
|
+
- 讲的话全部进备注。
|
|
714
|
+
|
|
715
|
+
# 设计语言与动画
|
|
716
|
+
读 genres.md 的“科技发布”:深色光感、纯白留白或玻璃卡片任选一种;极大的字,一个强调色只给焦点;母题跟着产品走(产品轮廓、标志性的形状或颜色)。
|
|
717
|
+
每页焦点最后出现;章节之间用强拍过渡。
|
|
718
|
+
`}),R({id:"slides-report",name:"工作汇报",category:"演示文稿",description:"做季度、年度、项目工作汇报:结论先行、数据页写法、问题与计划页、对领导讲的节奏。",instructions:`
|
|
719
|
+
# 适用
|
|
720
|
+
对上级或跨部门讲的汇报。听的人时间少,要先知道结论,再看依据。
|
|
721
|
+
|
|
722
|
+
# 结构
|
|
723
|
+
封面 → 一页总览(三个结论)→ 成果(数据)→ 问题(原因)→ 计划(谁、做什么、什么时候、目标值)→ 需要的支持。
|
|
724
|
+
|
|
725
|
+
# 写法
|
|
726
|
+
- 总览页把最重要的三个结论写成三张卡片或三个指标。
|
|
727
|
+
- 数据页:标题写结论(“续约率超出目标 2 个百分点”),正文放一个图表或一组指标,和目标、上期比较。
|
|
728
|
+
- 问题页:一页一个问题,写清影响有多大、原因是什么。
|
|
729
|
+
- 计划页:用步骤或表格,每项有负责人和时间。
|
|
730
|
+
- 细节数字、明细表放附录页或备注。
|
|
731
|
+
|
|
732
|
+
# 设计语言与动画
|
|
733
|
+
读 genres.md 的“商务汇报”(财务数据读“金融”,机关单位读“机关事业单位”);主色可以用公司品牌色,强调色只标好坏和变化,数据颜色要能一眼区分。
|
|
734
|
+
汇报一般 click 节奏;发给别人自己看的版本不加动画。
|
|
735
|
+
`}),R({id:"slides-social",name:"自媒体知识卡",category:"演示文稿",description:"做小红书、抖音、视频号用的竖屏知识卡或短视频画面:竖版、一屏一个点、标题钩子、自动播放节奏。",instructions:`
|
|
736
|
+
# 适用
|
|
737
|
+
手机上划着看,或者导出视频自动播放。观众停留几秒,第一屏决定是否看下去。
|
|
738
|
+
|
|
739
|
+
# 结构
|
|
740
|
+
封面(钩子标题:数字、反常识或提问)→ 每屏一个要点(3–7 屏)→ 收尾(一句话总结或行动)。
|
|
741
|
+
|
|
742
|
+
# 写法
|
|
743
|
+
- 写设计语言时 aspect 设为 9:16,稿件会变成竖版。
|
|
744
|
+
- 封面标题不超过 14 个汉字,最好带数字。
|
|
745
|
+
- 每屏一个要点:一个大标题 + 一两句解释,或一个大数字。字要大,手机上一眼能读。
|
|
746
|
+
- 不放表格和复杂图表;需要对比就用两张卡片上下排。
|
|
747
|
+
- 讲解词写进备注,配音和字幕从备注生成。
|
|
748
|
+
|
|
749
|
+
# 设计语言与动画
|
|
750
|
+
读 genres.md 的“自媒体知识卡”:高对比整版色、粗大的标题字,一屏一个焦点;导出视频用 applyMotion(auto),每块自动依次出现。
|
|
751
|
+
`})];function ut(e=mt){const t=ur({sources:[{id:"builtin",label:"内置",store:mr(e)}]});return t.refresh(),t}function qa(){return{title:"今天想做什么演示?",tasks:[{id:"create",label:"从零做一份稿件",icon:"file",skill:"slide-design",prompt:"帮我从零做一份演示文稿,主题是:"},{id:"outline",label:"按大纲生成",icon:"listNumbered",skill:"slide-design",prompt:`按下面的大纲生成整套幻灯片:
|
|
752
|
+
`},{id:"restyle",label:"换一种设计",icon:"colorScheme",skill:"slide-design",prompt:"保留现有内容,按新的设计整套重画。我想要的感觉是:"},{id:"check",label:"检查版面",icon:"scan",prompt:"逐页检查版面,修正文字重叠、超出卡片或页面、对齐不齐的问题。"}]}}const Ga=48,Qa=4,Ua=1e4;function Va(e,t,r,a,n){const{renderSlide:o,session:s}=e,d=Q(e.ownerDocument,o?(f,T)=>o(S(T)):void 0);let c;import("lucide-static/icon-nodes.json").then(f=>{c=f.default},()=>{});const l=Z(Q(e.ownerDocument)),i=new AbortController,p=()=>{const f=n.pictures();f&&Ze(j(s).document,f,i.signal)},w=e.pictureSlide===void 0?void 0:async(f,T)=>{const B=n.pictures();return B&&await Xr(j(s).document,f,B,i.signal),e.pictureSlide(f,T)},b=ht(j(s),Z(d),w,{icons:()=>c,samples:l,get pictures(){return n.pictures()!==void 0}}),x=t.skills??ut();let F=!1,h=!1,m=!1,k;const u=j(s).document.subscribe(f=>{!m||!f.content||f.live||f.origin!=="agent"||(clearTimeout(k),k=setTimeout(p,Ua))}),g=or({ownerDocument:e.ownerDocument,createDocument:({authorizeWrite:f,documentKey:T})=>cr(b,{documentId:T??`pptx-document-${nr()}`,skills:x,authorizeWrite:()=>{const B=f();return h?{...B,review:!1}:B}}),onPendingChange:f=>{m=f,h=f&&(F||Ja(j(s).document.presentation())),f?F=!1:(clearTimeout(k),p(),Na(j(s).document,e.ownerDocument,i.signal))},connection:()=>s.ready.then(a),documentKey:t.documentKey===!1?void 0:()=>`pptx:${s.name()}`,settings:r,storage:t.storage,skills:x,maxModelTurns:Ga,maxIdleTurns:Qa,locale:"zh-CN",startPage:qa(),layouts:["side","wide","page"],onLayoutChange:f=>e.setLayout(f),onClose:()=>e.close()});g.element.classList.add("pptx-editor-ai");const y=()=>g.reconnect();return n.mounted.add(y),{element:g.element,layout:f=>g.update({locale:"zh-CN",layout:f}),ask:(f,T)=>(T?.create&&(F=!0),g.ask(f)),destroy(){i.abort(),clearTimeout(k),u(),n.mounted.delete(y),g.destroy(),b.close()}}}function Ja(e){const t=r=>{try{return!K(r).trim()}catch{return!1}};return L(e).every(r=>D(r).every(a=>Ie(a)&&t(a)))}function Xa(e){const t=e.connection?void 0:ir({ownerDocument:e.ownerDocument,defaultHostUrl:e.defaultHostUrl??"",storage:{local:e.storage},reconnect:e.reconnect??(()=>{o=void 0,n=a();for(const d of r)d()}),...e.providers===void 0?{}:{providers:e.providers}}),r=new Set,a=()=>e.pictures===!1?void 0:e.pictures??(t?sr(t.connection,e.fetch):void 0);let n=a(),o;const s=()=>o??=e.connection?e.connection():lr({...t?.connection.mode==="browser"?{browserCatalog:t.connection.catalog}:{},...t?.connection.mode==="host"?{hostUrl:t.connection.hostUrl}:{},fetch:e.fetch,getHeaders:e.getHeaders});return{panel:{id:"quirekit.ai",label:"AI 助手",defaultOpen:e.defaultOpen??!1,layouts:["side","wide","page"],assistant:!0,mount:d=>Va(d,e,t,s,{pictures:()=>n,mounted:r})},destroy:()=>t?.destroy()}}async function Za(e){const t=Nt();switch(e){case"blank":V(t,"");break;case"denseLecture":en(t);break;case"textWall":tn(t);break;case"plain":rn(t);break;case"singleNumber":z(t,{title:"用户增长情况",body:"今年一季度新增注册用户 128 万,比去年同期增长 63%。其中 72% 来自自然流量,主要渠道是搜索和朋友推荐;付费投放带来的用户留存率只有自然流量的一半。下一季度计划把预算从投放转向内容运营。"});break}return Yt(t)}function Ya(e){for(const t of D(e))Ie(t)&&Zt(t)}function N(e,t,r,a,n={}){const o=s=>$e(Math.round(s*36e4));ar(Rt(e,{x:o(t[0]),y:o(t[1]),w:o(t[2]),h:o(t[3]),text:r}),{size:a,color:n.color??"#1F2937",bold:n.bold??!1,...n.font?{font:n.font}:{}})}function en(e){const t=c=>$e(Math.round(c*36e4)),r=(c,l)=>{const i=V(e,"");return Ya(i),N(i,[1.5,.8,24,1.6],c,32,{bold:!0}),N(i,[1.5,2.3,24,1],l,16,{color:"#2563EB"}),N(i,[1.5,17.3,31,.9],"KEY TERMS variable /ˈveəriəbl/ 变量 · type /taɪp/ 类型 · mutable /ˈmjuːtəbl/ 可变的 · immutable /ɪˈmjuːtəbl/ 不可变的",13,{color:"#8A6210"}),i},a=r("Python 的基本数据类型:变量、类型与可变性","Variables, Types and Mutability in Python");Mt(a,{x:t(1.5),y:t(3.8),w:t(19),h:t(9),rows:[["类型 Type","示例 Example","可变 Mutable","常见操作 Common operations"],["int 整数","42, -7","否","+ - * // % **,比较大小"],["float 浮点数","3.14, 1e-3","否","运算有精度误差,比较时用 math.isclose"],["str 字符串","'hello'","否","切片、拼接、format、split、join"],["list 列表","[1, 2, 3]","是","append、pop、sort、切片、推导式"],["dict 字典","{'a': 1}","是","按键取值、get、items、update"],["tuple 元组","(1, 2)","否","解包、作为字典的键"]]});const n=Ne(a,{preset:"roundRect",x:t(21.5),y:t(3.8),w:t(11),h:t(6.5)});He(n,"#111827"),qe(n),N(a,[22,4.2,10,6],`>>> a = [1, 2]
|
|
753
|
+
>>> b = a
|
|
754
|
+
>>> b.append(3)
|
|
755
|
+
>>> a
|
|
756
|
+
[1, 2, 3] # a 也变了!
|
|
757
|
+
>>> s = 'hi'
|
|
758
|
+
>>> s[0] = 'H'
|
|
759
|
+
TypeError`,12,{color:"#A7F3D0",font:"Menlo"}),N(a,[21.5,10.8,11,5.5],"⚠ 易错点:赋值只是给对象再起一个名字,不会复制。对列表、字典这类可变对象,b = a 之后修改 b,a 也会变;要复制请用 a.copy() 或 list(a)。字符串和元组不可变,不能按位置修改,只能生成新的对象。",13,{color:"#B91C1C"});const o=r("条件与循环:让程序做判断、做重复","Control Flow: if, for and while");N(o,[1.5,3.8,16,12.5],["if 后面的条件为真时执行缩进的代码块,elif 可以有多个,else 最多一个","Python 用缩进表示代码块,同一块里缩进必须一致,建议 4 个空格","for 循环遍历序列:列表、字符串、range(n)、字典的 items()","while 循环在条件为真时重复,注意要在循环体里改变条件,否则会死循环","break 立刻结束整个循环,continue 跳过本次进入下一次","for 和 while 都可以带 else,循环正常结束(没有 break)时执行","range(start, stop, step) 不包含 stop,range(5) 是 0 到 4","列表推导式 [x * x for x in range(10) if x % 2 == 0] 可以代替简单循环","嵌套循环的时间会成倍增加,数据量大时要先想清楚复杂度"].join(`
|
|
760
|
+
`),14);const s=Ne(o,{preset:"roundRect",x:t(18.5),y:t(3.8),w:t(14),h:t(9)});He(s,"#111827"),qe(s),N(o,[19,4.2,13,8.5],`scores = [88, 92, 59, 75]
|
|
761
|
+
for i, s in enumerate(scores):
|
|
762
|
+
if s >= 90:
|
|
763
|
+
level = 'A'
|
|
764
|
+
elif s >= 60:
|
|
765
|
+
level = 'B'
|
|
766
|
+
else:
|
|
767
|
+
level = 'C'
|
|
768
|
+
print(i, s, level)`,12,{color:"#A7F3D0",font:"Menlo"});const d=r("课堂练习:写一个成绩统计小程序","Hands-on Lab: A Grade Report in 15 Minutes");N(d,[1.5,3.8,18,12.5],["① 新建文件 grades.py,定义列表 scores,写入 10 个 0–100 的整数","② 用 for 循环算出总分和平均分,平均分保留一位小数","③ 用 max() 和 min() 找出最高分和最低分,并打印它们的位置","④ 按 90/80/60 分段统计 A、B、C、D 各有多少人,存进字典","⑤ 用 while 循环让用户反复输入新成绩,输入 q 结束","⑥ 把结果按“等级: 人数”的格式打印出来","⑦ 进阶:把成绩从 grades.txt 读入,结果写进 report.txt","提示:input() 返回字符串,要先用 int() 转换;遇到非数字输入用 try/except 处理"].join(`
|
|
769
|
+
`),14),N(d,[21,3.8,11.5,12.5],`评分标准:能运行 40%,结果正确 30%,代码清楚(变量命名、缩进、注释)20%,完成进阶 10%。
|
|
770
|
+
|
|
771
|
+
提交方式:把 grades.py 和运行截图发到课程群,文件名用“学号_姓名”。
|
|
772
|
+
|
|
773
|
+
常见问题:缩进混用 Tab 和空格;把字符串和数字直接相加;循环条件写反导致死循环。`,13,{color:"#374151"})}function tn(e){V(e,"2026 年第三季度客服中心工作汇报");for(const[t,r]of[["工作概况",["本季度共受理工单 18,420 件,比上季度增加 12%,主要增量来自 8 月新版本上线后的咨询","平均首次响应时间从 4.2 小时缩短到 2.6 小时,达到年初定的 3 小时目标","一次解决率 71%,比上季度提高 6 个百分点,但退款类工单的一次解决率只有 48%","客户满意度 4.3 分(满分 5 分),差评主要集中在退款周期长和转接次数多","夜间时段(22 点到次日 8 点)的工单占 19%,目前只有 2 人值守,响应时间是白天的 3 倍","知识库新增和更新文章 126 篇,自助解决的咨询占 23%","人员方面新入职 6 人、离职 3 人,新人平均需要 5 周才能独立处理工单","系统方面完成了工单系统与订单系统的打通,客服可以直接查看订单状态"]],["存在的问题",["退款流程需要财务审批,平均耗时 6.5 天,是客户投诉最多的环节,涉及跨部门协作","工单分类规则不清楚,约 15% 的工单被分错组,需要二次转接,增加了处理时间","夜间值守人手不足,高峰期排队超过 40 分钟,部分客户转向社交媒体投诉","新人培训没有系统教材,主要靠老员工带,质量不稳定,带教的老员工自己的工作量也受影响","知识库文章缺少维护,有 30 多篇内容已经过时,客户按文章操作失败后再来咨询","质检只抽查 3% 的工单,很多问题发现得太晚,无法及时纠正","数据报表需要每周手工整理,耗费组长大量时间","客服与产品团队之间缺少固定的问题反馈渠道,同类问题反复出现"]],["下季度计划",["与财务部门协商,把 500 元以下的退款改为客服直接审批,目标是把退款周期缩短到 2 天以内","重新梳理工单分类规则,上线自动分类,目标是把分错组的比例降到 5% 以下","夜间增加 2 名值守人员,并尝试用智能客服处理常见问题","编写新人培训手册和考核题库,目标是新人 3 周内独立上岗","建立知识库文章的季度复核机制,每篇文章指定负责人","质检抽查比例提高到 8%,并引入关键词自动质检","用 BI 工具自动生成周报,释放组长的时间","每两周与产品团队开一次问题复盘会,跟踪高频问题的修复进度"]]])z(e,{title:t,body:r.join(`
|
|
774
|
+
`)})}function rn(e){V(e,"家庭阳台种菜入门"),z(e,{title:"为什么在阳台种菜",body:`吃得放心
|
|
775
|
+
孩子能看到食物怎么长出来
|
|
776
|
+
每天十分钟,放松心情`}),z(e,{title:"先看阳台条件",body:`朝南最好,每天至少 4 小时直射光
|
|
777
|
+
承重:一个装满土的大花盆约 30 公斤
|
|
778
|
+
排水:盆底要有孔,下面放接水盘`}),z(e,{title:"新手推荐的五种菜",body:`小葱:插下去就能活
|
|
779
|
+
生菜:一个月就能吃
|
|
780
|
+
番茄:需要搭架子
|
|
781
|
+
辣椒:耐旱好养
|
|
782
|
+
薄荷:长得快,要单独种`}),z(e,{title:"常见问题",body:`叶子发黄:多半是浇水太多
|
|
783
|
+
长得细长:光照不够
|
|
784
|
+
有小虫:用肥皂水喷叶子背面`})}async function bt(e,t){const r=await pe(e),a=L(r),n=U(),o=a.map(i=>D(i).reduce((p,w)=>p+K(w).replace(/\s/gu,"").length,0)),s=a.map(i=>fe(r,i));let d=0,c=0;s.forEach((i,p)=>{c=i!==null&&i===s[p-1]?c+1:i===null?0:1,d=Math.max(d,c)});const l=i=>a.length===0?0:on(a.filter(i).length/a.length);return{slides:a.length,charsMean:a.length===0?0:Math.round(o.reduce((i,p)=>i+p,0)/a.length),charsMax:Math.max(0,...o),notesShare:l(i=>(ze(i)??"").trim().length>0),motionShare:l(i=>Oe(i).length>0),compositions:new Set(s.filter(i=>i!==null)).size,longestRepeat:d,theme:ce(r)?.name??null,...nn(a.map(i=>Te(r,i,ye(r,i),n.read(r,i)).facts.map(p=>p.kind)).flat()),clicksMax:Math.max(0,...a.map(i=>Ye(xe(i)).at(-1)??0)),...await an(r,a,t)}}async function an(e,t,r){if(r===void 0)return{layoutProblems:null,layoutProblemKinds:{}};await r.settle(e);const a=t.flatMap(o=>r.check(e,o).map(s=>s.kind)),n={};for(const o of a)n[o]=(n[o]??0)+1;return{layoutProblems:a.length,layoutProblemKinds:n}}function nn(e){const t={};for(const r of e)t[r]=(t[r]??0)+1;return{designNotes:e.length,designNoteKinds:t}}function on(e){return Math.round(e*100)/100}const se=[{id:"T1",kind:"create",fixture:"blank",prompt:"帮我做一份科普分享的 PPT,主题是“睡眠如何巩固记忆”,6 到 8 页,我会在读书会上现场讲 15 分钟。"},{id:"T2",kind:"create",fixture:"blank",prompt:"做一份季度工作汇报,5 页左右。数据:新客户 128 家(上季度 96 家);续约率 87%(目标 85%);客单价 4.2 万元(上季度 3.8 万元)。问题是华南区续约率只有 71%。"},{id:"T3",kind:"create",fixture:"blank",prompt:"我们要发布一款降噪耳机“静界 Pro”,做 5 页发布会风格的 PPT:续航 40 小时、降噪深度 50dB、重量 4.8 克、售价 899 元。"},{id:"T4",kind:"create",fixture:"blank",prompt:"做 5 页竖屏知识卡,发小红书,主题“3 个让咖啡更好喝的小习惯”。"},{id:"T5",kind:"create",fixture:"blank",prompt:"按这个大纲做一节初中物理课的课件:1. 生活中的浮力现象 2. 阿基米德原理 3. 例题:木块浮在水面 4. 课堂小实验 5. 小结与作业。"},{id:"T6",kind:"improve",fixture:"denseLecture",prompt:"这份课件信息太密集了。请优化成更适合课堂讲解的版本:每页只讲一件事,标题直接写结论;补充说明、讲稿和音标术语放进演讲者备注;太密的页拆成几页。原来的知识点不要丢。"},{id:"T7",kind:"improve",fixture:"textWall",prompt:"这份汇报每页字太多了,我要在部门会上讲,帮我改成适合讲的版本。"},{id:"T8",kind:"restyle",fixture:"plain",prompt:"把这份稿件换成手绘科普的风格。"},{id:"T9",kind:"motion",fixture:"denseLecture",prompt:"这份课件现场上课用,帮我加上动画:讲到哪块出哪块。"},{id:"T10",kind:"slide",fixture:"singleNumber",prompt:"把这一页改成重点突出的一页。"},{id:"T11",kind:"create",fixture:"blank",prompt:["按下面的大纲做一份产品方案评审的 PPT,给技术和产品负责人看,我讲 20 分钟。","一、背景:客服工单量一年涨了 60%,人工分派平均要 25 分钟","二、目标:自动分派准确率 90%,分派时间降到 1 分钟以内","三、方案"," 1. 规则引擎:按产品线、客户等级、问题类型分派"," 2. 模型辅助:对描述不清的工单给出 3 个候选分类"," 3. 人工兜底:置信度低于 0.7 的转人工","四、排期:6 月完成规则引擎,8 月上线模型辅助,9 月全量","五、风险:历史标注数据不足;客服团队需要培训"].join(`
|
|
785
|
+
`)},{id:"T12",kind:"create",fixture:"blank",prompt:["把下面这篇短文做成 PPT,在社区活动上分享 10 分钟:","","骑车通勤这件事,很多人想过,真正开始的不多。最常见的顾虑有三个:太远、太累、不安全。其实城市里一半以上的通勤距离在 8 公里以内,按每小时 15 公里算,骑车 30 分钟就能到,和挤地铁、等公交差不多。","累的问题,靠一辆合适的车解决。车架尺寸对了,座高调到腿能伸直八成,骑 30 分钟并不比走 20 分钟更累。如果路上有坡,电助力车是很好的入门选择。","安全方面,选路比车技更重要。尽量走有隔离的非机动车道,避开早高峰的主干道;白天也开车灯,戴头盔,路口提前减速。","坚持下来,变化很明显:每天多出一小时的运动量,通勤时间变得可以预期,一个月下来还能省下几百元交通费。","开始的方法很简单:先挑一个天气好的周末,按通勤路线骑一遍,记下时间和难走的路段;第一周每周只骑两天,其余照旧。"].join(`
|
|
786
|
+
`)},{id:"T13",kind:"create",fixture:"blank",prompt:"做一个新员工信息安全培训的 PPT。"}];function sn(e){let t=null,r=null;const a=()=>{const n=e();if(!n)throw new Error("The editor has no open session.");return n};return{tasks:se,async prepare(n){const o=se.find(s=>s.id===n);if(!o)throw new Error(`Unknown task ${n}; tasks are ${se.map(s=>s.id).join(", ")}.`);return o.fixture==="blank"?await a().createDocument():await a().open(`评测-${o.id}.pptx`,await Za(o.fixture)),t=o.id,r=performance.now(),o.prompt},async score(){return{...await bt(await a().snapshot(),typeof document>"u"?void 0:Z(Q(document))),task:t,seconds:r===null?null:Math.round((performance.now()-r)/1e3)}},async design(){const n=await pe(await a().snapshot()),o=U();return L(n).map((s,d)=>({slide:d+1,design:Te(n,s,ye(n,s),o.read(n,s))}))},async view(){const n=await pe(await a().snapshot()),o=typeof document>"u"?void 0:Z(Q(document));return await o?.settle(n),hr(ct(n,o,Je(o),U()),dr(),{limit:1e3}).text}}}export{ht as createPptxAiDocument,sn as createPptxAiEval,ut as createPptxAiSkills,Xa as createPptxEditorAi,mt as pptxBuiltinSkills,se as pptxEvalTasks,bt as scorePptxEvalDeck};
|