book-index-ui 0.6.4 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -153,4 +153,56 @@
153
153
 
154
154
  /* 书目卡片「封面」的点缀色(IndexBrowser resultVariant="card") */
155
155
  --bim-cover-accent: #8e6f3e;
156
+
157
+ /* =========================================================
158
+ 详情页(作品 / 版本 / 丛编)
159
+ ---------------------------------------------------------
160
+ 2026-09 版式重构新增。设计稿全用字面色,这里**一律由上面
161
+ 已有的 --bim-* 派生**,于是消费者(kaiyuanguji-web 的宣纸
162
+ 皮肤、未来的墨夜深色、VS Code 主题)只要覆盖了基础色,
163
+ 详情页自动跟随,不需要再覆盖第二套。
164
+
165
+ 右侧注释是设计稿里对应的字面值,仅作对照,不要写回代码。
166
+ ========================================================= */
167
+
168
+ /*
169
+ * 取值策略:详情页是「读书」的场面,用宣纸+朱砂一套独立的暖色,
170
+ * **不**继承 --bim-primary 等通用控件色——后者在 VS Code 里跟随
171
+ * 主题的按钮蓝,用在正文页会变成一片蓝链接,与设计稿差得很远。
172
+ *
173
+ * 消费者(kaiyuanguji-web)覆盖同名变量即可换肤;VS Code 插件里
174
+ * 若要跟随主题,把这几个覆盖成 var(--vscode-*) 就行。
175
+ */
176
+
177
+ /* ---- 底色 ---- */
178
+ --bim-page-bg: #fbf9f3; /* 纸 */
179
+ --bim-row-hover-bg: #f5f1e5; /* 行 hover */
180
+ --bim-selection-bg: #ecdcbc; /* 选区 */
181
+
182
+ /* ---- 文字层次(墨 → 正文 → 提要 → meta → 标签 → 提示) ---- */
183
+ --bim-ink: #2a231c;
184
+ --bim-body-fg: #3b3228;
185
+ --bim-quiet-fg: #5b4f40; /* 提要正文 */
186
+ --bim-meta-fg: #7b6a54;
187
+ --bim-label-fg: #a3937b; /* 表头 / 计数 / facts key */
188
+ --bim-hint-fg: #b3a385; /* 行号 / 空值 / 箭头 */
189
+
190
+ /* ---- 强调 ---- */
191
+ --bim-accent: #9c3a2c; /* 朱 */
192
+ --bim-accent-deep: #6f2a20; /* 链接 hover */
193
+
194
+ /* ---- 分隔线(强 → 常规 → 虚线 → 提要左线) ---- */
195
+ --bim-rule-strong: #2a231c; /* header 底 / 表头 */
196
+ --bim-rule: #e4dbc9;
197
+ --bim-rule-dashed: #d6c9ae; /* 展开按钮 */
198
+ --bim-rule-accent-soft: #e0d3b6; /* 提要左线 */
199
+
200
+ /*
201
+ * 字体:全站无衬线(2026-09-05 定)。
202
+ * 消费者若要换字体,覆盖这两个变量即可;--bim-font-body 影响标题与正文,
203
+ * --bim-font-ui 影响 meta / 表头 / 标签 / 数字。
204
+ */
205
+ --bim-font-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
206
+ "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
207
+ --bim-font-body: var(--bim-font-ui);
156
208
  }