pi-web-ui 0.108.0 → 0.110.0

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.
Files changed (83) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/README.md +21 -1
  3. package/README.zh-CN.md +21 -1
  4. package/README.zh-TW.md +201 -677
  5. package/dist/server/agent-service-daemon.js +2 -2
  6. package/dist/server/agent-service.js +47 -36
  7. package/dist/server/attachments.js +26 -6
  8. package/dist/server/client-state.js +4 -3
  9. package/dist/server/dispatch-domain-handlers.js +2 -0
  10. package/dist/server/dispatch-plugin-handlers.js +1 -0
  11. package/dist/server/dsh/dsh-agent-service.js +2 -2
  12. package/dist/server/durable/durable-driver.js +1 -1
  13. package/dist/server/durable/durable-tools.js +4 -1
  14. package/dist/server/files-service.js +23 -4
  15. package/dist/server/goal-service.js +12 -3
  16. package/dist/server/index.js +39 -10
  17. package/dist/server/locales.js +33 -0
  18. package/dist/server/marker-service.js +7 -13
  19. package/dist/server/markers/builtins/action.js +5 -6
  20. package/dist/server/markers/builtins/notify.js +2 -2
  21. package/dist/server/markers/builtins/rename.js +2 -2
  22. package/dist/server/markers/registry.js +5 -1
  23. package/dist/server/message-window.js +190 -0
  24. package/dist/server/model-admin.js +0 -4
  25. package/dist/server/plugin-catalog-sync.js +10 -2
  26. package/dist/server/plugin-catalog.js +63 -10
  27. package/dist/server/plugins.js +47 -6
  28. package/dist/server/preset-share.js +2 -3
  29. package/dist/server/process-utils.js +58 -24
  30. package/dist/server/protocol-version.js +1 -1
  31. package/dist/server/settings-service.js +8 -3
  32. package/dist/server/slash-commands.js +16 -4
  33. package/dist/server/text-sniff.js +10 -7
  34. package/dist/server/themes.js +36 -1
  35. package/dist/server/universal/drivers/dsh-driver.js +1 -1
  36. package/dist/server/universal/universal-session.js +12 -4
  37. package/dist/server/worktree-service.js +1 -1
  38. package/package.json +7 -2
  39. package/plugin-sdk/index.d.ts +20 -0
  40. package/plugin-sdk/index.mjs +14 -0
  41. package/plugins/catalog.json +22 -2
  42. package/themes/aetheris.css +155 -121
  43. package/themes/ayu-light.css +19 -15
  44. package/themes/bases/flow-base.css +1363 -0
  45. package/themes/bases/obsidian-base.css +679 -0
  46. package/themes/bases/zhujian-base.css +687 -0
  47. package/themes/bases/zhupi-base.css +659 -0
  48. package/themes/catppuccin-latte.css +17 -15
  49. package/themes/catppuccin.css +5 -2
  50. package/themes/claude-code-dark.css +2 -0
  51. package/themes/codex.css +16 -14
  52. package/themes/cyberpunk.css +4 -1
  53. package/themes/dark-teal.css +4 -1
  54. package/themes/dazzle.css +3 -0
  55. package/themes/everforest-light.css +17 -15
  56. package/themes/flow-light.css +10 -931
  57. package/themes/flow.css +13 -946
  58. package/themes/geist.css +16 -14
  59. package/themes/gruvbox-light.css +13 -11
  60. package/themes/kanagawa-lotus.css +16 -14
  61. package/themes/mist.css +18 -16
  62. package/themes/nord.css +16 -12
  63. package/themes/one-dark.css +9 -5
  64. package/themes/paper.css +9 -7
  65. package/themes/rose-pine-dawn.css +14 -12
  66. package/themes/sakura.css +15 -13
  67. package/themes/solarized-light.css +19 -17
  68. package/themes/tokyo-night.css +4 -2
  69. package/themes/vs-code-dark.css +4 -3
  70. package/themes/wallpaper-flow.css +73 -1031
  71. package/themes/wallpaper-obsidian.css +4 -673
  72. package/themes/white.css +8 -6
  73. package/themes/zhujian-dark.css +6 -608
  74. package/themes/zhujian.css +6 -657
  75. package/themes/zhupi-dark.css +6 -579
  76. package/themes/zhupi.css +6 -629
  77. package/web/dist/assets/{TerminalPanel-CslRhcS7.js → TerminalPanel-BHjM6pzY.js} +1 -1
  78. package/web/dist/assets/index-DwInT7-a.css +1 -0
  79. package/web/dist/assets/index-GfVFIgIL.js +693 -0
  80. package/web/dist/index.html +2 -2
  81. package/web/dist/sw.js +1 -1
  82. package/web/dist/assets/index-C_2Fl6f6.js +0 -690
  83. package/web/dist/assets/index-D0BtO5dn.css +0 -1
@@ -11,14 +11,16 @@
11
11
  --border-soft: #e6dfcf;
12
12
  --text: #262218;
13
13
  --text-dim: #6e6656;
14
- --text-faint: #9a9078;
14
+ --text-faint: #8e846a;
15
15
  --accent: #bf3b1f;
16
16
  --accent-soft: rgba(191, 59, 31, 0.1);
17
17
  --green: #3d7a55;
18
+ --on-green: #ffffff;
18
19
  --green-soft: rgba(61, 122, 85, 0.12);
19
20
  --red: #c2402a;
21
+ --on-red: #ffffff;
20
22
  --red-soft: rgba(194, 64, 42, 0.1);
21
- --amber: #a8722a;
23
+ --amber: #946425;
22
24
  --blue: #3a5fa0;
23
25
  --blue-soft: rgba(58, 95, 160, 0.12);
24
26
  --term-bg: #2a2620;
@@ -79,7 +81,7 @@
79
81
  --stop-red-hover: #a03618;
80
82
  --brand-grad-a: #bf3b1f;
81
83
  --brand-grad-b: #a8722a;
82
- --on-amber: #fffdf7;
84
+ --on-amber: #ffffff;
83
85
  --search-active-fg: #fffdf7;
84
86
  --switch-knob: #fffdf7;
85
87
  --sunken-bg: rgba(38, 34, 24, 0.06);
@@ -109,657 +111,4 @@
109
111
  --menu-bg: #fffdf7;
110
112
  }
111
113
 
