-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy paththeme.scss
485 lines (423 loc) · 21.3 KB
/
theme.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
@import "style/layout"; // 布局
@import "style/dock"; // 侧栏和面板
@import "style/status"; // 底栏
@import "style/editor"; // 编辑器
@import "style/menu"; // 菜单、浮窗、弹窗
@import "style/tooltip"; // 悬浮提示
@import "style/tab-bar"; // 页签
@import "style/search"; // 搜索
@import "style/preview"; // 导出
@import "style/temp"; // 临时修复样式
// NOTE 偶尔需要跟最新版的默认主题文件对比一下,跟进变量的变更
// —————————————————————————— 配色 ——————————————————————————
// 明亮主题
html[data-theme-mode="light"] {
// 自定义、混合
--custom-inline-box-shadow: 0 .1em 0 0;
--custom-theme-on-shadow: 0px 0px 2px var(--custom-theme-on-background_20);
--custom-link-shadow: 0px 0px 2px var(--custom-protyle-inline-link-color_20);
--custom-transition: .2s cubic-bezier(0, 0, .2, 1) 0ms;
--b3-font-background14: rgb(183, 183, 183); // 数据库选项专用
--custom-database-background13: rgb(232, 233, 235); // 在数据库选项里显示为灰色
--custom-color-blue-light: rgba(0, 202, 255, .85);
--custom-list-hover-dark: rgba(50, 50, 50, .15);
--custom-list-hover-darker: rgba(50, 50, 50, .25);
--custom-protyle-kbd-background: var(--custom-theme-surface_65); // 键盘样式背景
--custom-protyle-kbd-border-color: rgb(176, 176, 176, .6); // 键盘样式外框颜色
--custom-protyle-kbd-border-color_30: rgb(176, 176, 176, .3);
--custom-toggle-hover: var(--b3-theme-on-background); // 展开按钮、页签叉号的 hover 颜色
--mix-theme_primary_background: rgb(225, 223, 216); // --b3-theme-primary-lightest rgba(45, 43, 1, .12) & --b3-theme-background rgb(249, 248, 245)
--mix-theme-background_scroll-color: rgb(224, 223, 221); // --b3-theme-background: rgb(249, 248, 245) & --b3-scroll-color: rgba(0, 0, 0, .1)
// 主色
--b3-theme-primary: rgb(126, 121, 0); // 主题色。各种按钮
--b3-theme-primary-light: rgba(165, 157, 51, .54);
--b3-theme-primary-lighter: rgba(165, 157, 51, .38); // 选中文本的颜色。与白色混合为 rgb(221, 218, 177) ,与 --b3-theme-background rgb(249, 248, 245) 混合后为 rgb(217, 213, 171)
--b3-theme-primary-lightest: rgba(45, 43, 1, .12); // 选中块后的高亮。
--b3-theme-secondary: rgb(255, 197, 100);
--b3-theme-background: #f9f8f5;//即rgb(249, 248, 245);// 编辑器。必须是十六进制,否则移动端状态栏会变成黑色
--b3-theme-background-light: rgb(237, 227, 225); // 侧栏按钮。--b3-theme-surface 与 --b3-list-hover 混合
--b3-theme-surface: rgb(249, 238, 237); // 侧栏面板。
--custom-theme-surface_65: rgb(249, 238, 237, .65);
--b3-theme-surface-light: rgba(249, 238, 237, .86);
--b3-theme-surface-lighter: rgba(224, 224, 224, .86);
--b3-theme-error: #d23f31;
--b3-theme-success: #65b84d;
// 文字颜色(与默认主题一致)
--b3-theme-on-primary: #fff;
--b3-theme-on-secondary: #fff;
--b3-theme-on-background: rgb(34, 34, 34); // 文本默认颜色
--custom-theme-on-background_20: rgba(34, 34, 34, .2);
--custom-theme-on-background_85: rgba(34, 34, 34, .85);
--b3-theme-on-surface: #5f6368;
--b3-theme-on-surface-light: rgba(95, 99, 104, .68);
--custom-theme-on-surface-light_30: rgba(95, 99, 104, .3);
--b3-theme-on-error: #fff;
// 字体(与默认主题一致)
// 顶部工具栏
--b3-toolbar-background: var(--b3-theme-surface);
--b3-toolbar-blur-background: var(--b3-toolbar-background); // 不需要没聚焦的颜色
--b3-toolbar-color: var(--b3-theme-on-surface);
--b3-toolbar-hover: var(--b3-theme-background-light);
--b3-toolbar-left-mac: 69px;
// 线条
--b3-border-color: var(--b3-theme-surface-lighter);
--b3-border-radius: 6px;
--b3-border-radius-s: 3px;
--b3-border-radius-b: 12px;
// 滚动条
--b3-scroll-color: rgba(0, 0, 0, .1); // 原来是 rgba(0, 0, 0, .2)
--custom-scroll-color_15: rgba(0, 0, 0, .15);
--custom-scroll-color_50: rgba(0, 0, 0, .5);
// 列表
--custom-list-hover_100: rgb(51, 49, 44);
--b3-list-hover: rgba(51, 49, 44, 0.06); // 鼠标悬浮在选项上
--b3-list-icon-hover: rgba(51, 49, 44, .1); // 文档树的文档图标
// 菜单(与默认主题一致)
--b3-menu-background: var(--b3-theme-surface);
// 提示(与默认主题一致)
--b3-tooltips-background: #312f35;
--b3-tooltips-color: var(--b3-theme-background-light);
--b3-tooltips-second-color: #7d7c7a;
--b3-tooltips-shadow: 0 2px 8px rgba(0, 0, 0, .1);
// 为空提示(与默认主题一致)
--b3-empty-color: var(--b3-theme-on-surface-light);
// 遮罩(与默认主题一致)
--b3-mask-background: rgba(220, 220, 220, .4);
// 卡片背景
--b3-card-error-color: rgb(121, 6, 0);
--b3-card-error-background: rgb(245, 209, 207);
--b3-card-warning-color: rgb(177, 103, 0);
--b3-card-warning-background: rgb(242, 235, 156);
--b3-card-info-color: rgb(0, 85, 153);
--b3-card-info-background: rgb(214, 234, 249);
--b3-card-success-color: rgb(0, 134, 6);
--b3-card-success-background: rgb(183, 248, 185);
--custom-card-success-background_65: rgba(183, 248, 185, .65);
// 自定义文字
--b3-font-color1: rgb(216, 133, 129); // 浅红
--b3-font-color2: rgb(217, 154, 81); // 浅橙
--b3-font-color3: rgb(255, 216, 78); // 浅黄
--b3-font-color4: rgb(183, 237, 177); // 浅绿
--b3-font-color5: rgb(186, 206, 253); // 浅蓝
--b3-font-color6: rgb(205, 178, 250); // 浅紫
--b3-font-color7: rgb(216, 57, 49); // 红
--b3-font-color8: rgb(222, 120, 2); // 橙
--b3-font-color9: rgb(218, 214, 14); // 黄
--b3-font-color10: rgb(130, 197, 123); // 绿
--b3-font-color11: rgb(118, 115, 232); // 蓝
--b3-font-color12: rgb(126, 103, 167); // 紫
--b3-font-color13: var(--b3-theme-background);
--b3-font-background1: rgb(253, 226, 226); // 浅红
--b3-font-background2: rgb(254, 234, 210); // 浅橙
--b3-font-background3: rgb(255, 255, 204); // 浅黄
--b3-font-background4: rgb(217, 245, 214); // 浅绿
--b3-font-background5: rgb(225, 234, 255); // 浅蓝
--b3-font-background6: rgb(226, 215, 247); // 浅紫
--b3-font-background7: rgb(251, 191, 188); // 红
--b3-font-background8: rgb(254, 212, 164); // 橙
--b3-font-background9: rgb(255, 252, 163); // 黄
--b3-font-background10: rgb(183, 237, 177); // 绿
--b3-font-background11: rgb(186, 206, 253); // 蓝
--b3-font-background12: rgb(205, 178, 250); // 紫
--b3-font-background13: var(--b3-theme-on-background);
// 动画效果(与默认主题一致)
--b3-transition: all .2s cubic-bezier(0, 0, .2, 1) 0ms;
--b3-width-transition: width .2s cubic-bezier(0, 0, .2, 1) 0ms;
--b3-color-transition: color .2s cubic-bezier(0, 0, .2, 1) 0ms;
--b3-background-transition: background 20ms ease-in 0s;
// 高亮(与默认主题一致)
--b3-highlight-color: #222;
--b3-highlight-background: #ffff00;
--b3-highlight-current-background: #ff9632;
// 下拉菜单(与默认主题一致)
--b3-select-background: url("data:image/svg+xml;utf8,<svg fill='rgba(95, 99, 104, .68)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 2px center var(--b3-theme-background);
// switch(与默认主题一致)
--b3-switch-background: #e1e3e1;
--b3-switch-border: var(--b3-theme-on-surface-light);
--b3-switch-hover: rgba(31, 31, 31, 0.06);
--b3-switch-checked: #fff;
--b3-switch-checked-background: var(--b3-theme-primary);
--b3-switch-checked-hover: #d3e3fd;
--b3-switch-checked-hover2: rgba(31, 31, 31, .06);
// 阴影(与默认主题一致)
--b3-point-shadow: 0 0 1px 0 rgba(0, 0, 0, .1), 0 0 2px 0 rgba(0, 0, 0, .2);
--b3-dialog-shadow: 0 8px 24px rgba(0, 0, 0, .2);
--b3-button-shadow: 0 5px 5px -3px rgb(0 0 0 / .2), 0 8px 10px 1px rgb(0 0 0 / .14), 0 3px 14px 2px rgb(0 0 0 / .12);
// 图表颜色
--b3-graph-p-point: #076f7e;
// --b3-graph-heading-point: #8250df;
// --b3-graph-math-point: #80FFA5;
// --b3-graph-code-point: #00DDFF;
// --b3-graph-table-point: #37A2FF;
// --b3-graph-list-point: #FF0087;
--b3-graph-todo-point: #FFBF00;
--b3-graph-olist-point: #b3005f;
// --b3-graph-listitem-point: #f65b00;
// --b3-graph-bq-point: #8d48e3;
// --b3-graph-super-point: #dd79ff;
// --b3-graph-doc-point: #202124;
// --b3-graph-tag-point: #dbf32f;
--b3-graph-asset-point: #05c091;
--b3-graph-line: #5f6368;
// --b3-graph-ref-line: #d23f31;
--b3-graph-tag-line: #5f6b06;
--b3-graph-tag-tag-line: #dbf32f;
--b3-graph-asset-line: #037457;
--b3-graph-hl-point: #f3a92f;
--b3-graph-hl-line: #4285f4;
// 从 Asri 拿的关系图配色
--b3-graph-heading-point: #ef6b9a;
--b3-graph-math-point: #24a5ff;
--b3-graph-code-point: #6a9bff;
--b3-graph-table-point: #0abc71;
--b3-graph-list-point: #82b025;
--b3-graph-listitem-point: #00b89f;
--b3-graph-bq-point: #de8700;
--b3-graph-super-point: #a2a700;
--b3-graph-doc-point: var(--b3-theme-on-background);
--b3-graph-tag-point: #ef7747;
--b3-graph-ref-line: var(--b3-theme-primary-light);
// 代码片段背景(与默认主题一致)
--b3-protyle-code-background: rgba(27, 31, 35, .05); // 代码块背景
// 所见即所得行内元素颜色
--b3-protyle-inline-strong-color: inherit;
--b3-protyle-inline-em-color: inherit;
--b3-protyle-inline-u-color: inherit;
--b3-protyle-inline-s-color: rgb(178, 178, 178); // 原来是 inherit
--custom-protyle-inline-s-color_50: rgba(178, 178, 178, .5);
--b3-protyle-inline-link-color: rgb(66, 133, 244);
--custom-protyle-inline-link-color_20: rgba(66, 133, 244, .2);
--b3-protyle-inline-mark-background: rgba(237, 237, 13, .5); // 原来是 rgb(252, 212, 126)
--b3-protyle-inline-mark-color: inherit; // 原来是 #202124
--b3-protyle-inline-tag-color: var(--b3-card-success-color); // 原来是 #5f636
--b3-protyle-inline-blockref-color: inherit; // 原来是 #8957e5
--b3-protyle-inline-fileref-color: rgb(27, 97, 36); // 原来是 #21862e
// PDF
--b3-pdf-selection: rgb(208, 233, 200);
--sidebar-width: 200px;
--b3-pdf-offset: 0;
--b3-pdf-background1: rgb(246, 109, 95);
--b3-pdf-background2: rgb(245, 130, 46);
--b3-pdf-background3: rgb(250, 202, 90);
--b3-pdf-background4: rgb(124, 200, 104);
--b3-pdf-background5: rgb(248, 136, 167);
--b3-pdf-background6: rgb(105, 176, 242);
--b3-pdf-background7: rgb(200, 133, 218);
--b3-pdf-dark: rgb(33, 34, 36);
// 表格(与默认主题一致)
--b3-table-even-background: rgba(0, 0, 0, .02);
// 嵌入块(与默认主题一致)
--b3-embed-background: transparent;
// 引述块(与默认主题一致)
--b3-bq-background: transparent;
// 父块颜色(与默认主题一致)
--b3-parent-background: var(--b3-theme-background);
}
// 暗黑主题
html[data-theme-mode="dark"] {
// 自定义、混合
--custom-inline-box-shadow: 0 .1em 0 0;
--custom-theme-on-shadow: 0px 0px 2px var(--custom-theme-on-background_50);
--custom-link-shadow: 0px 0px 2px var(--custom-protyle-inline-link-color_50);
--custom-transition: .2s cubic-bezier(0, 0, .2, 1) 0ms;
--b3-font-background14: rgb(131, 131, 131); // 数据库选项专用
--custom-database-background13: rgb(87, 87, 87); // 在数据库选项里显示为灰色
--custom-color-blue-light: rgba(0, 202, 255, .85);
--custom-list-hover-dark: rgba(206, 206, 206, .15);
--custom-list-hover-darker: rgba(206, 206, 206, .25);
--custom-protyle-kbd-background: var(--custom-theme-surface_65); // 键盘样式背景
--custom-protyle-kbd-border-color: rgb(176, 176, 176, .6); // 键盘样式外框颜色
--custom-protyle-kbd-border-color_30: rgb(176, 176, 176, .3);
--custom-toggle-hover: #f5f5f5; // 展开按钮、页签叉号的 hover 颜色
--mix-theme_primary_background: rgb(56, 60, 45); // --b3-theme-primary-lightest rgb(154, 147, 0, .12) & --b3-theme-background rgb(43, 48, 51)
--mix-theme-background_scroll-color: rgb(62, 66, 69); // --b3-theme-background: rgb(43, 48, 51) & --b3-scroll-color: rgba(230, 230, 230, .1)
// 主色
--b3-theme-primary: rgb(152, 146, 0); // 主题色。各种按钮
--b3-theme-primary-light: rgba(165, 157, 51, .54);
--b3-theme-primary-lighter: rgba(165, 157, 51, .38); // 选中文本的颜色。……
--b3-theme-primary-lightest: rgb(154, 147, 0, .12); // 选中块后的高亮。
--b3-theme-secondary: rgb(171, 123, 43);
--b3-theme-background: #2b3033;//即rgb(43, 48, 51); // 编辑器。必须是十六进制,否则移动端状态栏会变成黑色
--b3-theme-background-light: rgb(70, 75, 77); // 侧栏按钮。--b3-theme-surface 与 --b3-list-hover 混合
--b3-theme-surface: rgb(55, 60, 63); // 侧栏面板。
--custom-theme-surface_65: rgb(55, 60, 63, .65);
--b3-theme-surface-light: rgba(41, 42, 45, .86);
--b3-theme-surface-lighter: rgba(230, 230, 230, .12);
--b3-theme-error: #d23f31;
--b3-theme-success: #65b84d;
// 文字颜色(与默认主题一致)
--b3-theme-on-primary: #fff;
--b3-theme-on-secondary: #fff;
--b3-theme-on-background: rgb(218, 218, 218); // 文本默认颜色
--custom-theme-on-background_50: rgba(218, 218, 218, .5);
--custom-theme-on-background_85: rgba(218, 218, 218, .85);
--b3-theme-on-surface: #9aa0a6;
--b3-theme-on-surface-light: rgb(186, 186, 186);
--custom-theme-on-surface-light_30: rgba(186, 186, 186, .3);
--b3-theme-on-error: #fff;
// 字体(与默认主题一致)
// 顶部工具栏
--b3-toolbar-background: var(--b3-theme-surface);
--b3-toolbar-blur-background: var(--b3-toolbar-background); // 不需要没聚焦的颜色
--b3-toolbar-color: var(--b3-theme-on-surface);
--b3-toolbar-hover: var(--b3-theme-background-light);
--b3-toolbar-left-mac: 69px;
// 线条(与默认主题一致)
--b3-border-color: #363636;
--b3-border-radius: 6px;
--b3-border-radius-s: 3px;
--b3-border-radius-b: 12px;
// 滚动条
--b3-scroll-color: rgba(230, 230, 230, .1); // 原来是 rgba(230, 230, 230, .2)
--custom-scroll-color_15: rgba(230, 230, 230, .15);
--custom-scroll-color_50: rgba(230, 230, 230, .5);
// 列表(与默认主题一致)
--custom-list-hover_100: rgb(255, 255, 255);
--b3-list-hover: rgba(255, 255, 255, .075); // 鼠标悬浮在选项上
--b3-list-icon-hover: rgba(201, 209, 217, .1); // 文档树的文档图标
// 菜单(与默认主题一致)
--b3-menu-background: var(--b3-theme-surface);
// 提示(与默认主题一致)
--b3-tooltips-background: #030303;
--b3-tooltips-color: var(--b3-theme-background-light);
--b3-tooltips-second-color: #7d7c7a;
--b3-tooltips-shadow: 0 2px 8px rgba(0, 0, 0, .3);
// 为空提示(与默认主题一致)
--b3-empty-color: var(--b3-theme-on-surface);
// 遮罩(与默认主题一致)
--b3-mask-background: rgba(10, 10, 10, .4);
// 卡片背景
--b3-card-error-color: rgb(243, 153, 147);
--b3-card-error-background: rgb(94, 36, 30);
--b3-card-warning-color: rgb(255, 213, 153);
--b3-card-warning-background: rgb(88, 86, 25);
--b3-card-info-color: rgb(166, 213, 250);
--b3-card-info-background: rgb(44, 73, 107);
--b3-card-success-color: rgb(183, 223, 185);
--b3-card-success-background: rgb(52, 104, 67);
--custom-card-success-background_65: rgba(52, 104, 67, .65);
// 自定义文字(文本色是明亮模式上下互换,背景色浅色比明亮模式低160左右、深色比明亮模式低100左右)
--b3-font-color1: rgb(216, 57, 49); // 红
--b3-font-color2: rgb(222, 120, 2); // 橙
--b3-font-color3: rgb(189, 198, 12); // 黄
--b3-font-color4: rgb(130, 197, 123); // 绿
--b3-font-color5: rgb(149, 150, 249); // 蓝
--b3-font-color6: rgb(192, 78, 234); // 紫
--b3-font-color7: rgb(216, 133, 129); // 浅红
--b3-font-color8: rgb(217, 154, 81); // 浅橙
--b3-font-color9: rgb(255, 216, 78); // 浅黄
--b3-font-color10: rgb(183, 237, 177); // 浅绿
--b3-font-color11: rgb(186, 206, 253); // 浅蓝
--b3-font-color12: rgb(222, 109, 255); // 浅紫
--b3-font-color13: var(--b3-theme-background);
--b3-font-background1: rgb(93, 66, 66); // 浅红
--b3-font-background2: rgb(94, 74, 50); // 浅橙
--b3-font-background3: rgb(95, 95, 44); // 浅黄
--b3-font-background4: rgb(57, 85, 54); // 浅绿
--b3-font-background5: rgb(65, 74, 95); // 浅蓝
--b3-font-background6: rgb(66, 55, 87); // 浅紫
--b3-font-background7: rgb(151, 91, 88); // 红
--b3-font-background8: rgb(154, 112, 64); // 橙
--b3-font-background9: rgb(155, 152, 63); // 黄
--b3-font-background10: rgb(83, 137, 77); // 绿
--b3-font-background11: rgb(86, 106, 153); // 蓝
--b3-font-background12: rgb(105, 78, 150); // 紫
--b3-font-background13: var(--b3-theme-on-background);
// 动画效果(与默认主题一致)
--b3-transition: all .2s cubic-bezier(0, 0, .2, 1) 0ms;
--b3-width-transition: width .2s cubic-bezier(0, 0, .2, 1) 0ms;
--b3-color-transition: color .2s cubic-bezier(0, 0, .2, 1) 0ms;
--b3-background-transition: background 20ms ease-in 0s;
// 高亮(与默认主题一致)
--b3-highlight-color: #222;
--b3-highlight-background: #ffff00;
--b3-highlight-current-background: #ff9632;
// 下拉菜单(与默认主题一致)
--b3-select-background: url("data:image/svg+xml;utf8,<svg fill='rgba(154, 160, 166, .68)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 2px center var(--b3-theme-background);
// switch(与默认主题一致)
--b3-switch-background: #444746;
--b3-switch-border: var(--b3-theme-on-surface-light);
--b3-switch-hover: rgba(253, 252, 251, .10);
--b3-switch-checked: #fff;
--b3-switch-checked-background: var(--b3-theme-primary);
--b3-switch-checked-hover: var(--b3-theme-primary);
--b3-switch-checked-hover2: rgba(253, 252, 251, .10);
// 阴影(与默认主题一致)
--b3-point-shadow: inset 0 .5px .5px .5px rgba(255, 255, 255, .09), 0 3px 6px rgba(0, 0, 0, .04), 0 0 0 0 transparent;
--b3-dialog-shadow: 0 8px 24px #010409;
--b3-button-shadow: 0 5px 5px -3px rgb(0 0 0 / .2), 0 8px 10px 1px rgb(0 0 0 / .14), 0 3px 14px 2px rgb(0 0 0 / .12);
// 图表颜色(目前跟明亮主题是一致的)
--b3-graph-p-point: #076f7e;
// --b3-graph-heading-point: #8250df;
// --b3-graph-math-point: #80FFA5;
// --b3-graph-code-point: #00DDFF;
// --b3-graph-table-point: #37A2FF;
// --b3-graph-list-point: #FF0087;
--b3-graph-todo-point: #FFBF00;
--b3-graph-olist-point: #b3005f;
// --b3-graph-listitem-point: #f65b00;
// --b3-graph-bq-point: #8d48e3;
// --b3-graph-super-point: #dd79ff;
// --b3-graph-doc-point: #202124;
// --b3-graph-tag-point: #dbf32f;
--b3-graph-asset-point: #05c091;
--b3-graph-line: #5f6368;
// --b3-graph-ref-line: #d23f31;
--b3-graph-tag-line: #5f6b06;
--b3-graph-tag-tag-line: #dbf32f;
--b3-graph-asset-line: #037457;
--b3-graph-hl-point: #f3a92f;
--b3-graph-hl-line: #4285f4;
// 从 Asri 拿的关系图配色
--b3-graph-heading-point: #ef6b9a;
--b3-graph-math-point: #24a5ff;
--b3-graph-code-point: #6a9bff;
--b3-graph-table-point: #0abc71;
--b3-graph-list-point: #82b025;
--b3-graph-listitem-point: #00b89f;
--b3-graph-bq-point: #de8700;
--b3-graph-super-point: #a2a700;
--b3-graph-doc-point: var(--b3-theme-on-background);
--b3-graph-tag-point: #ef7747;
--b3-graph-ref-line: var(--b3-theme-primary-light);
// 代码片段背景(与默认主题一致)
--b3-protyle-code-background: rgba(240, 246, 252, .15); // 代码块背景
// 所见即所得行内元素颜色
--b3-protyle-inline-strong-color: inherit;
--b3-protyle-inline-em-color: inherit;
--b3-protyle-inline-u-color: inherit;
--b3-protyle-inline-s-color: rgb(95, 95, 95); // 原来是 inherit
--custom-protyle-inline-s-color_50: rgba(95, 95, 95, .5);
--b3-protyle-inline-link-color: rgb(66, 133, 244);
--custom-protyle-inline-link-color_50: rgba(66, 133, 244, .5);
--b3-protyle-inline-mark-background: rgba(191, 191, 22, .5); // 原来是 #b29100
--b3-protyle-inline-mark-color: inherit; // 原来是 var(--b3-theme-on-background)
--b3-protyle-inline-tag-color: var(--b3-card-success-color); // 原来是 #5f636
--b3-protyle-inline-blockref-color: inherit; // 原来是 #8957e5
--b3-protyle-inline-fileref-color: rgb(158, 218, 158); // 原来是 var(--b3-theme-secondary)
// PDF
// TODO跟进 https://github.com/siyuan-note/siyuan/issues/14065 修改
--b3-pdf-selection: rgb(119, 145, 112);
--sidebar-width: 200px;
--b3-pdf-offset: 0;
--b3-pdf-background1: rgb(183, 14, 3);
--b3-pdf-background2: rgb(214, 101, 19);
--b3-pdf-background3: rgb(158, 178, 67);
--b3-pdf-background4: rgb(0, 137, 5);
--b3-pdf-background5: rgb(178, 95, 118);
--b3-pdf-background6: rgb(11, 106, 195);
--b3-pdf-background7: rgb(154, 70, 177);
--b3-pdf-dark: rgb(33, 34, 36);
// 表格(与默认主题一致)
--b3-table-even-background: rgba(255, 255, 255, .03);
// 嵌入块(与默认主题一致)
--b3-embed-background: transparent;
// 引述块(与默认主题一致)
--b3-bq-background: transparent;
// 父块颜色(与默认主题一致)
--b3-parent-background: var(--b3-theme-background);
}
// —————————————————————————— 全局样式 ——————————————————————————
* {
font-variant-numeric: tabular-nums; // 使用等宽数字
}