sai-assets可复用网页资产库

Slow Ride Cream 慢骑奶油

slow-ride-cream v1.0.0 MIT 主题 · 配色与字体 12 文件 · 74 KB
新窗口 ↗
载入预览…

暖奶油纸面 + 鼠尾草绿 + 番茄围巾,慢日子编辑风;拱形画框 + 双语微标签 + 一句文案;适用:纸面底色 + 深棕墨字,英文微标签全大写宽字距(如 MOTION STUDY — 001);标题中文大字 + 一句短文案 + 一句慢生活 caption(风很轻/慢慢向前);画框用拱形大圆角(rx 220 级)或通栏横幅,场景内画天空/沙丘/海带;插画扁平矢量 + 全图统一深色描边(约 3px),渐变只给天空和皮毛;太阳必带光晕圈,云 2-3 椭圆拼,点缀小花/石子/海鸥 m 形/帆船;番茄色围巾是唯一的动态强调色,随风飘;动效要慢:1.6-2s 循环,脚踏 IK + 辐条转 + 背景无缝滚动,必带暂停钮,尊重 prefers-reduced-motion;编号感:STUDY 001 / CLUB / ROUTE 之类的 catalog 标签

不适用场景

禁用:高饱和原色、大面积渐变、紫粉 AI 风;描边粗细不一、有的部件有描边有的没有;科技蓝、深色底、发光阴影;快节奏动效(<1s 循环显得赶);无暂停钮的自动播放;中文标题加粗黑体顶格(要用衬线感/圆体感大字 + 字距)

元数据

类目
主题 · 配色与字体
版本
v1.0.0
许可
MIT
规模
12 文件 · 74 KB
来源
sai-theme-lab · themes/slow-ride-cream.json

标签

  • light
  • theme
  • paper
  • green
  • warm
  • editorial
  • cream

验证证据

2026-11-03 · python packs/slow-ride-cream/scripts/assert_tokens.py

PASS assert_tokens slow-ride-cream | variants=1 keys=30 hex=29 rgba=0 effects=1 contrast=ink/bg=9.25 onAccent/accent=5.12 | not_in_palette=[]

归属与许可

  • Sai Theme Lab · themes/slow-ride-cream.json · MIT
    原色板来源(旧库原子,只读取用)

取用

固定版本(CDN)
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/nakamotosai/sai-assets@pack/[email protected]/packs/slow-ride-cream/css/default.css">
raw 直取(跟随 main)
curl -O https://raw.githubusercontent.com/nakamotosai/sai-assets/main/packs/slow-ride-cream/SKILL.md
仓库内落地
python scripts/apply.py slow-ride-cream --to <项目目录>
整包下载
https://assets.ouuut.com/downloads/slow-ride-cream.zip

源码与规则

pack.json
{
  "schema": 1,
  "id": "slow-ride-cream",
  "title": "Slow Ride Cream 慢骑奶油",
  "kind": "theme",
  "category": "themes",
  "version": "1.0.0",
  "license": "MIT",
  "attribution": [
    {
      "name": "Sai Theme Lab · themes/slow-ride-cream.json",
      "license": "MIT",
      "what": "原色板来源(旧库原子,只读取用)"
    }
  ],
  "origin": {
    "project": "sai-theme-lab",
    "path": "themes/slow-ride-cream.json",
    "derived_from": null
  },
  "entry": "SKILL.md",
  "files": {
    "tokens": [
      "tokens/absolute.json",
      "tokens/index.json",
      "tokens/semantic/slow-ride-cream.json"
    ],
    "css": [
      "css/default.css",
      "css/all.css",
      "css/themes.css"
    ],
    "usage": "docs/usage.md",
    "assert": "scripts/assert_tokens.py",
    "preview": "preview/index.html"
  },
  "tags": [
    "light",
    "theme",
    "paper",
    "green",
    "warm",
    "editorial",
    "cream"
  ],
  "when": "暖奶油纸面 + 鼠尾草绿 + 番茄围巾,慢日子编辑风;拱形画框 + 双语微标签 + 一句文案;适用:纸面底色 + 深棕墨字,英文微标签全大写宽字距(如 MOTION STUDY — 001);标题中文大字 + 一句短文案 + 一句慢生活 caption(风很轻/慢慢向前);画框用拱形大圆角(rx 220 级)或通栏横幅,场景内画天空/沙丘/海带;插画扁平矢量 + 全图统一深色描边(约 3px),渐变只给天空和皮毛;太阳必带光晕圈,云 2-3 椭圆拼,点缀小花/石子/海鸥 m 形/帆船;番茄色围巾是唯一的动态强调色,随风飘;动效要慢:1.6-2s 循环,脚踏 IK + 辐条转 + 背景无缝滚动,必带暂停钮,尊重 prefers-reduced-motion;编号感:STUDY 001 / CLUB / ROUTE 之类的 catalog 标签",
  "not_for": "禁用:高饱和原色、大面积渐变、紫粉 AI 风;描边粗细不一、有的部件有描边有的没有;科技蓝、深色底、发光阴影;快节奏动效(<1s 循环显得赶);无暂停钮的自动播放;中文标题加粗黑体顶格(要用衬线感/圆体感大字 + 字距)",
  "default_variant": "slow-ride-cream",
  "verified": {
    "date": "2026-11-03",
    "how": "python packs/slow-ride-cream/scripts/assert_tokens.py",
    "evidence": "PASS assert_tokens slow-ride-cream | variants=1 keys=30 hex=29 rgba=0 effects=1 contrast=ink/bg=9.25 onAccent/accent=5.12 | not_in_palette=[]"
  },
  "canonical_home": null,
  "changelog": [
    "1.0.0:语义层按 WCAG ≥4.5:1 修正 accent/on-accent 配对(见 tokens/semantic 的 a11y 与 docs/usage.md);tokens/absolute.json 未改。"
  ]
}
css/default.css
/* Default = slow-ride-cream — 只链接这一份即最快 apply */
/* Slow Ride Cream 慢骑奶油 — 暖奶油纸面 + 鼠尾草绿 + 番茄围巾,慢日子编辑风;拱形画框 + 双语微标签 + 一句文案 */
/* 语义变量与 --theme-* 别名双发;字体/圆角透传源令牌 */

