yzsp-studio/mediakit-shared-suite / creative-design
creative-design
Unverified当用户要求从零生成或设计商业、品牌、社交媒体及知识表达类创意图片,编辑、复刻或审查已有视觉成品,或进行系列延展、多比例适配、多资产视觉系统设计时使用。触发任务包括做图、出图、生成图片、设计海报、主视觉/KV、Banner、封面、社媒配图、社媒长图、电商主图、详情页、产品图、Logo、IP 角色、吉祥物、包装、品牌应用物料、活动物料、宣传册、落地页、知识科普海报、信息图、教学图、教材插图、课件配图、思维导图、知识图谱、流程图、数据图表、科学结构图、公式推导图、工程图纸,以及分图层 HTML/CSS 视觉设计。
assets/templates/css/shapes/containers.md
View on GitHub# 容器形状|参数与实现
[返回使用说明](../README.md)。本文件保存该分类的真实参数、默认值与代码;无需从 catalog 查找参数值。CSS 代码块是维护源,生成正式 HTML 时按现有协议展开为行内声明。
<a id="shapes.parameters"></a>
## 参数表
风格标签:通用(共用实现或组合规则,非独立风格预设)。
| 参数 | 实现默认值 | 类型/调整范围 | 作用与限制 |
|---|---|---|---|
| `--vl-radius` | `20px` | length | 圆角半径;圆角容器建议不小于 2px;文件夹须保持遮罩尺寸为正 |
| `--vl-tab-width` | `44cqi` | length;['cqi', 'px'] | 页签宽度;不用 %,1cqi 为卡片宽度的 1% |
| `--vl-tab-height` | `36px` | length | 页签高度 px;随轮廓检查遮罩 |
| `--vl-slope` | `40px` | length | 页签斜坡宽度 px |
| `--vl-back-display` | `block` | enum;['block', 'none'] | 文件夹背页开关 |
| `--vl-border-width` | `1.5px` | length | 圆角及显式引用该值的轮廓边框;文件夹 mask 不读取此值 |
默认轮廓是文件夹,`.vl-rounded` 修饰类改为原生圆角。两者共用 `.vl-folder` 根容器与内容结构,材质另外选择。几何参数变化时须保留内外轮廓、表面遮罩与正文避让的关系。
文件夹、页签与背页实现见[文件夹形状](tabs-and-folders.md#shape.folder)。
<a id="shape.rounded"></a>
## 圆角容器:明确的几何覆盖
风格标签:通用。
先读取[文件夹基础结构](tabs-and-folders.md#shape.folder),再使用根类 `.vl-folder vl-rounded vl-glass`(材质类可换)。不放 back 与 tab,内部保留 edge、surface、content。`--vl-border-width` 只在这个形状中生效。
```css
.vl-rounded .vl-folder__edge {
clip-path: none;
background: none;
border-radius: var(--vl-radius);
border: var(--vl-border-width) solid color-mix(in srgb, var(--vl-edge-color) calc(var(--vl-edge) * 100%), transparent);
}
.vl-rounded .vl-folder__surface {
clip-path: none;
mask-image: none;
inset: calc(var(--vl-border-width) + .5px) var(--vl-border-width) calc(var(--vl-border-width) + 1px);
border-radius: calc(var(--vl-radius) - var(--vl-border-width));
}
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |