book-index-ui 0.5.0 → 0.6.1

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.
@@ -87,4 +87,70 @@
87
87
  --bim-progress-active: #f59e0b;
88
88
  --bim-progress-done: #10b981;
89
89
  --bim-progress-todo: #9ca3af;
90
+
91
+ /* ---- 整理本(CollatedEdition) ---- */
92
+ /* 搜索命中高亮底 */
93
+ --bim-highlight-bg: #fff59d;
94
+ /* 章节类型标记:类 / 书 / 序 / 结语 / 考证 */
95
+ --bim-section-lei: #8e6f3e;
96
+ --bim-section-shu: #c0392b;
97
+ --bim-section-xu: #1a5276;
98
+ --bim-section-jieyu: #7d6608;
99
+ --bim-section-kaozhen: #5d6d7e;
100
+ /* 章节标记(△ 等) */
101
+ --bim-section-tag-fg: #e74c3c;
102
+ /* 与底本匹配状态提示 */
103
+ --bim-matchstate-fg: #b78900;
104
+
105
+ /* ---- 版本传承(VersionLineageGraph / List) ---- */
106
+ /* 佚失标记 */
107
+ --bim-lost-fg: #c62828;
108
+ /* 关系置信度 */
109
+ --bim-confidence-certain: #2e7d32;
110
+ --bim-confidence-consensus: #1976d2;
111
+ --bim-confidence-probable: #ed6c02;
112
+ --bim-confidence-disputed: #c62828;
113
+ /*
114
+ * ⚠️ 历史遗留的不一致:同为 consensus(共识),
115
+ * VersionLineageList 的徽章用蓝色 #1976d2,
116
+ * VersionLineageGraph 的连线用灰色 #555。
117
+ * 变量化时为保证零变化,各自保留原值,故 Graph 单独用下面这个变量。
118
+ * 若要统一,把 --bim-lineage-edge-consensus 覆盖成
119
+ * var(--bim-confidence-consensus) 即可。
120
+ */
121
+ --bim-lineage-edge-consensus: #555;
122
+
123
+ /* ---- 关系方向(RelationPanel) ---- */
124
+ --bim-relation-up: #2196f3;
125
+ --bim-relation-down: #4caf50;
126
+ --bim-relation-flat: #ff9800;
127
+
128
+ /* ================= 编辑器视图(主要在 guji-platform 插件中可见) ================= */
129
+
130
+ /*
131
+ * ⚠️ 历史遗留的不一致:条目类型(Work/Collection/Book/Entity)在
132
+ * 展示视图(IndexDetail)与编辑视图(IndexEditor / EntityPickerDialog)
133
+ * 用的是两套完全不同的配色:
134
+ * 展示:--bim-type-* work 泥金 / book 朱红 / collection 靛蓝 / entity 紫
135
+ * 编辑:--bim-editor-type-* work 绿 / book 橙 / collection 蓝 / entity 紫
136
+ * 变量化时为保证零变化各自保留。若要统一,把 --bim-editor-type-* 覆盖成
137
+ * 对应的 var(--bim-type-*) 即可。
138
+ */
139
+ --bim-editor-type-work: #4caf50;
140
+ --bim-editor-type-collection: #2196f3;
141
+ --bim-editor-type-book: #ff9800;
142
+ --bim-editor-type-entity: #9c27b0;
143
+
144
+ /* 来源类型(SourceEditor) */
145
+ --bim-source-url: #2196f3;
146
+ --bim-source-bookid: #4caf50;
147
+
148
+ /* 轻量遮罩底(图片占位等) */
149
+ --bim-overlay-bg: #00000010;
150
+
151
+ /* 模式指示器当前态底色(ModeIndicator) */
152
+ --bim-mode-active-bg: #2196f3;
153
+
154
+ /* 书目卡片「封面」的点缀色(IndexBrowser resultVariant="card") */
155
+ --bim-cover-accent: #8e6f3e;
90
156
  }