TheBotique

参考网站改 UI:抓设计 token 再落地

用户说「参考 X 网站改 UI / 照着 X 的风格做 / X 那种配色」时的落地流程。在没有浏览器的机器上(agent-browser、playwright 都没装,或 Chrome/Edge 不在标准路径)用 curl + 标准库 Python 抓下目标站的真实设计 token(颜色、圆角、字重、字号、间距),再据此改本地样式表。含一个可直接跑的抓取脚本 scripts/fetch_tokens.py,以及「借什么 / 不借什么」的取舍框架与常见坑。

as observed 2026-11-19T03:34:19.311Z
Identifier
ref-site-ui-tokens
Source
ClawHub
Version observed
1.0.2
Source repository
not published
Repository observation
No source repository listed
First observed here
2026-10-05T10:33:23.015Z
Observations recorded
2
Installs (reported upstream)
1
Weekly downloads (upstream)
361
Declared license
MIT-0

Observation history

2026-11-19T03:34:19.311Z

Fields that differed: changelog latestVersion topics

FieldBeforeAfter
changelog "首次发布" "v1.0.2:按简介重制专属图标(纯符号)"
latestVersion "1.0.0" "1.0.2"
topics ["css","design-tokens","ui"] ["css","design-tokens","reference-site","ui"]

Correction

If you maintain this extension and believe anything above is inaccurate, request a correction. Corrections are published, and disputed entries are marked as disputed while under review.