:root,
[data-theme="slow-ride-cream"],
.theme-slow-ride-cream {
  color-scheme: light;
  --bg: #f6f1e7;
  --theme-bg: #f6f1e7;
  --bg-deep: #efe7d3;
  --theme-bg-deep: #efe7d3;
  --surface: #fffdf6;
  --theme-surface: #fffdf6;
  --surface-2: #f1e9d4;
  --theme-surface-2: #f1e9d4;
  --border: #e3d7bd;
  --theme-border: #e3d7bd;
  --ink: #493e31;
  --theme-ink: #493e31;
  --ink-muted: #93846c;
  --theme-ink-muted: #93846c;
  --ink-dim: #a89a7f;
  --theme-ink-dim: #a89a7f;
  --accent: #b34a32;
  --theme-accent: #b34a32;
  --accent-2: #d95f43;
  --theme-accent-2: #d95f43;
  --on-accent: #fffaf0;
  --theme-on-accent: #fffaf0;
  --red: #c64545;
  --theme-red: #c64545;
  --green: #5d8a6a;
  --theme-green: #5d8a6a;
  --aqua: #6a9a8e;
  --theme-aqua: #6a9a8e;
  --blue: #5a7a8a;
  --theme-blue: #5a7a8a;
  --purple: #8a6a7a;
  --theme-purple: #8a6a7a;
  --link: #356f65;
  --theme-link: #356f65;
  --code-bg: #2f4038;
  --theme-code-bg: #2f4038;
  --pine: #33544a;
  --theme-pine: #33544a;
  --bike: #356f65;
  --theme-bike: #356f65;
  --bike-dark: #3c4945;
  --theme-bike-dark: #3c4945;
  --sage: #8a9e78;
  --theme-sage: #8a9e78;
  --seafoam: #b9cdc0;
  --theme-seafoam: #b9cdc0;
  --dune: #e8d8b6;
  --theme-dune: #e8d8b6;
  --dune-deep: #deca9f;
  --theme-dune-deep: #deca9f;
  --sun: #edc67e;
  --theme-sun: #edc67e;
  --fur: #c69a61;
  --theme-fur: #c69a61;
  --fur-deep: #946538;
  --theme-fur-deep: #946538;
  --outline: #785536;
  --theme-outline: #785536;
  --shadow: 0 12px 32px rgba(73,62,49,.10);
  --theme-shadow: 0 12px 32px rgba(73,62,49,.10);
  --radius-sm: 8px;
  --theme-radius-sm: 8px;
  --radius-md: 16px;
  --theme-radius-md: 16px;
  --radius-lg: 24px;
  --theme-radius-lg: 24px;
  --radius-arch: 220px;
  --theme-radius-arch: 220px;
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --theme-font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: ui-rounded, "PingFang SC", "Microsoft YaHei", sans-serif;
  --theme-font-body: ui-rounded, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --theme-font-mono: "JetBrains Mono", monospace;
}
css/all.css
/* Slow Ride Cream 慢骑奶油 — 全部变体 + 基础 chrome */
/* 暖奶油纸面 + 鼠尾草绿 + 番茄围巾,慢日子编辑风;拱形画框 + 双语微标签 + 一句文案 */
/* 含 :root:单主题整站直接链接本文件 */

