feat(posters): 新增图案/纹理源 pattern.css(48) 与 Radix Colors(288 色),海报库达 2358/65
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
* license 协议 licenseNote 协议中文说明(署名要求等)
|
||||
* home 官网 github GitHub 仓库
|
||||
* format 拉取方式:gh-files(GitHub 仓库直拉)| dir-files(npm 目录枚举)
|
||||
* local(读取 js/data/posters/{id}/files 下预生成素材,用于 CSS 库提取物)
|
||||
* gh/ghBranch GitHub 仓库与分支(format=gh-files 必填)
|
||||
* npm npm 包名(format=dir-files 必填)
|
||||
* dirs 目标目录(gh-files / dir-files 均用)
|
||||
@@ -884,6 +885,50 @@
|
||||
{ id: 'fontsource-anton', type: 'font', name: 'Anton', nameCn: 'Anton 字体', desc: '超粗窄体展示字(OFL 1.1),冲击力极强,适合促销、运动与街头大标题', license: 'OFL-1.1', licenseNote: 'SIL Open Font License 1.1,可自由商用与修改', home: 'https://fonts.google.com/specimen/Anton', github: 'https://github.com/googlefonts/Anton', format: 'dir-files', npm: '@fontsource/anton', npmVersion: '5.3.0', dirs: ['files'], ext: ['.woff2'], scaleMode: 'wrap', coordText: '静态 woff2', variants: '单字重 400', added: '2026-11-05', workspaces: ['poster'] },
|
||||
{ id: 'fontsource-archivo-black', type: 'font', name: 'Archivo Black', nameCn: 'Archivo Black 字体', desc: '超粗几何展示字(OFL 1.1),块面厚重、视觉重量大,适合海报主标题', license: 'OFL-1.1', licenseNote: 'SIL Open Font License 1.1,可自由商用与修改', home: 'https://fonts.google.com/specimen/Archivo+Black', github: 'https://github.com/Omnibus-Type/Archivo-Black', format: 'dir-files', npm: '@fontsource/archivo-black', npmVersion: '5.3.0', dirs: ['files'], ext: ['.woff2'], scaleMode: 'wrap', coordText: '静态 woff2', variants: '单字重 400', added: '2026-11-05', workspaces: ['poster'] },
|
||||
{ id: 'fontsource-abril-fatface', type: 'font', name: 'Abril Fatface', nameCn: 'Abril Fatface 字体', desc: '高对比复古展示衬线(OFL 1.1),浪漫厚重,适合时尚、餐饮与活动主视觉', license: 'OFL-1.1', licenseNote: 'SIL Open Font License 1.1,可自由商用与修改', home: 'https://fonts.google.com/specimen/Abril+Fatface', github: 'https://github.com/googlefonts/AbrilFatface', format: 'dir-files', npm: '@fontsource/abril-fatface', npmVersion: '5.3.0', dirs: ['files'], ext: ['.woff2'], scaleMode: 'wrap', coordText: '静态 woff2', variants: '单字重 400', added: '2026-11-05', workspaces: ['poster'] },
|
||||
{ id: 'fontsource-dancing-script', type: 'font', name: 'Dancing Script', nameCn: 'Dancing Script 字体', desc: '优雅连笔手写体(OFL 1.1),自然流畅,适合婚礼、邀请函与温情主题', license: 'OFL-1.1', licenseNote: 'SIL Open Font License 1.1,可自由商用与修改', home: 'https://fonts.google.com/specimen/Dancing+Script', github: 'https://github.com/googlefonts/dancing-script', format: 'dir-files', npm: '@fontsource-variable/dancing-script', npmVersion: '5.3.0', dirs: ['files'], ext: ['.woff2'], scaleMode: 'wrap', coordText: '可变字体 woff2', variants: '400-700 可变', added: '2026-11-05', workspaces: ['poster'] }
|
||||
{ id: 'fontsource-dancing-script', type: 'font', name: 'Dancing Script', nameCn: 'Dancing Script 字体', desc: '优雅连笔手写体(OFL 1.1),自然流畅,适合婚礼、邀请函与温情主题', license: 'OFL-1.1', licenseNote: 'SIL Open Font License 1.1,可自由商用与修改', home: 'https://fonts.google.com/specimen/Dancing+Script', github: 'https://github.com/googlefonts/dancing-script', format: 'dir-files', npm: '@fontsource-variable/dancing-script', npmVersion: '5.3.0', dirs: ['files'], ext: ['.woff2'], scaleMode: 'wrap', coordText: '可变字体 woff2', variants: '400-700 可变', added: '2026-11-05', workspaces: ['poster'] },
|
||||
/* ============================================================
|
||||
* —— 2026-11-05 图案 / 纹理批次:CSS 库提取为静态素材 ——
|
||||
* pattern.css 几何图案 bg(MIT;原库用 CSS 渐变定义,由
|
||||
* scripts/import-css-assets.js 按各家族几何规则
|
||||
* 还原为等价可平铺 SVG,currentColor 着色)
|
||||
* radix-colors 配色 palette(MIT;24 组各 12 级色阶,共 288 色)
|
||||
* 说明:本地预生成源(format: 'local'),构建时读 js/data/posters/{id}/files
|
||||
* ============================================================ */
|
||||
{
|
||||
id: 'patterncss',
|
||||
type: 'bg',
|
||||
name: 'Pattern.css',
|
||||
nameCn: 'CSS 几何图案',
|
||||
desc: 'pattern.css(MIT)48 款几何底纹:棋盘格、网格、圆点阵、交错点、横/竖/斜线、横/竖/斜条纹、锯齿、三角,各 4 档尺寸,可无缝平铺,适合海报背景与信息图分区底纹',
|
||||
license: 'MIT',
|
||||
licenseNote: 'MIT 协议,可自由商用、修改、再分发,需保留版权声明',
|
||||
home: 'https://bansal.io/pattern-css',
|
||||
github: 'https://github.com/bansal/pattern.css',
|
||||
format: 'local',
|
||||
ext: ['.svg'],
|
||||
scaleMode: 'wrap',
|
||||
coordText: '平铺单元 SVG(各家族 4 档尺寸,保留原始 viewBox)',
|
||||
variants: '12 家族 × 4 尺寸 = 48 款(currentColor 着色,可任意换色)',
|
||||
added: '2026-11-05',
|
||||
workspaces: ['poster']
|
||||
},
|
||||
{
|
||||
id: 'radix-colors',
|
||||
type: 'palette',
|
||||
name: 'Radix Colors',
|
||||
nameCn: 'Radix 色阶配色',
|
||||
desc: 'Radix UI 出品的 24 组专业色阶(MIT),每组 12 级明暗递进,共 288 色,专为界面与图形对比度调校,适合海报主色/辅助色体系搭建',
|
||||
license: 'MIT',
|
||||
licenseNote: 'MIT 协议,可自由商用、修改、再分发,需保留版权声明',
|
||||
home: 'https://www.radix-ui.com/colors',
|
||||
github: 'https://github.com/radix-ui/colors',
|
||||
format: 'local',
|
||||
ext: ['.json'],
|
||||
scaleMode: 'wrap',
|
||||
coordText: '配色 JSON(每组 name + colors 十二级色值)',
|
||||
variants: '24 组色系 × 12 级色阶 = 288 色',
|
||||
added: '2026-11-05',
|
||||
workspaces: ['poster']
|
||||
}
|
||||
];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user