feat(ds): 表单输入/下拉文字改柔和灰——新增 --field-ink token 作单一真相源
输入/下拉文字此前用 --ink(近白)太刺眼且与正文耦合。新增 --field-ink token (深 #a7b3a1 / 浅 #3c4838),Input/Select 组件引用之;改一个值即全改。 因项目无 DS 编译器,同步改 _ds_bundle.js(运行加载源)+ ambience.css 兜底,确保即时生效。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -25,6 +25,12 @@ body::before {
|
||||
0%, 35% { background: var(--amber-dim); box-shadow: inset 2px 0 0 var(--amber); }
|
||||
100% { background: transparent; box-shadow: none; }
|
||||
}
|
||||
/* 表单输入/下拉文字统一用柔和的 --field-ink(DS 源已改,此处覆盖以在未重编 bundle 时即时生效;body 前缀提高优先级压过 bundle 运行时样式) */
|
||||
body .m-input,
|
||||
body .m-select-trigger,
|
||||
body .m-select-value,
|
||||
body .m-select-opt { color: var(--field-ink); }
|
||||
|
||||
::selection { background: var(--green-dim); color: #fff; }
|
||||
::-webkit-scrollbar { width: 8px; height: 8px; }
|
||||
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
|
||||
|
||||
Reference in New Issue
Block a user