:root,
[data-theme="slow-ride-cream"],
.theme-slow-ride-cream {
  color-scheme: light;
  --bg: #f6f1e7;
  --theme-bg: #f6f1e7;
  --bg-deep: #efe7d3;
  --theme-bg-deep: #efe7d3;
  --surface: #fffdf6;
  --theme-surface: #fffdf6;
  --surface-2: #f1e9d4;
  --theme-surface-2: #f1e9d4;
  --border: #e3d7bd;
  --theme-border: #e3d7bd;
  --ink: #493e31;
  --theme-ink: #493e31;
  --ink-muted: #93846c;
  --theme-ink-muted: #93846c;
  --ink-dim: #a89a7f;
  --theme-ink-dim: #a89a7f;
  --accent: #b34a32;
  --theme-accent: #b34a32;
  --accent-2: #d95f43;
  --theme-accent-2: #d95f43;
  --on-accent: #fffaf0;
  --theme-on-accent: #fffaf0;
  --red: #c64545;
  --theme-red: #c64545;
  --green: #5d8a6a;
  --theme-green: #5d8a6a;
  --aqua: #6a9a8e;
  --theme-aqua: #6a9a8e;
  --blue: #5a7a8a;
  --theme-blue: #5a7a8a;
  --purple: #8a6a7a;
  --theme-purple: #8a6a7a;
  --link: #356f65;
  --theme-link: #356f65;
  --code-bg: #2f4038;
  --theme-code-bg: #2f4038;
  --pine: #33544a;
  --theme-pine: #33544a;
  --bike: #356f65;
  --theme-bike: #356f65;
  --bike-dark: #3c4945;
  --theme-bike-dark: #3c4945;
  --sage: #8a9e78;
  --theme-sage: #8a9e78;
  --seafoam: #b9cdc0;
  --theme-seafoam: #b9cdc0;
  --dune: #e8d8b6;
  --theme-dune: #e8d8b6;
  --dune-deep: #deca9f;
  --theme-dune-deep: #deca9f;
  --sun: #edc67e;
  --theme-sun: #edc67e;
  --fur: #c69a61;
  --theme-fur: #c69a61;
  --fur-deep: #946538;
  --theme-fur-deep: #946538;
  --outline: #785536;
  --theme-outline: #785536;
  --shadow: 0 12px 32px rgba(73,62,49,.10);
  --theme-shadow: 0 12px 32px rgba(73,62,49,.10);
  --radius-sm: 8px;
  --theme-radius-sm: 8px;
  --radius-md: 16px;
  --theme-radius-md: 16px;
  --radius-lg: 24px;
  --theme-radius-lg: 24px;
  --radius-arch: 220px;
  --theme-radius-arch: 220px;
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --theme-font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: ui-rounded, "PingFang SC", "Microsoft YaHei", sans-serif;
  --theme-font-body: ui-rounded, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --theme-font-mono: "JetBrains Mono", monospace;
}

/* 基础 chrome(opt-in):<body class="theme-apply"> 或 [data-theme-apply] 上底色与基础件 */
.theme-apply,
[data-theme-apply] {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body, system-ui, sans-serif);
  line-height: 1.6;
}

.theme-apply a,
[data-theme-apply] a {
  color: var(--link, var(--accent));
}

.theme-apply code,
.theme-apply pre,
[data-theme-apply] code,
[data-theme-apply] pre {
  font-family: var(--font-mono, ui-monospace, monospace);
  background: var(--code-bg, var(--surface2, var(--surface)));
  border-radius: var(--radius-sm, 4px);
}

.theme-apply .panel,
[data-theme-apply] .panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 6px);
  box-shadow: var(--shadow, 0 12px 32px rgba(73,62,49,.10));
}

.theme-apply .btn-primary,
[data-theme-apply] .btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-sm, 4px);
}
css/themes.css
/* Slow Ride Cream 慢骑奶油 · 共存版:只出 [data-theme] / .theme-<id> 作用域,不含 :root
   多主题应用(站点自带主题切换器)用这一份,避免全局覆盖项目自己的 token;
   单主题直接应用请用 css/default.css。color-scheme 只在 [data-theme] 块里给。 */