112
- /* =========================================================================
113
- 朱笺 · Vermilion Note
114
- 基于宣纸稿纸美学演进的笺纸凹版主题:
115
- · 工具调用与思考流采用笺纸凹版卡片(独立边框与底色,层次分明)
116
- · 空思考内容自动撑开高度并显示占位提示
117
- · 输入框 = 命令栏,左缘一抹朱笔
118
- · 色彩只有语义:墨、淡墨、朱(唯一强调)、印绿
119
- ========================================================================= */
120
-
121
- /* ---- 0. 稿纸底色:旧纸的暗角与天头微光,纯渐变无图 ---- */
122
- body,
123
- .app-root {
124
- background-color: var(--bg);
125
- background-image:
126
- radial-gradient(ellipse 90% 55% at 50% -8%, rgba(255, 253, 247, 0.85) 0%, rgba(255, 253, 247, 0) 70%),
127
- radial-gradient(ellipse 100% 70% at 108% 112%, rgba(166, 140, 100, 0.1) 0%, rgba(166, 140, 100, 0) 70%);
128
- background-attachment: fixed;
129
- }
130
-
131
- ::selection {
132
- background: rgba(191, 59, 31, 0.18);
133
- }
134
-
135
- /* ---- 1. 顶栏隐形化:无底色层次,只一条 hairline,印章品牌 ---- */
136
- .topbar {
137
- background: var(--topbar-bg) !important;
138
- border-bottom: 1px solid var(--border-soft) !important;
139
- box-shadow: none !important;
140
- }
141
-
142
- .brand-name {
143
- font-family: var(--serif);
144
- font-weight: 700;
145
- letter-spacing: 0.06em;
146
- }
147
-
148
- /* 顶栏控件全部素色化:无底无框,hover 才现 hairline。兜底所有 button /
149
- * [role=button]——不管类名是谁(基线 chip / 插件注入 / capsule 等),顶栏里
150
- * 一律裸图标,dropdown 触发器不许再带盒子。 */
151
- .topbar button,
152
- .topbar [role="button"],
153
- .topbar a.chip,
154
- .topbar .chip {
155
- background: transparent !important;
156
- border: 1px solid transparent !important;
157
- border-radius: 3px !important;
158
- box-shadow: none !important;
159
- transition:
160
- border-color 0.15s ease,
161
- color 0.15s ease !important;
162
- }
163
-
164
- .topbar button:hover,
165
- .topbar [role="button"]:hover,
166
- .topbar a.chip:hover,
167
- .topbar .chip:hover {
168
- border-color: var(--border) !important;
169
- background: transparent !important;
170
- }
171
-
172
- .topbar .dropdown {
173
- background: transparent !important;
174
- border: none !important;
175
- box-shadow: none !important;
176
- }
177
-
178
- /* ---- 2. 消息区:文档化排版 ----
179
- * 消息区左右边缘与输入框/快捷短语行保持一致严丝合缝对齐(继承基线列几何)。 */
180
-
181
- .msg {
182
- position: relative;
183
- padding: 2px 0 10px;
184
- }
185
-
186
- .msg-user {
187
- padding-bottom: 2px !important;
188
- }
189
-
190
- .msg-user .msg-actions {
191
- margin-top: 2px !important;
192
- }
193
-
194
- .msg-user + .msg-assistant {
195
- padding-top: 2px !important;
196
- }
197
-
198
- .msg-user + .msg-assistant .msg-body > :first-child {
199
- margin-top: 2px !important;
200
- }
201
-
202
- /* 操作按钮:卡头只有自己的复制键(.chead-copy),消息级按钮(复制三件套 /
203
- 分叉 / 回滚 / 朗读)统一在底部 .msg-actions 行,流内排在消息气泡/正文下边,
204
- 桌面端与手机端保持一致。 */
205
-
206
- /* 角色行:书目式小标 */
207
- .msg-meta {
208
- margin-bottom: 4px;
209
- }
210
-
211
- /* head 行左右内边距归零:折叠三角贴齐列左缘(文字同一条线),右侧复制
212
- * 按钮贴右缘——head 无边框后,钮与缘之间不能悬空。三角形 28px 盒内 16px
213
- * 图标居中内缩 6px,用负外边距做光学对齐。 */
214
- .chead {
215
- padding-left: 0;
216
- padding-right: 0;
217
- }
218
-
219
- .chead-toggle {
220
- margin-left: -6px;
221
- }
222
-
223
- /* 正文块上的单一复制键去重:卡头现在只有自己的复制键,消息级复制
224
- (纯文本 / Markdown / 长图三件套)统一在底部 .msg-actions 行里。 */
225
- .msg-text-copy {
226
- display: none !important;
227
- }
228
-
229
- /* head 悬浮不再出现底色块:纸面保持完全平整(键盘 focus 的 outline 保留,
230
- * 只服务键盘导航) */
231
- div.chead[role="button"]:hover,
232
- .chead-toggle:hover {
233
- background: transparent !important;
234
- }
235
-
236
- .msg-role {
237
- font-size: 10.5px;
238
- font-weight: 600;
239
- letter-spacing: 0.18em;
240
- color: var(--text-faint);
241
- }
242
-
243
- .msg-time {
244
- font-family: var(--mono);
245
- font-size: 10.5px;
246
- }
247
-
248
- /* ---- 3. 用户输入:去气泡,「起手式,稿纸批注体 ---- */
249
- .msg-user .msg-body {
250
- position: relative;
251
- background: transparent !important;
252
- border: none !important;
253
- border-radius: 0 !important;
254
- padding: 0 0 0 1.5em !important;
255
- font-family: var(--serif);
256
- font-size: 15.5px;
257
- font-weight: 600;
258
- line-height: 1.8;
259
- color: var(--text);
260
- }
261
-
262
- .msg-user .msg-body::before {
263
- content: "「";
264
- position: absolute;
265
- left: 0;
266
- top: -0.12em;
267
- font-family: var(--serif);
268
- font-size: 1.3em;
269
- font-weight: 700;
270
- color: var(--accent);
271
- line-height: 1;
272
- }
273
-
274
- /* ---- 4. 助手正文:衬线文档体,直接是书页 ---- */
275
- .msg-assistant .msg-text {
276
- font-family: var(--serif);
277
- font-size: 15px;
278
- line-height: 1.85;
279
- color: var(--text);
280
- }
281
-
282
- .msg-assistant .msg-text p:first-child {
283
- margin-top: 0;
284
- }
285
-
286
- .msg-assistant .msg-text h1,
287
- .msg-assistant .msg-text h2,
288
- .msg-assistant .msg-text h3,
289
- .msg-assistant .msg-text h4 {
290
- font-family: var(--serif);
291
- font-weight: 700;
292
- color: var(--md-strong);
293
- letter-spacing: 0.02em;
294
- }
295
-
296
- .msg-assistant .msg-text blockquote {
297
- border-left: 2px solid var(--accent-soft);
298
- font-style: normal;
299
- color: var(--text-dim);
300
- }
301
-
302
- .msg-assistant .msg-text a {
303
- color: var(--link);
304
- text-decoration: underline dotted;
305
- text-decoration-color: rgba(191, 59, 31, 0.45);
306
- text-underline-offset: 3px;
307
- }
308
-
309
- .msg-assistant .msg-text hr {
310
- border: none;
311
- border-top: 1px dotted var(--border);
312
- }
313
-
314
- .msg-assistant .msg-text code {
315
- background: #ece4d0;
316
- color: #6b3a1f;
317
- border-radius: 2px;
318
- padding: 1px 5px;
319
- }
320
-
321
- /* ---- 5. 工具调用 = 笺纸凹版卡片(与代码块同色,点线引导符填空) ---- */
322
- .toolcall {
323
- margin: 6px 0 !important;
324
- border: 1px solid var(--border-soft) !important;
325
- border-radius: 4px !important;
326
- background: var(--code-bg) !important;
327
- box-shadow: inset 0 1px 2px rgba(38, 34, 24, 0.04) !important;
328
- overflow: hidden !important;
329
- }
330
-
331
- .toolcall-head {
332
- display: flex;
333
- align-items: center;
334
- min-height: 28px;
335
- padding: 4px 10px !important;
336
- font-family: var(--mono);
337
- font-size: 12px;
338
- }
339
-
340
- .toolcall-name {
341
- font-family: var(--mono) !important;
342
- font-weight: 500 !important;
343
- font-size: 12px !important;
344
- letter-spacing: 0.02em;
345
- color: var(--text-dim) !important;
346
- }
347
-
348
- /* 点线引导符:账本目录式填空,落在名字与状态之间 */
349
- .toolcall .toolcall-spacer {
350
- border-bottom: 1px dotted #c9bfa8;
351
- height: 0.7em;
352
- margin: 0 10px;
353
- }
354
-
355
- .toolcall-status {
356
- color: var(--text-faint) !important;
357
- }
358
-
359
- .toolcall.run {
360
- border-color: rgba(191, 59, 31, 0.5) !important;
361
- background: var(--code-bg) !important;
362
- }
363
-
364
- .toolcall.run .toolcall-name {
365
- color: var(--accent) !important;
366
- }
367
-
368
- .toolcall.run .toolcall-status {
369
- color: var(--accent) !important;
370
- }
371
-
372
- .toolcall.run .toolcall-head {
373
- background: transparent;
374
- border-left: none;
375
- }
376
-
377
- .toolcall.ok .toolcall-status {
378
- color: var(--green) !important;
379
- }
380
-
381
- .toolcall.err {
382
- border-color: rgba(194, 64, 42, 0.5) !important;
383
- background: var(--red-soft) !important;
384
- }
385
-
386
- .toolcall.err .toolcall-status {
387
- color: var(--red) !important;
388
- }
389
-
390
- .toolcall.err .toolcall-name {
391
- color: var(--red) !important;
392
- }
393
-
394
- /* 展开的参数/输出:并入台账,无框零内边距平面文本(--code-border/--code-pad
395
- 已按全透明主题机制置 transparent/0,连带 .termline 一并生效) */
396
- .toolcall-args pre,
397
- .toolcall-output pre {
398
- background: transparent !important;
399
- border: none !important;
400
- border-radius: 0 !important;
401
- padding: 0 !important;
402
- }
403
-
404
- /* 工具卡体:带淡墨顶部分隔线与舒适内边距 */
405
- .toolcall-body {
406
- border-top: 1px solid var(--border-soft) !important;
407
- padding: 8px 12px !important;
408
- background: transparent !important;
409
- }
410
-
411
- /* 卡内重复的终端图标只剩噪音(卡头已有工具图标),参照全透明主题隐藏 */
412
- .termline-icon {
413
- display: none;
414
- }
415
-
416
- .toolcall-output-label {
417
- margin-top: 6px;
418
- }
419
-
420
- .toolcall-kill {
421
- border-radius: 3px;
422
- }
423
-
424
- /* ---- 6. 思考流 = 笺纸凹版卡片 + 空态高度修复(※ 起手,淡墨小字) ---- */
425
- .thinking {
426
- margin: 6px 0 !important;
427
- border: 1px solid var(--border-soft) !important;
428
- border-radius: 4px !important;
429
- background: var(--code-bg) !important;
430
- box-shadow: inset 0 1px 2px rgba(38, 34, 24, 0.04) !important;
431
- overflow: hidden !important;
432
- }
433
-
434
- .thinking-head {
435
- font-size: 12px;
436
- color: var(--text-faint);
437
- padding: 4px 10px !important;
438
- min-height: 28px;
439
- display: flex;
440
- align-items: center;
441
- }
442
-
443
- .thinking-body {
444
- border-top: 1px solid var(--border-soft) !important;
445
- font-style: normal !important;
446
- font-size: 12.5px !important;
447
- color: var(--text-dim) !important;
448
- background: transparent !important;
449
- position: relative;
450
- padding: 8px 14px 8px 2em !important;
451
- min-height: 2.4em;
452
- line-height: 1.6;
453
- }
454
-
455
- .thinking-body::before {
456
- content: "※";
457
- position: absolute;
458
- left: 8px;
459
- top: 8px;
460
- color: var(--text-faint);
461
- }
462
-
463
- .thinking-body:empty::after {
464
- content: "(无思考文本记录)";
465
- color: var(--text-faint);
466
- font-style: italic;
467
- }
468
-
469
- .thinking-live {
470
- border-color: rgba(191, 59, 31, 0.5) !important;
471
- background: var(--code-bg) !important;
472
- }
473
-
474
- .thinking-live .thinking-toggle,
475
- .thinking-live-label {
476
- color: var(--accent) !important;
477
- }
478
-
479
- /* ---- 7. 折叠摘要行 / 排队提示:并入台账体系 ---- */
480
- .msg-collapsed {
481
- background: transparent !important;
482
- border: none !important;
483
- border-bottom: 1px dotted var(--border-soft) !important;
484
- border-radius: 0 !important;
485
- box-shadow: none !important;
486
- padding-left: 0 !important;
487
- padding-right: 0 !important;
488
- }
489
-
490
- .msg-collapsed-action::before {
491
- margin-left: 0 !important;
492
- }
493
-
494
- .msg-error {
495
- background: var(--red-soft) !important;
496
- border: none !important;
497
- border-left: 3px solid var(--red) !important;
498
- border-radius: 0 !important;
499
- font-family: var(--serif);
500
- }
501
-
502
- /* ---- 8. 输入区 = 命令栏:与其他主题同构——只动颜色不动几何,
503
- 朱笔以 inset 阴影画在边框内侧,外缘与消息列/chips 恒对齐 ---- */
504
- .inputbar {
505
- background: transparent !important;
506
- }
507
-
508
- .inputbox {
509
- background: var(--inputbox-bg) !important;
510
- border: none !important;
511
- border-radius: 3px !important;
512
- box-shadow: inset 3px 0 0 0 rgba(191, 59, 31, 0.35) !important;
513
- transition:
514
- border-color 0.2s ease,
515
- box-shadow 0.2s ease !important;
516
- }
517
-
518
- .inputbox:focus-within {
519
- border: none !important;
520
- box-shadow: inset 3px 0 0 0 var(--accent) !important;
521
- }
522
-
523
- .btn.send {
524
- background: var(--send-blue) !important;
525
- color: #f6f2e9 !important;
526
- border-radius: 50% !important;
527
- box-shadow: none !important;
528
- font-weight: 600;
529
- }
530
-
531
- .btn.send:hover {
532
- background: var(--send-blue-hover) !important;
533
- }
534
-
535
- .btn.stop {
536
- background: var(--stop-red) !important;
537
- color: #f6f2e9 !important;
538
- border-radius: 50% !important;
539
- }
540
-
541
- /* 输入框底部模型选择、思考强度、预设等按钮:去边框、透明底,hover 现 hairline */
542
- .composer-tools {
543
- border-top: none !important;
544
- }
545
-
546
- .composer-tools .chip,
547
- .composer-tools .capsule-segment {
548
- font-size: 13px !important;
549
- padding: 4px 10px !important;
550
- gap: 6px !important;
551
- background: transparent !important;
552
- border: 1px solid transparent !important;
553
- box-shadow: none !important;
554
- border-radius: 3px !important;
555
- transition:
556
- border-color 0.15s ease,
557
- background 0.15s ease !important;
558
- }
559
-
560
- .composer-tools .model-thinking-capsule {
561
- background: transparent !important;
562
- border: none !important;
563
- box-shadow: none !important;
564
- padding: 0 !important;
565
- }
566
-
567
- .composer-tools .model-thinking-capsule .capsule-divider {
568
- display: none !important;
569
- }
570
-
571
- .composer-tools .chip:hover,
572
- .composer-tools .capsule-segment:hover {
573
- border-color: var(--border) !important;
574
- background: transparent !important;
575
- }
576
-
577
- .composer-tools-left {
578
- gap: 6px !important;
579
- }
580
-
581
- .composer-tools .chip-model,
582
- .composer-tools .chip-sub,
583
- .composer-tools .capsule-model-name,
584
- .composer-tools .capsule-thinking-text {
585
- font-size: 12.5px !important;
586
- }
587
-
588
- /* ---- 9. 底栏 / 状态栏:hairline 收边 ---- */
589
- .statusbar {
590
- background: var(--statusbar-bg) !important;
591
- border-top: 1px solid var(--border-soft) !important;
592
- box-shadow: none !important;
593
- }
594
-
595
- .goalbar {
596
- background: transparent !important;
597
- border-top: 1px solid var(--border-soft) !important;
598
- box-shadow: none !important;
599
- }
600
-
601
- /* ---- 10. 左右面板:素纸文件栏 ----
602
- * 激活态不做红洗(accent-soft 洗在纸上是一块脏粉),改为中性墨面 5% +
603
- * 左缘 2px 朱标;圆角统一 8px。 */
604
- .panel {
605
- background: var(--panel-bg) !important;
606
- border-color: var(--border-soft) !important;
607
- }
608
-
609
- .session-item,
610
- .project-item,
611
- .file-item,
612
- .scm-file {
613
- border-radius: 8px;
614
- }
615
-
616
- .session-item.active,
617
- .project-item.active {
618
- background: rgba(38, 34, 24, 0.05);
619
- border: none;
620
- box-shadow: inset 2px 0 0 var(--accent);
621
- }
622
-
623
- .session-item.active {
624
- padding: 8px 10px;
625
- }
626
-
627
- .project-item.active {
628
- padding: 7px 10px;
629
- }
630
-
631
- /* ---- 11. 代码块与终端:纸凹版 + 暖墨终端 ---- */
632
- .codeblock {
633
- background: var(--code-bg) !important;
634
- border: 1px solid var(--border-soft) !important;
635
- border-radius: 3px !important;
636
- box-shadow: none !important;
637
- }
638
-
639
- .codeblock pre,
640
- .msg-text pre {
641
- background: var(--code-bg) !important;
642
- color: var(--code-text) !important;
643
- }
644
-
645
- /* ---- 11b. 语法高亮适配纸面(全局捆绑的是 github-dark,必须整套覆盖)---- */
646
- .hljs {
647
- color: #33301f;
648
- background: transparent !important;
649
- }
650
-
651
- .hljs-comment,
652
- .hljs-quote {
653
- color: #948b78;
654
- }
655
-
656
- .hljs-keyword,
657
- .hljs-selector-tag,
658
- .hljs-doctag,
659
- .hljs-formula {
660
- color: #a03618;
661
- }
662
-
663
- .hljs-string,
664
- .hljs-regexp {
665
- color: #3f6c4f;
666
- }
667
-
668
- .hljs-number,
669
- .hljs-literal {
670
- color: #8a5c1e;
671
- }
672
-
673
- .hljs-title,
674
- .hljs-title.function_,
675
- .hljs-section {
676
- color: #6b3fa0;
677
- }
678
-
679
- .hljs-attr,
680
- .hljs-attribute,
681
- .hljs-variable,
682
- .hljs-template-variable,
683
- .hljs-type,
684
- .hljs-name {
685
- color: #8a4a2e;
686
- }
687
-
688
- .hljs-built_in {
689
- color: #2f5f8a;
690
- }
691
-
692
- .hljs-deletion {
693
- color: #7a2718;
694
- background: rgba(194, 64, 42, 0.12);
695
- }
696
-
697
- .hljs-addition {
698
- color: #2f6b4f;
699
- background: rgba(61, 122, 85, 0.14);
700
- }
701
-
702
- /* ---- 12. 弹层与菜单:纸面实底 + hairline,方角家族 ---- */
703
- .modal,
704
- .tool-info-modal,
705
- .settings-modal,
706
- .model-modal,
707
- .tpl-modal,
708
- .dd-menu,
709
- .dialog-inline {
710
- border-radius: 4px !important;
711
- border: 1px solid var(--border) !important;
712
- box-shadow:
713
- 0 1px 2px rgba(38, 34, 24, 0.06),
714
- 0 16px 40px -12px rgba(38, 34, 24, 0.25) !important;
715
- }
716
-
717
- .dd-menu {
718
- background: var(--menu-bg) !important;
719
- border: 1px solid var(--border) !important;
720
- border-radius: 4px !important;
721
- box-shadow: 0 12px 32px -8px rgba(38, 34, 24, 0.28) !important;
722
- }
723
-
724
- .dd-item:hover,
725
- .dd-all-item:hover {
726
- background: var(--accent-soft) !important;
727
- }
728
-
729
- /* ---- 13. chips / 徽标:账目标签体 ---- */
730
- .chip {
731
- background: var(--chip-bg) !important;
732
- border: 1px solid var(--border-soft) !important;
733
- border-radius: 2px !important;
734
- box-shadow: none !important;
735
- font-family: var(--mono);
736
- font-size: 11px;
737
- }
738
-
739
- /* ---- 14. 滚动条:细墨线 ---- */
740
- ::-webkit-scrollbar {
741
- width: 6px;
742
- height: 6px;
743
- }
744
-
745
- ::-webkit-scrollbar-track {
746
- background: transparent;
747
- }
748
-
749
- ::-webkit-scrollbar-thumb {
750
- background: var(--scroll-thumb);
751
- border-radius: 0;
752
- }
753
-
754
- ::-webkit-scrollbar-thumb:hover {
755
- background: var(--scroll-thumb-hover);
756
- }
757
-
758
- /* ---- 15. 通知条:hairline 左线式 ---- */
759
- .notice-err,
760
- .notice-warn,
761
- .notice-info {
762
- border-radius: 0 !important;
763
- border-width: 1px !important;
764
- border-left-width: 3px !important;
765
- }
114
+ @import "./bases/zhujian-base.css";