演示真实运行记录 · claude-sonnet-5-5 · 2026年10月
I am building a landing page for a boutique wedding planner. Apply the Desert Rose theme and give me a :root CSS block with the theme colors and the font stacks for headings and body.
Skill: theme-factory
Read: themes/desert-rose.md
Here's the Desert Rose :root block, using the palette and fonts from the theme file:
:root {
/* Desert Rose palette */
--color-dusty-rose: #d4a5a5; /* soft primary */
--color-clay: #b87d6d; /* earthy accent */
--color-sand: #e8d5c4; /* warm neutral background */
--color-burgundy: #5d2e46; /* rich dark contrast */
/* Semantic roles */
--color-bg: var(--color-sand);
--color-surface: #f4eae0; /* lighter tint of sand for cards */
--color-text: var(--color-burgundy);
--color-primary: var(--color-dusty-rose);
--color-accent: var(--color-clay);
/* Typography (theme specifies FreeSans; fallbacks cover machines without it) */
--font-heading: "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
--font-body: "FreeSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
--font-heading-weight: 700;
--font-body-weight: 400;
}
body {
background: var(--color-bg);
color: var(--color-text);
font-family: var(--font-body);
}
h1, h2, h3 {
font-family: var(--font-heading);
font-weight: var(--font-heading-weight);
}
- Contrast: Burgundy text on sand reads well. Dusty rose and clay on sand are too low-contrast for body text, so use them for buttons, borders, and decorative fills. For text on a clay or rose button, use burgundy, or white only at large sizes.
- Fonts: FreeSans isn't installed on most visitors' devices, so most people will see the Helvetica/Arial fallback. That keeps the look close to the theme. For a more romantic feel, you could swap
--font-headingfor a serif such as Cormorant Garamond. That would depart from the theme spec, so I haven't done it. - Added values:
--color-surface(#f4eae0) and the semantic aliases aren't part of the theme. I added them for cards and easier reuse.
Real run, output shown verbatim.
它做什么
提供一组精选的专业配色与字体搭配,可以套用到任何产物上:幻灯片、文档、报告和 HTML 落地页。现有主题都不合适时,它可以生成一个新主题。
10 套主题
Ocean Depths、Sunset Boulevard、Forest Canopy、Modern Minimalist、Golden Hour、Arctic Frost、Desert Rose、Tech Innovation、Botanical Garden 和 Midnight Galaxy。每套主题包含四个十六进制颜色、标题字体、正文字体,以及适用场景说明。
工作方式
- 展示自带的
theme-showcase.pdf,让你看到所有主题。 - 询问使用哪一套,等待你的确认。
- 读取该主题的文件,一致地套用其中的颜色和字体。
说明与风险
包含主题文件和一个 PDF 展示图。我们检查过 PDF,没有嵌入脚本。不联网。主题里指定的 DejaVu、FreeSans 等字体不一定在每台机器上都有,可能会用到备用字体。