[data-theme="slow-ride-cream"],
.theme-slow-ride-cream {
  color-scheme: light;
  --bg: #f6f1e7;
  --theme-bg: #f6f1e7;
  --bg-deep: #efe7d3;
  --theme-bg-deep: #efe7d3;
  --surface: #fffdf6;
  --theme-surface: #fffdf6;
  --surface-2: #f1e9d4;
  --theme-surface-2: #f1e9d4;
  --border: #e3d7bd;
  --theme-border: #e3d7bd;
  --ink: #493e31;
  --theme-ink: #493e31;
  --ink-muted: #93846c;
  --theme-ink-muted: #93846c;
  --ink-dim: #a89a7f;
  --theme-ink-dim: #a89a7f;
  --accent: #b34a32;
  --theme-accent: #b34a32;
  --accent-2: #d95f43;
  --theme-accent-2: #d95f43;
  --on-accent: #fffaf0;
  --theme-on-accent: #fffaf0;
  --red: #c64545;
  --theme-red: #c64545;
  --green: #5d8a6a;
  --theme-green: #5d8a6a;
  --aqua: #6a9a8e;
  --theme-aqua: #6a9a8e;
  --blue: #5a7a8a;
  --theme-blue: #5a7a8a;
  --purple: #8a6a7a;
  --theme-purple: #8a6a7a;
  --link: #356f65;
  --theme-link: #356f65;
  --code-bg: #2f4038;
  --theme-code-bg: #2f4038;
  --pine: #33544a;
  --theme-pine: #33544a;
  --bike: #356f65;
  --theme-bike: #356f65;
  --bike-dark: #3c4945;
  --theme-bike-dark: #3c4945;
  --sage: #8a9e78;
  --theme-sage: #8a9e78;
  --seafoam: #b9cdc0;
  --theme-seafoam: #b9cdc0;
  --dune: #e8d8b6;
  --theme-dune: #e8d8b6;
  --dune-deep: #deca9f;
  --theme-dune-deep: #deca9f;
  --sun: #edc67e;
  --theme-sun: #edc67e;
  --fur: #c69a61;
  --theme-fur: #c69a61;
  --fur-deep: #946538;
  --theme-fur-deep: #946538;
  --outline: #785536;
  --theme-outline: #785536;
  --shadow: 0 12px 32px rgba(73,62,49,.10);
  --theme-shadow: 0 12px 32px rgba(73,62,49,.10);
  --radius-sm: 8px;
  --theme-radius-sm: 8px;
  --radius-md: 16px;
  --theme-radius-md: 16px;
  --radius-lg: 24px;
  --theme-radius-lg: 24px;
  --radius-arch: 220px;
  --theme-radius-arch: 220px;
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --theme-font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: ui-rounded, "PingFang SC", "Microsoft YaHei", sans-serif;
  --theme-font-body: ui-rounded, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --theme-font-mono: "JetBrains Mono", monospace;
}

/* 基础 chrome(opt-in):<body class="theme-apply"> 或 [data-theme-apply] 上底色与基础件 */
.theme-apply,
[data-theme-apply] {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body, system-ui, sans-serif);
  line-height: 1.6;
}

.theme-apply a,
[data-theme-apply] a {
  color: var(--link, var(--accent));
}

.theme-apply code,
.theme-apply pre,
[data-theme-apply] code,
[data-theme-apply] pre {
  font-family: var(--font-mono, ui-monospace, monospace);
  background: var(--code-bg, var(--surface2, var(--surface)));
  border-radius: var(--radius-sm, 4px);
}

.theme-apply .panel,
[data-theme-apply] .panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 6px);
  box-shadow: var(--shadow, 0 12px 32px rgba(73,62,49,.10));
}

