-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy paththeme.css
More file actions
3658 lines (3253 loc) · 119 KB
/
Copy paththeme.css
File metadata and controls
3658 lines (3253 loc) · 119 KB
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
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* @settings
name: Composer Theme
id: obsidian-composer-theme
settings:
- id: learn-about-components-plugin
title: About Components
title.zh: 关于 Components
description: "[https://cp.cc1234.cc/](https://cp.cc1234.cc/)"
type: info-text
markdown: true
- id: theme-variant-light
title: Color Scheme
title.zh: 亮色主题配色方案
description: Choose a color scheme for the theme
description.zh: 为亮色主题选择一个预设的配色方案
type: class-select
allowEmpty: false
default: composer--XiaScheme-light
options:
- label: Sù 素
value: composer--SuScheme-light
- label: Ní 霓
value: composer--NiScheme-light
- label: Xiá 霞
value: composer--XiaScheme-light
- label: Qīng 青
value: composer--QingScheme-light
- id: theme-variant-dark
title: Color Scheme
title.zh: 暗色主题配色方案
description: Choose a color scheme for the theme
description.zh: 为暗色主题选择一个预设的配色方案
type: class-select
allowEmpty: false
default: composer--XiaScheme-dark
options:
- label: Sù 素
value: composer--SuScheme-dark
- label: Ní 霓
value: composer--NiScheme-dark
- label: Xiá 霞
value: composer--XiaScheme-dark
- label: Qīng 青
value: composer--QingScheme-dark
- id: typograph-settings
title: Typograph Settings
title.zh: 排版设置
type: heading
level: 2
collapsed: true
- id: file-line-width
title: Content Area width
title.zh: 内容区域宽度
description: The maximum line width
description.zh: 最大行宽
type: variable-number-slider
default: 700
min: 420
max: 1200
format: px
step: 1
- id: callout-setting
title: Callout
title.zh: Callout
type: heading
level: 3
collapsed: true
- id: callout-style
title: Callout Style
title.zh: Callout 样式
description: Choose prefered Callout style
description.zh: 选择喜欢的 Callout 风格
type: class-select
allowEmpty: false
default: composer--DefaultCalloutStyle
options:
- label: Default 默认
value: composer--DefaultCalloutStyle
- label: Subtle Grid 渐隐网格
value: composer--SubtleGridCallout
- label: Clean Line 简洁线条
value: composer--CleanLineCallout
- label: Github Style
value: composer--GithubCallout
- label: Window Panel 窗格
value: composer--WindowPanelCallout
- id: table-setting
title: Table
title.zh: 表格
type: heading
level: 3
collapsed: true
- id: table-style
title: Table Style
title.zh: 表格样式
description: Choose prefered table style
description.zh: 选择表格的样式
type: class-select
allowEmpty: false
default: composer--DefaultTableStyle
options:
- label: Default 默认
value: composer--DefaultTableStyle
- label: Obsidian
value: composer--ObsidianTableStyle
- label: Borderless 无边框
value: composer--BorderlessTableStyle
- label: Three Line(Academic) 三线表(学术)
value: composer--AcademicTableStyle
- id: composer--HideStripedTableBackground
title: Hide Striped Background
title.zh: 关闭斑马纹背景
type: class-toggle
- id: typograph-paragraph
title: Paragraph
title.zh: 段落
type: heading
level: 3
collapsed: true
- id: composer--ParagraphIndent
title: Paragraph Indent
title.zh: 段落首行缩进
description: indent the first line of a paragraph
description.zh: 段落首行自动缩进 2 个字符
type: class-toggle
- id: paragraph-line-height
title: Paragraph Line Height
title.zh: 段落行高
description: Set the line height of the paragraph
description.zh: 设置段落的行高
type: variable-number
default: 1.7
min: 1.2
max: 2.5
- id: paragraph-letter-spacing
title: Paragraph Letter Spacing
title.zh: 段落字间距
description: Set the letter spacing of the paragraph, you should specify the unit em or px
description.zh: 设置段落的字间距,需要指定单位 em 或 px
type: variable-text
default: 0.035em
- id: paragraph-word-spacing
title: Paragraph Word Spacing
title.zh: 段落词间距
description: Set the word spacing of the paragraph, you should specify the unit em or px
description.zh: 设置段落的词间距,需要指定单位 em 或 px
type: variable-text
default: 0.035em
- id: typograph-list
title: List
title.zh: 列表
type: heading
level: 3
collapsed: true
- id: list-marker-color-ul
title: Unordered List Marker Color
title.zh: 无序列表符号颜色
description: Color of the bullets of unordered lists and task lists
description.zh: 无序列表和任务列表符号的颜色
type: variable-themed-color
format: hex
default-light: "#8a7e76"
default-dark: "#5a616a"
- id: list-marker-color-ol
title: Ordered List Marker Color
title.zh: 有序列表序号颜色
description: Color of the numbers of ordered lists
description.zh: 有序列表序号的颜色
type: variable-themed-color
format: hex
default-light: "#8a7e76"
default-dark: "#5a616a"
- id: bold-style-setting
title: Bold
title.zh: 加粗
type: heading
level: 3
collapsed: true
- id: bold-color
title: Bold Color
title.zh: 加粗颜色
type: variable-themed-color
format: hex
default-light: "#2d3748"
default-dark: "#f0f4f8"
- id: bold-modifier
title: Bold Weight
title.zh: 加粗粗细
type: variable-number
default: 200
- id: italic-style-setting
title: Italic
title.zh: 斜体
type: heading
level: 3
collapsed: true
- id: italic-color
title: Italic Color
title.zh: 斜体颜色
type: variable-themed-color
format: hex
default-light: "#2d3748"
default-dark: "#f0f4f8"
- id: task-setting
title: Task Settings
title.zh: 任务
type: heading
level: 3
collapsed: true
- id: composer--RemoveTaskCompletedDecoration
title: Remove Task Completed Decoration
title.zh: 移除任务完成装饰
description: Remove the strikethrough for completed tasks
description.zh: 移除完成任务的划线
type: class-toggle
- id: inline-code-style-setting
title: Inline Code Style
title.zh: 内联代码
type: heading
level: 3
collapsed: true
- id: inline-code-normal
title: Inline Code Text Color
title.zh: 内联代码文本色
type: variable-themed-color
format: hex
default-light: "#eb5757"
default-dark: "#ff7b72"
- id: inline-code-background
title: Inline Code Background Color
title.zh: 内联代码背景色
type: variable-themed-color
format: hsl
default-light: "hsla(31, 41%, 90%, 0.6)"
default-dark: "hsla(204, 15%, 25%, 0.4)"
- id: typograph-heading-decoration-setting
title: Heading Decoration
title.zh: 标题装饰
type: heading
level: 3
collapsed: true
- id: composer--DisableHeadingLineEditingHighlight
title: Disable Heading Line Editing Highlight
title.zh: 禁用标题行编辑时高亮
description: Disable line highlight when editing heading
description.zh: 编辑标题时是否高亮所在行
type: class-toggle
default: false
- id: composer--DisableHeadingDecoration-ReadingView
title: Disable Heading Decoration (Reading View)
title.zh: 禁用标题装饰(阅读模式)
description: Disable decoration before heading (reading view)
description.zh: 禁用标题前方的竖杠装饰(阅读模式)
type: class-toggle
default: false
- id: composer--DisableHeadingDecoration-LivePreview
title: Disable Heading Decoration (Live Preview View)
title.zh: 禁用标题装饰(实时编辑模式)
description: Disable decoration before heading (live preview view)
description.zh: 禁用标题前方的竖杠装饰(实时编辑模式)
type: class-toggle
default: false
- id: typograph-heading-size
title: Heading Font Size (H1-H6)
title.zh: 标题字体大小(H1-H6)
type: heading
level: 3
collapsed: true
- id: h1-size
title: H1 Size
title.zh: 一级标题大小
description: you should specify the unit em or px
description.zh: 需要指定单位 em 或 px
type: variable-text
default: 1.69em
- id: h2-size
title: H2 Size
title.zh: 二级标题大小
description: you should specify the unit em or px
description.zh: 需要指定单位 em 或 px
type: variable-text
default: 1.51em
- id: h3-size
title: H3 Size
title.zh: 三级标题大小
description: you should specify the unit em or px
description.zh: 需要指定单位 em 或 px
type: variable-text
default: 1.35em
- id: h4-size
title: H4 Size
title.zh: 四级标题大小
description: you should specify the unit em or px
description.zh: 需要指定单位 em 或 px
type: variable-text
default: 1.21em
- id: h5-size
title: H5 Size
title.zh: 五级标题大小
description: you should specify the unit em or px
description.zh: 需要指定单位 em 或 px
type: variable-text
default: 1.1em
- id: h6-size
title: H6 Size
title.zh: 六级标题大小
description: you should specify the unit em or px
description.zh: 需要指定单位 em 或 px
type: variable-text
default: 1em
- id: typograph-heading-color-setting
title: Heading Font Color (H1-H6)
title.zh: 标题字体颜色(H1-H6)
type: heading
level: 3
collapsed: true
- id: h1-color
title: H1
type: variable-themed-color
format: hex
default-light: "#2d3748"
default-dark: "#e2e6eb"
- id: h2-color
title: H2
type: variable-themed-color
format: hex
default-light: "#4a556b"
default-dark: "#c5cad4"
- id: h3-color
title: H3
type: variable-themed-color
format: hex
default-light: "#66788d"
default-dark: "#a8aeb9"
- id: h4-color
title: H4
type: variable-themed-color
format: hex
default-light: "#7f8a9b"
default-dark: "#8f96a1"
- id: h5-color
title: H5
type: variable-themed-color
format: hex
default-light: "#9aa5b5"
default-dark: "#787f8a"
- id: h6-color
title: H6
type: variable-themed-color
format: hex
default-light: "#808080"
default-dark: "#666d78"
- id: layout-settings
title: Layout Settings
title.zh: 布局设置
type: heading
level: 2
collapsed: true
- id: composer--DisableNavHeaderAutoHide
title: Disable Nav Header Auto Hide
title.zh: 关闭自动隐藏导航栏
description: Enable this option to disable the auto-hide of the nav header
description.zh: 启用以后,相关视图的导航栏将会常驻(比如文件列表、标签、目录栏的导航栏菜单),不会在失去焦点时自动隐藏
type: class-toggle
- id: composer--DisableFileFolderIcon
title: Disable File Folder Icon
title.zh: 禁用目录列表文件夹图标
type: class-toggle
- id: composer--EnableIndentationGuidLine
title: Enable Indentation Guide Line
title.zh: 启用缩进指导线
description: show indentation guide line for file tree, ordered list, unordered list, and task list
description.zh: 显示文件树、有序列表、无序列表和任务列表的缩进指导线
type: class-toggle
- id: modal-bg-blur
title: Modal Backdrop Blur Intensity
title.zh: 模态框背景模糊强度
type: variable-number-slider
default: 3
min: 0
max: 10
step: 1
format: px
- id: composer--DisableDesktopViewHeaderTitleParent
title: Toggle Desktop View Header Title Parent
title.zh: 桌面端视图标题路径折叠
type: class-toggle
default: true
- id: nav-file-settings
title: Nav File Settings
title.zh: 导航文件
type: heading
level: 3
collapsed: true
- id: composer--EnableFilenameLineFeed
title: Enable Filename Line Feed
title.zh: 启用文件名换行
description: enable line feed for filename
description.zh: 文件名换行显示
type: class-toggle
- id: composer--EnableHiddenFileTag
title: Enable Hidden File Tag
title.zh: 启用隐藏文件标签
description: enable hidden file tag
description.zh: 隐藏文件后缀标签
type: class-toggle
- id: composer--EnableHiddenFileTagHover
title: Enable Hidden File Tag Hover
title.zh: 文件标签悬停显示
description: enable hidden file tag hover
description.zh: 文件后缀标签鼠标悬停显示
type: class-toggle
- id: outline-settings
title: Outline Settings
title.zh: 大纲
type: heading
level: 3
collapsed: true
- id: outline-style
title: Outline Style
title.zh: 大纲样式
description: Choose prefered outline style
description.zh: 选择大纲的样式
type: class-select
allowEmpty: false
default: composer--DefaultOutlineStyle
options:
- label: Default 默认
value: composer--DefaultOutlineStyle
- label: Node 节点
value: composer--NodeOutlineStyle
- id: outline-collapsed-icon-opacity
title: Outline Collapsed Icon Opacity
title.zh: 大纲折叠图标透明度
description: Set the opacity of the collapsed icon
description.zh: 设置折叠图标的透明度
type: variable-number-slider
default: 1
min: 0
max: 1
step: 0.1
- id: color-settings
title: Color Settings
title.zh: 色彩设置
type: heading
level: 2
collapsed: true
- id: color-hue-settings
title: Color Hue Settings(Only for Ní)
title.zh: 色调设置(仅适用于 Ní)
type: heading
level: 3
collapsed: true
- id: light-primary-hue
title: Light Primary Hue (Only for Ní Scheme)
title.zh: 亮色主题主色调(仅适用于 Ní 方案)
type: variable-number-slider
default: 2
min: 0
max: 360
step: 1
- id: light-secondary-hue
title: Light Secondary Hue (Only for Ní Scheme)
title.zh: 亮色主题副色调(仅适用于 Ní 方案)
type: variable-number-slider
default: 330
min: 0
max: 360
step: 1
- id: dark-primary-hue
title: Dark Primary Hue (Only for Ní Scheme)
title.zh: 暗色主题主色调 (仅适用于 Ní 方案)
type: variable-number-slider
default: 282
min: 0
max: 360
step: 1
- id: dark-secondary-hue
title: Dark Secondary Hue (Only for Ní Scheme)
title.zh: 暗色主题副色调 (仅适用于 Ní 方案)
type: variable-number-slider
default: 330
min: 0
max: 360
step: 1
- id: background-colors
title: Background Colors
title.zh: 背景色
type: heading
level: 3
collapsed: true
- id: background-primary
title: Background Primary
title.zh: 主要背景色
type: variable-themed-color
format: hex
default-light: "#fafafa"
default-dark: "#1a1e24"
- id: background-primary-alt
title: Background Primary Alt
title.zh: 主要背景色(备用)
type: variable-themed-color
format: hex
default-light: "#e8eaee"
default-dark: "#252a32"
- id: background-secondary
title: Background Secondary
title.zh: 次要背景色
type: variable-themed-color
format: hex
default-light: "#f1f0ee"
default-dark: "#2d333b"
- id: background-secondary-alt
title: Background Secondary Alt
title.zh: 次要背景色(备用)
type: variable-themed-color
format: hex
default-light: "#dddfe3"
default-dark: "#373e48"
- id: rainbow-tree-settings
title: Rainbow Tree Settings
title.zh: 彩虹目录
type: heading
level: 3
collapsed: true
- id: composer--DisableRainbowTree
title: Disable Rainbow Tree
title.zh: 禁用彩虹目录
description: disable rainbow tree for file explorer
description.zh: 为文件资源管理器禁用彩虹目录
type: class-toggle
- id: folder-bg-opacity-setting
title: Folder Background Opacity
title.zh: 文件夹背景不透明度
description: Set the background opacity of the folder
description.zh: 设置文件夹的背景不透明度
type: variable-number
default: 0.08
min: 0
max: 1
- id: folder-text-opacity-setting
title: Folder Text Opacity
title.zh: 文件夹文本不透明度
description: Set the text opacity of the folder
description.zh: 设置文件夹的文本不透明度
type: variable-number
default: 0.85
min: 0
max: 1
- id: folder-hover-opacity-setting
title: Folder Hover Opacity
title.zh: 文件夹悬停不透明度
description: Set the hover opacity of the folder
description.zh: 设置文件夹的悬停不透明度
type: variable-number
default: 0.12
min: 0
max: 1
- id: folder-sub-bg-opacity-setting
title: Folder Sub Background Opacity
title.zh: 子文件夹背景不透明度
description: Set the background opacity of the sub-folder
description.zh: 设置子文件夹的背景不透明度
type: variable-number
default: 0.04
min: 0
max: 1
- id: folder-sub-text-opacity-setting
title: Folder Sub Text Opacity
title.zh: 子文件夹文本不透明度
description: Set the text opacity of the sub-folder
description.zh: 设置子文件夹的文本不透明度
type: variable-number
default: 0.7
min: 0
max: 1
- id: plugin-components
title: Components Plugin
title.zh: Components 插件
type: heading
level: 2
collapsed: true
- id: dynamic-dataview-component
title: Dynamic Dataview
title.zh: 数据视图
type: heading
level: 3
collapsed: true
- id: composer--ComponentsSimpleTag
title: Simple Tag Style
title.zh: 简单标签样式
description: switch to simple tag style to select / multi-select / group-name...
description.zh: 改变数据视图中单选、多选项的样式
type: class-toggle
- id: composer--ComponentsFilledGallaryCover
title: Notion Style Gallary Cover
title.zh: Notion 风格的封面
description: remove Gallary dynamic data view's cover padding
description.zh: 移除动态数据视图中的封面内边距
type: class-toggle
- id: count-component
title: Count Component
title.zh: 统计数字组件
type: heading
level: 3
collapsed: true
- id: components--count-component-value-font-size
title: Value Font Size
title.zh: 数值字体大小
type: variable-number
default: 1.6
format: rem
- id: quote-component
title: Quote Component
title.zh: 摘录组件
type: heading
level: 3
collapsed: true
- id: components-quote-title-font-size
title: Title Font Size
title.zh: 标题字体大小
description: "rem"
type: variable-number
default: 1
format: rem
- id: components-quote-content-font-size
title: Content Font Size
title.zh: 内容字体大小
description: "rem"
type: variable-number
default: 0.875
format: rem
- id: card-component
title: Card Component
title.zh: 卡片组件
type: heading
level: 3
collapsed: true
- id: components--card-component-title-icon-size
title: Title Icon Size
title.zh: 标题图标大小
description: "rem"
type: variable-number
default: 1
format: rem
- id: components--card-component-title-font-size
title: Title Font Size
title.zh: 标题字体大小
description: "rem"
type: variable-number
default: 1
format: rem
- id: components--card-component-description-font-size
title: Content Font Size
title.zh: 描述字体大小
description: "rem"
type: variable-number
default: 0.8125
format: rem
*/
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-thumb {
background-color: transparent;
border-radius: var(--size-4-1);
}
::-webkit-scrollbar-thumb {
background-color: transparent;
}
:hover::-webkit-scrollbar-thumb {
background-color: var(--background-modifier-hover);
}
body {
--inline-title-weight: 500;
--inline-title-size: 1.6rem;
--inline-title-color: var(--text-normal);
--header-height: 36px;
--modal-bg-blur: 3px;
--metadata-input-font-size: 14px;
--file-margins: 24px;
/* font-size */
--h1-size: 1.69em;
--h2-size: 1.51em;
--h3-size: 1.35em;
--h4-size: 1.21em;
--h5-size: 1.1em;
--h6-size: 1em;
--heading-spacing: calc(var(--p-spacing) * 1.8);
--link-decoration: none;
--link-decoration-hover: none;
--link-external-decoration: underline;
--link-external-decoration-hover: underline;
--indentation-guide-color: transparent;
/* callout */
--callout-color: transparent;
--callout-radius: 8px;
/* Typography */
--paragraph-letter-spacing: 0.035em;
--paragraph-line-height: 1.7;
--paragraph-word-spacing: 0.035em;
--line-height-normal: var(--paragraph-line-height);
/* list */
--list-spacing: 0.225em;
/*
* List marker color tokens. Obsidian paints every list marker (reading
* view ::marker / .list-bullet:after, live preview .cm-formatting-list)
* with the single native var --list-marker-color, so route it through
* per-type tokens. Defaults keep the native look and follow each color
* scheme; exposing more states (hover / collapsed) later only needs a
* matching Style Settings entry.
*/
--list-marker-color: var(--list-marker-color-ul);
--list-marker-color-ul: var(--text-faint);
--list-marker-color-ol: var(--text-faint);
--list-marker-color-hover: var(--text-muted);
--list-marker-color-collapsed: var(--text-accent);
/* embed */
--embed-border-start: 2px solid #cbd5e0;
/* suggestion */
--suggesttion-highlight-color: var(--code-normal);
--ribbon-padding: 0px;
--ribbon-background: transparent;
--titlebar-background: transparent;
--titlebar-background-focused: transparent;
--tab-container-background: transparent;
--tab-background-active: var(--background-modifier-hover);
--tab-text-color-active: var(--text-normal);
--tab-text-color-focused-active-current: var(--text-normal);
--tab-text-color-focused-active: var(--text-normal);
--tab-text-color-focused: var(--text-faint);
--tab-radius: var(--radius-s);
/* tag */
--tag-radius: 2em;
--tag-padding-y: 0.2em;
--tag-border-width: 1px;
--tag-size: 0.8em;
--background-modifier-form-field: hsl(
var(--accent-h),
var(--accent-s),
var(--accent-l),
0.1
);
--background-modifier-message: var(--background-secondary);
--ribbon-background-collapsed: transparent;
--heading-indicator-spacing: 6px;
--workspace-header-background: transparent;
--ribbon-background-collapsed: transparent;
--mod-left-ribbon-background: transparent;
--mod-left-ribbon-background-collapsed: transparent;
--mod-root-background: transparent;
--mod-root-border: 0px 1px 0px 1px solid var(--background-modifier-border);
--mod-root-header-background: transparent;
--mod-root-header-margin: 0px 0px 4px 0px;
--mod-left-split-background: transparent;
--mod-right-split-background: transparent;
--root-workspace-padding-bottom: 28px;
--root-workspace-radius: var(--radius-m);
--root-workspace-shadow: var(--background-modifier-border) 0px 0px 3px 0px,
var(--background-modifier-border) 0px 1px 2px 0px;
--root-workspace-background: transparent;
--root-workspace-margin-spacing: 16px;
--side-dock-actions-border-color: var(--background-modifier-border);
--side-dock-actions-shadow: var(--background-modifier-border) 0px 1px 2px
0px,
var(--background-modifier-border) 0px 0px 0px 1px;
/* outline */
--outline-collapsed-icon-opacity: 1;
}
body.is-phone {
--vault-profile-order: 0;
--nav-item-parent-padding: var(--size-4-2) var(--size-4-2) var(--size-4-2) var(--size-4-8);
}
/* ordered lists: re-scope the native marker var per list type; a custom
property declared on the element itself wins over the inherited value */
ol,
.cm-formatting-list-ol {
--list-marker-color: var(--list-marker-color-ol);
}
/* body {
--ribbon-background-collapsed: transparent;
--mod-left-ribbon-background: transparent;
--mod-left-ribbon-background-collapsed: var(--background-primary);
--mod-root-header-background: var(--background-primary);
--mod-root-header-margin: 0px;
--root-workspace-padding-bottom: 0px;
--root-workspace-radius: 0px;
--root-workspace-shadow: none;
--root-workspace-margin-spacing: 0px;
--side-dock-actions-border-color: transparent;
} */
/* ---- Xia ---- */
.theme-light {
--accent-h: 12;
--accent-s: 31%;
--accent-l: 60%;
--background-primary: rgb(243, 237, 233);
--background-primary-alt: rgb(238, 230, 225);
--background-secondary: rgb(232, 223, 217);
--background-secondary-alt: rgb(225, 215, 208);
--background-gradient: linear-gradient(
rgb(217, 224, 227),
rgb(235, 215, 210)
);
--background-modifier-border: hsla(25, 20%, 70%, 0.4);
/* text */
--color-base-00: #f8f4f0;
--color-base-05: #f3ece6;
--color-base-10: #eee6df;
--color-base-20: #e6dcd3;
--color-base-25: #d8ccc2;
--color-base-30: #c8b9af;
--color-base-35: #b6a79d;
--color-base-40: #a3958c;
--color-base-50: #8a7e76;
--color-base-60: #6b625b;
--color-base-70: #554d47;
--color-base-100: #3a3330;
--bold-color: #2d3748;
--bold-modifier: 200;
/* title */
--h1-color: #2d3748;
--h2-color: #4a556b;
--h3-color: #66788d;
--h4-color: #7f8a9b;
--h5-color: #9aa5b5;
--h6-color: #808080;
--h1-indicator-color: var(--h1-color);
--h2-indicator-color: var(--h2-color);
--h3-indicator-color: var(--h3-color);
--h4-indicator-color: var(--h4-color);
--h5-indicator-color: var(--h5-color);
--h6-indicator-color: var(--h6-color);
/* inline code */
--code-normal: #eb5757;
--code-border-color: transparent;
--inline-code-normal: #eb5757;
--inline-code-background: hsla(31, 41%, 90%, 0.6);
/* quote */
--blockquote-border-color: hsl(25, 20%, 70%);
--blockquote-background-color: rgba(237, 228, 222, 0.811);
--blockquote-color: hsl(25, 20%, 30%);
/* codeblock */
--codeblock-background: rgba(234, 223, 215, 0.749);
--codeblock-caret-color: hsl(25, 20%, 30%);
--codeblock-border-radius: 8px;
/* text highlight */
--text-highlight-background: rgba(248, 227, 217, 0.9);
--text-highlight-border-color: rgb(167, 98, 64);
--text-highlight-color: rgb(102, 80, 63);
--text-highlight-border-radius: 4px;
/* basic color */
--color-red-rgb: 174, 62, 76;
--color-blue-rgb: 74, 85, 107;
--color-purple-rgb: 94, 72, 146;
--color-cyan-rgb: 52, 136, 152;
--color-blue-rgb: 95, 164, 218;
--color-orange-rgb: 184, 110, 51;
--color-green-rgb: 62, 132, 98;
--color-yellow-rgb: 191, 143, 63;
--color-pink-rgb: 184, 92, 132;
/* callout */
--callout-bug: rgb(var(--color-red-rgb));
--callout-default: rgb(var(--color-blue-rgb));
--callout-error: rgb(158, 48, 57);
--callout-example: rgb(var(--color-purple-rgb));
--callout-fail: rgb(var(--color-red-rgb));
--callout-important: rgb(var(--color-cyan-rgb));
--callout-info: rgb(var(--color-blue-rgb));
--callout-question: rgb(var(--color-orange-rgb));
--callout-success: rgb(var(--color-green-rgb));
--callout-summary: rgb(var(--color-cyan-rgb));
--callout-tip: rgb(var(--color-cyan-rgb));
--callout-todo: rgb(var(--color-blue-rgb));
--callout-warning: rgb(191, 127, 63);
--callout-quote: rgb(158, 158, 158);
/* customize */
--nav-button-container-bg: rgba(31, 34, 37, 0.03);
--header-active-bg: rgba(31, 34, 37, 0.03);
}
.theme-dark {
--accent-h: 30;
--accent-s: 40%;
--accent-l: 65%;
--background-primary: hsl(215, 22%, 15%);
--background-primary-alt: hsl(215, 18%, 19%);
--background-secondary: hsl(225, 15%, 20%);
--background-secondary-alt: hsl(235, 15%, 28%);
--background-gradient: linear-gradient(
155deg,
var(--background-primary) 0%,
rgb(38, 45, 54),
rgb(67, 63, 80)
);
--background-modifier-border: rgb(69, 74, 84);
--color-base-00: #181c22;
--color-base-05: #1d2128;
--color-base-10: #22262e;
--color-base-20: #282d35;
--color-base-25: #2f343d;
--color-base-30: #373c46;
--color-base-35: #404650;
--color-base-40: #4a5059;
--color-base-50: #5a616a; /* --text-faint */
--color-base-60: #6c737b;
--color-base-70: #8d949d; /* 提升明度+12% */
--color-base-100: #e3e7eb;
/* bold */
--bold-color: #f0f4f8;
--bold-modifier: 200;
/* title */
--h1-color: #e2e6eb;
--h2-color: #c5cad4;
--h3-color: #a8aeb9;
--h4-color: #8f96a1;
--h5-color: #787f8a;
--h6-color: #666d78;
--h1-indicator-color: var(--h1-color);
--h2-indicator-color: var(--h2-color);
--h3-indicator-color: var(--h3-color);
--h4-indicator-color: var(--h4-color);
--h5-indicator-color: var(--h5-color);
--h6-indicator-color: var(--h6-color);
/* quote */
--blockquote-border-color: #67594c;
--blockquote-background-color: rgba(42, 49, 60, 0.6);
--blockquote-color: rgb(207, 197, 175);
/* codeblock*/
--codeblock-background: rgba(37, 44, 55, 0.85);
--codeblock-caret-color: rgb(201, 166, 130);
--codeblock-border-radius: 8px;
--codeblock-border: #e5e7eb;
/* text highlight */
--text-highlight-background: hsla(38, 27%, 54%, 0.5);
--text-highlight-border-color: hsl(31, 48%, 66%);
--text-highlight-color: hsl(40, 20%, 90%);
/* inline code */
--code-normal: #ff7b72;
--code-border-color: transparent;
--inline-code-normal: #ff7b72;
--inline-code-background: hsla(204, 15%, 25%, 0.4);
/* basic color */
--color-red-rgb: 255, 123, 114;
--color-blue-rgb: 123, 175, 222;
--color-purple-rgb: 182, 155, 255;
--color-cyan-rgb: 123, 204, 214;