yzsp-studio/mediakit-shared-suite / creative-design
creative-design
Unverified当用户要求从零生成或设计商业、品牌、社交媒体及知识表达类创意图片,编辑、复刻或审查已有视觉成品,或进行系列延展、多比例适配、多资产视觉系统设计时使用。触发任务包括做图、出图、生成图片、设计海报、主视觉/KV、Banner、封面、社媒配图、社媒长图、电商主图、详情页、产品图、Logo、IP 角色、吉祥物、包装、品牌应用物料、活动物料、宣传册、落地页、知识科普海报、信息图、教学图、教材插图、课件配图、思维导图、知识图谱、流程图、数据图表、科学结构图、公式推导图、工程图纸,以及分图层 HTML/CSS 视觉设计。
assets/templates/css/surfaces/metal-and-relief.md
View on GitHub# 文字挤出与浮雕近似
状态:近似实现。数值为可调起点,不是参考图原始源参数。
<a id="surface.type-relief"></a>
## 文字挤出与浮雕近似
风格标签:通用。
对应球面徽章上的厚字和金色标题。四层硬阴影近似挤出深度,字面与侧面分层,避免透明渐变字面被阴影覆盖。
| 参数 | 默认值 | 作用与限制 |
|---|---|---|
| `--vl-text-depth-x` | `3px` | 最远侧面横向位移,可负值 |
| `--vl-text-depth-y` | `4px` | 最远侧面纵向位移,可负值 |
| `--vl-text-side-color` | `#063870` | 挤出侧面色 |
| `--vl-text-contact-color` | `#001a40` | 最后一层接触阴影色 |
| `--vl-text-contact-blur` | `1px` | 接触层柔化;硬边挤出保持其余层 blur=0 |
```css
.vl-type-relief { display:inline-grid; isolation:isolate; }
.vl-type-relief__depth,.vl-type-relief__face { grid-area:1/1; font:inherit; letter-spacing:inherit; line-height:inherit; text-align:inherit; }
.vl-type-relief__depth { z-index:0; color:var(--vl-text-side-color,#063870); text-shadow:calc(var(--vl-text-depth-x,3px) * .25) calc(var(--vl-text-depth-y,4px) * .25) 0 var(--vl-text-side-color,#063870),calc(var(--vl-text-depth-x,3px) * .5) calc(var(--vl-text-depth-y,4px) * .5) 0 var(--vl-text-side-color,#063870),calc(var(--vl-text-depth-x,3px) * .75) calc(var(--vl-text-depth-y,4px) * .75) 0 var(--vl-text-side-color,#063870),var(--vl-text-depth-x,3px) var(--vl-text-depth-y,4px) var(--vl-text-contact-blur,1px) var(--vl-text-contact-color,#001a40); }
.vl-type-relief__face { z-index:1; }
```
```html
<h2 class="vl-type-relief"><span class="vl-type-relief__depth" aria-hidden="true">立体字面</span><span class="vl-type-relief__face vl-gradient--linear vl-text-paint" style="--vl-gradient-stops:#d8faff 0%,#46c3f7 45%,#237dc1 100%">立体字面</span></h2>
```
两层文字必须同源、同字体、同换行;装饰侧面设 aria-hidden,不能独立手工修改成另一段文案。建议大字使用,depth 超过约 6px 时四层近似可能出现台阶,需要增加阴影采样或改为专门的立体素材。此实现没有真实照明、透视挤压或字体轮廓重建。
<a id="surface.metal-bands"></a>
## 金属反光带近似
风格标签:通用。
金色标题使用窄亮带与深浅反差近似金属反光,复用 [通用渐变](../colors/palettes.md#color.gradient);应用于文字时再加 [填字](../layouts/layout-and-type.md#text.paint),应用于框面时用 paint-fill。
```json
{
"id": "surface.metal-bands",
"base": "color.gradient",
"selector": "vl-gradient--linear",
"overrides": {
"--vl-gradient-angle": "105deg",
"--vl-gradient-stops": "#704018 0%,#bf8538 22%,#fff4bd 35%,#d5a74d 44%,#8a5420 58%,#ffe9a0 76%,#b57529 100%"
}
}
```
调整亮带的位置、宽度与方向即可改变反光。透明度在各色标中配置。真实丝绸、鱼油液滴、复杂金属倒影仍是素材,不把该渐变称为物理材质复现。
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 |