.theme-apply .btn-primary,
[data-theme-apply] .btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-sm, 4px);
}
tokens/absolute.json
{
  "id": "slow-ride-cream",
  "name": "Slow Ride Cream 慢骑奶油",
  "mode": "light",
  "signature": "暖奶油纸面 + 鼠尾草绿 + 番茄围巾,慢日子编辑风;拱形画框 + 双语微标签 + 一句文案",
  "source": "themes/slow-ride-cream.json",
  "colors": {
    "bg": "#f6f1e7",
    "bgDeep": "#efe7d3",
    "surface": "#fffdf6",
    "surface2": "#f1e9d4",
    "border": "#e3d7bd",
    "ink": "#493e31",
    "inkMuted": "#93846c",
    "inkDim": "#a89a7f",
    "accent": "#d95f43",
    "accent2": "#b34a32",
    "onAccent": "#fffaf0",
    "pine": "#33544a",
    "bike": "#356f65",
    "bikeDark": "#3c4945",
    "sage": "#8a9e78",
    "seafoam": "#b9cdc0",
    "dune": "#e8d8b6",
    "duneDeep": "#deca9f",
    "sun": "#edc67e",
    "fur": "#c69a61",
    "furDeep": "#946538",
    "outline": "#785536",
    "red": "#c64545",
    "green": "#5d8a6a",
    "aqua": "#6a9a8e",
    "blue": "#5a7a8a",
    "purple": "#8a6a7a",
    "link": "#356f65",
    "codeBg": "#2f4038",
    "shadow": "0 12px 32px rgba(73,62,49,.10)"
  }
}
tokens/index.json
{
  "default": "slow-ride-cream",
  "themes": [
    {
      "id": "slow-ride-cream",
      "name": "Slow Ride Cream 慢骑奶油",
      "mode": "light",
      "path": "tokens/semantic/slow-ride-cream.json",
      "default": true
    }
  ]
}
tokens/semantic/slow-ride-cream.json
{
  "id": "slow-ride-cream",
  "name": "Slow Ride Cream 慢骑奶油",
  "mode": "light",
  "signature": "暖奶油纸面 + 鼠尾草绿 + 番茄围巾,慢日子编辑风;拱形画框 + 双语微标签 + 一句文案",
  "colors": {
    "bg": "#f6f1e7",
    "bgDeep": "#efe7d3",
    "surface": "#fffdf6",
    "surface2": "#f1e9d4",
    "border": "#e3d7bd",
    "ink": "#493e31",
    "inkMuted": "#93846c",
    "inkDim": "#a89a7f",
    "accent": "#b34a32",
    "accent2": "#d95f43",
    "onAccent": "#fffaf0",
    "red": "#c64545",
    "green": "#5d8a6a",
    "aqua": "#6a9a8e",
    "blue": "#5a7a8a",
    "purple": "#8a6a7a",
    "link": "#356f65",
    "codeBg": "#2f4038",
    "pine": "#33544a",
    "bike": "#356f65",
    "bikeDark": "#3c4945",
    "sage": "#8a9e78",
    "seafoam": "#b9cdc0",
    "dune": "#e8d8b6",
    "duneDeep": "#deca9f",
    "sun": "#edc67e",
    "fur": "#c69a61",
    "furDeep": "#946538",
    "outline": "#785536",
    "shadow": "0 12px 32px rgba(73,62,49,.10)"
  },
  "fonts": {
    "display": "\"Noto Serif SC\", \"Songti SC\", serif",
    "body": "ui-rounded, \"PingFang SC\", \"Microsoft YaHei\", sans-serif",
    "mono": "\"JetBrains Mono\", monospace"
  },
  "radius": {
    "sm": "8px",
    "md": "16px",
    "lg": "24px",
    "arch": "220px"
  },
  "derived": {
    "bg": "bg",
    "bgDeep": "bgDeep",
    "surface": "surface",
    "surface2": "surface2",
    "border": "border",
    "ink": "ink",
    "inkMuted": "inkMuted",
    "inkDim": "inkDim",
    "accent": "accent2",
    "accent2": "accent",
    "onAccent": "onAccent",
    "red": "red",
    "green": "green",
    "aqua": "aqua",
    "blue": "blue",
    "purple": "purple",
    "link": "link",
    "codeBg": "codeBg"
  },
  "a11y": {
    "contrast_min": 4.5,
    "pairs": {
      "ink/bg": 9.25,
      "onAccent/accent": 5.12
    },
    "adjusted": true,
    "notes": [
      "源 accent/onAccent 实测 3.56:1 < 4.5,按源色板把 --accent 改用 accent2(#b34a32),配对 5.12:1"
    ]
  }
}
docs/usage.md
# Slow Ride Cream 慢骑奶油 · 用法与配对规则

`slow-ride-cream` · mode `light` · 默认变体 `slow-ride-cream`

**signature**:暖奶油纸面 + 鼠尾草绿 + 番茄围巾,慢日子编辑风;拱形画框 + 双语微标签 + 一句文案

- 原色表:`tokens/absolute.json`(源盘 `colors` 原样,不改名不近似)。
- 语义映射:`tokens/semantic/slow-ride-cream.json`(`derived` 记每个语义键取自哪个源键;`a11y` 记对比度实测)。
- 变量双发:裸语义名(`--bg`)与 `--theme-` 前缀别名(`--theme-bg`)同值,便于接既有项目。
- 你不需要发明 hex:缺哪个角色就用对应变量,不要拿别的色近似。

## 变体表

| id | mode | 何时用 |
|---|---|---|
| `slow-ride-cream` | `light` | **默认**;暖奶油纸面 + 鼠尾草绿 + 番茄围巾,慢日子编辑风;拱形画框 + 双语微标签 + 一句文案 |

## 变量表(语义名 ↔ 前缀别名)

| 语义键 | CSS 变量 | 别名 |
|---|---|---|
| `bg` | `--bg` | `--theme-bg` |
| `bgDeep` | `--bg-deep` | `--theme-bg-deep` |
| `surface` | `--surface` | `--theme-surface` |
| `surface2` | `--surface-2` | `--theme-surface-2` |
| `border` | `--border` | `--theme-border` |
| `ink` | `--ink` | `--theme-ink` |
| `inkMuted` | `--ink-muted` | `--theme-ink-muted` |
| `inkDim` | `--ink-dim` | `--theme-ink-dim` |
| `accent` | `--accent` | `--theme-accent` |
| `accent2` | `--accent-2` | `--theme-accent-2` |
| `onAccent` | `--on-accent` | `--theme-on-accent` |
| `red` | `--red` | `--theme-red` |
| `green` | `--green` | `--theme-green` |
| `aqua` | `--aqua` | `--theme-aqua` |
| `blue` | `--blue` | `--theme-blue` |
| `purple` | `--purple` | `--theme-purple` |
| `link` | `--link` | `--theme-link` |
| `codeBg` | `--code-bg` | `--theme-code-bg` |
| `pine` | `--pine` | `--theme-pine` |
| `bike` | `--bike` | `--theme-bike` |
| `bikeDark` | `--bike-dark` | `--theme-bike-dark` |
| `sage` | `--sage` | `--theme-sage` |
| `seafoam` | `--seafoam` | `--theme-seafoam` |
| `dune` | `--dune` | `--theme-dune` |
| `duneDeep` | `--dune-deep` | `--theme-dune-deep` |
| `sun` | `--sun` | `--theme-sun` |
| `fur` | `--fur` | `--theme-fur` |
| `furDeep` | `--fur-deep` | `--theme-fur-deep` |
| `outline` | `--outline` | `--theme-outline` |
| `shadow` | `--shadow` | `--theme-shadow` |

## 配对规则(谁配谁)

| 用途 | 变量 | 口径 |
|---|---|---|
| 正文 / 段落 | `--ink` | 页面主文字色,始终用于 `--bg` 之上 |
| 次要文字 | `--ink-muted` / `--ink-dim` | 说明、元信息、时间戳;`--ink-muted` 比 `--ink-dim` 更接近正文 |
| 卡面 / 面板 | `--surface` + `--border` | 卡底用 `--surface`,描边用 `--border`;需要抬升时 `--surface-2` |
| 主按钮 | `--accent` + `--on-accent` | 一个视区只放一个主 CTA;文字色必须用 `--on-accent`(实测 5.12:1) |
| 链接 | `--link` | 链接一律用 `--link`;**强调色(`--accent`)不与链接同色** —— 本主题 `--link` = `#356f65` 与 `--accent` = `#b34a32` 不同值,可直接并置 |
| 危险 / 破坏性 | `--red` | 删除、错误、警报 |
| 成功 | `--green` | 通过、已完成 |
| 页面底 | `--bg` / `--bg-deep` | 大底用 `--bg`,更深的分层用 `--bg-deep` |

一行口径:正文 `--ink`,次要 `--ink-muted`/`--ink-dim`,卡面 `--surface`+`--border`,主按钮 `--accent`+`--on-accent`,链接 `--link`,危险 `--red`,成功 `--green`;强调色不做链接色。

## 字体配方(源 `fonts` 透传)

| 角色 | 变量 | 栈 |
|---|---|---|
| `display` | `--font-display` | "Noto Serif SC", "Songti SC", serif |
| `body` | `--font-body` | ui-rounded, "PingFang SC", "Microsoft YaHei", sans-serif |
| `mono` | `--font-mono` | "JetBrains Mono", monospace |

- 标题用 `var(--font-display)`,正文 `var(--font-body)`,代码/数字 `var(--font-mono)`;字重与字号档位不在本包内,按下方 `do` 的约束落地。

## 圆角(源 `radius` 透传)

| 变量 | 值 |
|---|---|
| `--radius-sm` | 8px |
| `--radius-md` | 16px |
| `--radius-lg` | 24px |
| `--radius-arch` | 220px |

## 推荐做法(源 `do`)

- 纸面底色 + 深棕墨字,英文微标签全大写宽字距(如 MOTION STUDY — 001)
- 标题中文大字 + 一句短文案 + 一句慢生活 caption(风很轻/慢慢向前)
- 画框用拱形大圆角(rx 220 级)或通栏横幅,场景内画天空/沙丘/海带
- 插画扁平矢量 + 全图统一深色描边(约 3px),渐变只给天空和皮毛
- 太阳必带光晕圈,云 2-3 椭圆拼,点缀小花/石子/海鸥 m 形/帆船
- 番茄色围巾是唯一的动态强调色,随风飘
- 动效要慢:1.6-2s 循环,脚踏 IK + 辐条转 + 背景无缝滚动,必带暂停钮,尊重 prefers-reduced-motion
- 编号感:STUDY 001 / CLUB / ROUTE 之类的 catalog 标签

## 反模式(源 `dont`)

- 高饱和原色、大面积渐变、紫粉 AI 风
- 描边粗细不一、有的部件有描边有的没有
- 科技蓝、深色底、发光阴影
- 快节奏动效(<1s 循环显得赶)
- 无暂停钮的自动播放
- 中文标题加粗黑体顶格(要用衬线感/圆体感大字 + 字距)

## 对比度实测(WCAG,自写公式)

| 组合 | 实测 | 门槛 |
|---|---|---|
| `ink` on `bg` | 9.25:1 | ≥ 4.5:1 |
| `onAccent` on `accent` | 5.12:1 | ≥ 4.5:1 |

### 语义层留痕(透明记录)

- 源 accent/onAccent 实测 3.56:1 < 4.5,按源色板把 --accent 改用 accent2(#b34a32),配对 5.12:1

## 应用片段

```css
/* 单主题:把 css/default.css 全文贴进项目,或在 <head> 里 link 它 */
/* 多主题共存:link css/themes.css,用 <html data-theme="slow-ride-cream"> 决定何时生效(无 :root,不覆盖项目 token) */
```

```html
<html data-theme="slow-ride-cream" class="theme-slow-ride-cream" lang="zh-CN">
  <link rel="stylesheet" href="css/default.css">
```

## 来源 / Provenance

- 风格观测:meerkat-bicycle.vercel.app(狐獴沙漠页,仅看设计语言,未复制代码)
- 风格观测:用户提供的 gpt6 鹈鹕骑行图 x3(海岸整页 / 沿海横幅 / 俱乐部卡片)
- 本地验证:[本地路径已移除]
SKILL.md
---
name: slow-ride-cream
description: "Slow Ride Cream 慢骑奶油(light 暖奶油纸面 + 鼠尾草绿 + 番茄围巾,慢日子编辑风;拱形画框 + 双语微标签 + 一句文案)。触发:Slow Ride Cream 慢骑奶油 / slow-ride-cream / 暖奶油纸面 + 鼠尾草绿 + 番茄围巾,慢日子编辑风;拱形画框 + 双语微标签 + 一句文案。不做整站重构。"

---

# slow-ride-cream

让任何网页/面板变成 **Slow Ride Cream 慢骑奶油** 的样子,不用 agent 自己编 hex。

暖奶油纸面 + 鼠尾草绿 + 番茄围巾,慢日子编辑风;拱形画框 + 双语微标签 + 一句文案

## When to use

- 用户点名 Slow Ride Cream 慢骑奶油 / slow-ride-cream / 暖奶油纸面 + 鼠尾草绿 + 番茄围巾,慢日子编辑风;拱形画框 + 双语微标签 + 一句文案
- 需要整套配色(bg / bg-deep / surface / ink / accent / 状态色)而不是单个色值
- 需要 纸面底色 + 深棕墨字,英文微标签全大写宽字距(如 MOTION STUDY — 001)
- 需要 标题中文大字 + 一句短文案 + 一句慢生活 caption(风很轻/慢慢向前)
- 需要 画框用拱形大圆角(rx 220 级)或通栏横幅,场景内画天空/沙丘/海带
- 需要 插画扁平矢量 + 全图统一深色描边(约 3px),渐变只给天空和皮毛
- 需要 太阳必带光晕圈,云 2-3 椭圆拼,点缀小花/石子/海鸥 m 形/帆船
- 需要 番茄色围巾是唯一的动态强调色,随风飘
- 需要 动效要慢:1.6-2s 循环,脚踏 IK + 辐条转 + 背景无缝滚动,必带暂停钮,尊重 prefers-reduced-motion
- 需要 编号感:STUDY 001 / CLUB / ROUTE 之类的 catalog 标签

## When not to use

- 整站品牌设计系统(要自定义组件/字体体系)→ 用设计类 skill
- 别的主题族(用户点名其它风格)
- 高饱和原色、大面积渐变、紫粉 AI 风
- 描边粗细不一、有的部件有描边有的没有
- 科技蓝、深色底、发光阴影
- 快节奏动效(<1s 循环显得赶)
- 无暂停钮的自动播放
- 中文标题加粗黑体顶格(要用衬线感/圆体感大字 + 字距)

## Default

**`slow-ride-cream`**(mode `light`)

| role | hex |
|---|---|
| `bg` | `#f6f1e7` |
| `bgDeep` | `#efe7d3` |
| `surface` | `#fffdf6` |
| `ink` | `#493e31` |
| `accent` | `#b34a32` |
| `link` | `#356f65` |
| `red` | `#c64545` |

## Sub-themes (id → when)

| id | mode | contrast | pick when |
|---|---|---|---|
| `slow-ride-cream` | `light` | — | **默认**;暖奶油纸面 + 鼠尾草绿 + 番茄围巾,慢日子编辑风;拱形画框 + 双语微标签 + 一句文案 |

## Files

| path | use |
|---|---|
| `tokens/absolute.json` | 源盘原色表(原样,含未参与语义映射的色) |
| `tokens/index.json` | 变体目录 + default |
| `tokens/semantic/slow-ride-cream.json` | 语义映射 + `derived`(取源哪个键)+ `a11y`(对比度实测) |
| `css/default.css` | 默认变体一份,含 `:root`,最快 apply |
| `css/all.css` | 全部变体 + 基础 chrome,含 `:root` |
| `css/themes.css` | 共存版:同 all.css 但**无 `:root`**,只 `[data-theme]` / `.theme-<id>` 作用域 |
| `docs/usage.md` | 配对规则 / 字体配方 / 反模式(中文) |
| `preview/index.html` | 活预览(独立单文件) |

## Agent apply steps

1. **Pick variant** — 用户点名变体就用它;否则 `slow-ride-cream`。
2. **Read tokens** — `tokens/semantic/slow-ride-cream.json`(`colors` 是语义键,`derived` 说明它取自源盘哪个键)。
3. **写入 CSS 变量** — 项目已有 `--bg/--ink/--accent` 就沿用同名;否则整份贴,或同时写 `--theme-*` 别名。
4. **挂主题作用域** — `<html data-theme="slow-ride-cream" class="theme-slow-ride-cream">`;多主题站点用 `css/themes.css`。
5. **选文件** — 单主题 `css/default.css`;多主题 `css/all.css`(带 `:root`)或 `css/themes.css`(不带)。
6. **按角色套件**:
   - 页面底 → `--bg` / `--bg-deep`
   - 卡面面板 → `--surface` + `--border`
   - 正文 → `--ink`;次要 → `--ink-muted` / `--ink-dim`
   - 主按钮 → `--accent` + `--on-accent`(一屏一个 CTA)
   - 链接 → `--link`(**不**用 `--accent`,强调色不做链接色)
   - 危险 → `--red`;成功 → `--green`
7. **不要发明 hex** — 颜色只能来自 `tokens/absolute.json`;缺角色就跳过该变量。
8. **自检** — `python scripts/assert_tokens.py` 必须打印 `PASS assert_tokens slow-ride-cream`。

### Minimal `:root` snippet (`slow-ride-cream`)

```css
:root {
  color-scheme: light;
  --bg: #f6f1e7;
  --bg-deep: #efe7d3;
  --surface: #fffdf6;
  --surface-2: #f1e9d4;
  --border: #e3d7bd;
  --ink: #493e31;
  --ink-muted: #93846c;
  --ink-dim: #a89a7f;
  --accent: #b34a32;
  --accent-2: #d95f43;
  --on-accent: #fffaf0;
  --red: #c64545;
  --green: #5d8a6a;
  --aqua: #6a9a8e;
  --blue: #5a7a8a;
  --purple: #8a6a7a;
  --link: #356f65;
  --code-bg: #2f4038;
  --pine: #33544a;
  --bike: #356f65;
  --bike-dark: #3c4945;
  --sage: #8a9e78;
  --seafoam: #b9cdc0;
  --dune: #e8d8b6;
  --dune-deep: #deca9f;
  --sun: #edc67e;
  --fur: #c69a61;
  --fur-deep: #946538;
  --outline: #785536;
  --shadow: 0 12px 32px rgba(73,62,49,.10);
}
```

### HTML switch

```html
<html data-theme="slow-ride-cream" class="theme-slow-ride-cream">
  <link rel="stylesheet" href="css/default.css">
```

## Hard rules

- **Never** 高饱和原色、大面积渐变、紫粉 AI 风(源 `dont`)
- **Never** 描边粗细不一、有的部件有描边有的没有(源 `dont`)
- **Never** 科技蓝、深色底、发光阴影(源 `dont`)
- **Never** 快节奏动效(<1s 循环显得赶)(源 `dont`)
- **Never** 无暂停钮的自动播放(源 `dont`)
- **Never** 中文标题加粗黑体顶格(要用衬线感/圆体感大字 + 字距)(源 `dont`)

## Notes

- 预览:`preview/index.html`,单文件可直接打开
- 来源与语义层修正:`docs/usage.md` 末节。

← 回索引