generated from obsidian-community/obsidian-theme-template
-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy paththeme.css
More file actions
8703 lines (8385 loc) · 537 KB
/
theme.css
File metadata and controls
8703 lines (8385 loc) · 537 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
/* Maple Theme v1.4.7 For Obsidian */
/* @settings
id: maple-basic
name: Maple Basic
settings:
- id: setting-animation-time
type: variable-number-slider
title: Animation Duration (ms)
title.zh: 动画时长(毫秒)
default: 250
min: 0
max: 1000
step: 50
format: ms
- id: setting-item-line-height
type: variable-number-slider
title: List Item Line Height
title.zh: 列表行高
description: Adjust the line height for items in file explorer, outline panel,
and setting modal sidebar.
description.zh: 调整文件管理器、大纲面板和设置面板侧边栏中行高。
default: 1.5
min: 1
max: 2
step: 0.1
- id: setting-divider-color
type: variable-themed-color
title: Panel Divider Color
title.zh: 面板分割线颜色
format: hsl
opacity: true
default-light: "#"
default-dark: "#"
- id: title-colors
title: Colors
title.zh: 颜色
type: heading
level: 1
collapsed: false
- id: color-dark-dim-disable
type: class-toggle
title: Disable Opacity Reduction in Dark Mode
title.zh: 深色模式下,颜色的不透明度不降低
- id: color-scheme
type: class-select
title: Color Scheme
title.zh: 颜色方案
allow-empty: false
default: color-use-custom
options:
- label: Default
value: color-use-default
- label: Minimal
value: color-use-minimal
- label: Custom
value: color-use-custom
- id: title-light-mode
title: Light Mode
title.zh: 浅色模式
type: heading
level: 2
collapsed: true
- id: setting-accent-h-light
type: variable-number-slider
title: Base Color
title.zh: 基础色
default: 35
min: 0
max: 360
step: 5
- id: color-active-light
type: class-select
title: Highlight Color
title.zh: 高亮色
allow-empty: false
default: color-active-default-light
options:
- label: Theme Color
value: color-active-default-light
- label: Theme Color Alt
value: color-active-alt-light
- label: Custom
value: color-active-custom-light
- id: setting-color-active-custom-light
type: variable-color
title: Custom Highlight Color (Active)
title.zh: 自定义高亮色(激活状态)
default: "#"
format: hsl-split
opacity: false
- id: setting-color-inactive-custom-light
type: variable-color
title: Custom Highlight Color (Inactive)
title.zh: 自定义高亮色(非激活状态)
default: "#"
format: hsl-split
opacity: false
- id: color-modify-bg-light
type: class-toggle
title: Modify Background Colors
title.zh: 修改背景颜色
- id: setting-bg-primary-light-hsl
type: variable-color
title: Primary Background Color
title.zh: 主背景色
description: Background color for main area, e.g. editor, setting panel
description.zh: 主要区域的背景色,例如编辑器和设置面板
default: "#"
format: hsl-values
opacity: false
- id: setting-bg-primary-alt-light-hsl
type: variable-color
title: Block Background Color
title.zh: 块背景色
description: Background color for blocks in main area, e.g. codeblock, blockquote
description.zh: 主要区域内的块的背景色,例如代码块、引言块
default: "#"
format: hsl-values
opacity: false
- id: setting-bg-secondary-light-hsl
type: variable-color
title: Secondary Background Color
title.zh: 次背景色
description: Background color in secondary area, e.g. sidebar
description.zh: 次要区域的背景色,例如侧边栏
default: "#"
format: hsl-values
opacity: false
- id: setting-bg-frame-light
type: variable-color
title: Top Bar Background Color
title.zh: 顶栏背景色
description: Background color in the top area, e.g. titlebar, tab container
description.zh: 顶栏的背景色,例如标题栏、标签栏
default: "#"
format: hsl
opacity: false
- id: title-dark-mode
title: Dark Mode
title.zh: 暗色模式
type: heading
level: 2
collapsed: true
- id: setting-accent-h-dark
type: variable-number-slider
title: Base Color
title.zh: 基础色
default: 207
min: 0
max: 360
step: 5
- id: color-active-dark
type: class-select
title: Highlight Color
title.zh: 高亮色
allow-empty: false
default: color-active-default-dark
options:
- label: Theme Color
value: color-active-default-dark
- label: Theme Color Alt
value: color-active-alt-dark
- label: Custom
value: color-active-custom-dark
- id: setting-bg-delta-dark
type: variable-number-slider
title: Background Brightness
title.zh: 背景亮度
description: Increase the brightness of background color
description.zh: 增加背景色的亮度
default: 0
format: "%"
min: 0
max: 8
step: 0.1
- id: setting-color-active-custom-dark
type: variable-color
title: Custom Highlight Color (Active)
title.zh: 自定义高亮色(激活状态)
default: "#"
format: hsl-split
opacity: false
- id: setting-color-inactive-custom-dark
type: variable-color
title: Custom Highlight Color (Inactive)
title.zh: 自定义高亮色(非激活状态)
default: "#"
format: hsl-split
opacity: false
- id: color-modify-bg-dark
type: class-toggle
title: Modify Background Colors
title.zh: 修改背景颜色
- id: setting-bg-primary-dark-hsl
type: variable-color
title: Primary Background Color
title.zh: 主背景色
description: Background color for main area, e.g. editor, setting panel
description.zh: 主要区域的背景色,例如编辑器和设置面板
default: "#111"
format: hsl-values
opacity: false
- id: setting-bg-primary-alt-dark-hsl
type: variable-color
title: Block Background Color
title.zh: 块背景色
description: Background color for blocks in main area, e.g. codeblock, blockquote
description.zh: 主要区域内的块的背景色,例如代码块、引言块
default: "#111"
format: hsl-values
opacity: false
- id: setting-bg-secondary-dark-hsl
type: variable-color
title: Secondary Background Color
title.zh: 次背景色
description: Background color in secondary area, e.g. sidebar
description.zh: 次要区域的背景色,例如侧边栏
default: "#111"
format: hsl-values
opacity: false
- id: setting-bg-frame-dark
type: variable-color
title: Top Bar Background Color
title.zh: 顶栏背景色
description: Background color in the top area, e.g. titlebar, tab container
description.zh: 顶栏的背景色,例如标题栏、标签栏
default: "#111"
format: hsl
opacity: false
- id: title-layout
title: Layout
title.zh: 布局
type: heading
level: 1
collapsed: false
- id: app-layout-card
type: class-toggle
title: Enable Card Layout
title.zh: 启用卡片布局
description: Styles maybe broken when using stacked tabs
description.zh: 当使用堆叠标签页时,样式可能不符合预期
default: true
- id: app-layout-card-border
type: class-toggle
title: Add Border to Cards
title.zh: 为卡片添加边框
- id: setting-app-layout-spacing
type: variable-number-slider
title: Card Spacing
title.zh: 卡片间距
default: 6
max: 16
min: 2
step: 0.5
format: px
- id: app-layout-card-bg
type: class-select
title: Background Type
title.zh: 背景类型
description: '"gradient" is ineffective when the color scheme is "Minimal"'
description.zh: 当颜色方案为 "Minimal" 时,"gradient" 不会生效
allow-empty: false
default: app-layout-card-gradient
options:
- label: Plain
value: app-layout-card-plain
- label: Gradient
value: app-layout-card-gradient
- label: Custom
value: app-layout-card-custom
- id: setting-layout-image-light
type: variable-text
title: Light Theme Background Image
title.zh: 浅色主题背景图片
description: Any CSS "background-image" value, e.g. url("/your/image/url")
description.zh: 任何 CSS “background-image” 值,例如:url("图片链接地址")
default: ""
- id: setting-layout-opacity-light
type: variable-number-slider
title: Light Theme Background Opacity
title.zh: 浅色主题背景不透明度
default: 0.6
max: 0.9
min: 0.1
step: 0.05
- id: setting-layout-image-dark
type: variable-text
title: Dark Theme Background Image
title.zh: 深色主题背景图片
description: Any CSS "background-image" value, e.g. url("/your/image/url")
description.zh: 任何 CSS “background-image” 值,例如:url("图片链接地址")
default: ""
- id: setting-layout-opacity-dark
type: variable-number-slider
title: Dark Theme Background Opacity
title.zh: 深色主题背景不透明度
default: 0.6
max: 0.9
min: 0.1
step: 0.05
*/
/* @settings
id: maple-workspace
name: Maple Workspace
settings:
- id: enable-blur
type: class-toggle
title: Enable Background Blur
title.zh: 启用背景模糊
description: Applies to menus, modals, popups, and graph control panels. Disable
if scrolling becomes laggy. Not available on mobile devices.
description.zh: 在菜单、弹出框和图谱控制面板中生效;若滚动卡顿,请关闭此选项;手机端不支持
default: true
- id: title-file-explorer
title: File Explorer
title.zh: 文件管理器
type: heading
level: 1
collapsed: true
- id: explorer-title-wrap
type: class-toggle
title: Auto Wrap Long File Names
title.zh: 长文件名自动换行
- id: explorer-icon
type: class-toggle
title: Enable Prefix Icons
title.zh: 启用前置图标
description: Please turn off this option when using third-party icon plugins to
avoid conflicts.
description.zh: 使用第三方图标插件时建议关闭以避免冲突。
default: true
- id: explorer-folder-bold
type: class-toggle
title: Bold Folder Titles
title.zh: 加粗文件夹标题
- id: setting-color-dirs
type: variable-themed-color
title: Directory Color
title.zh: 文件夹颜色
format: hsl
opacity: false
default-light: hsl(46, 81%, 45%)
default-dark: hsl(46, 81%, 45%)
- id: title-outline
title: Outline
title.zh: 大纲
type: heading
level: 1
collapsed: true
- id: outline-enable
type: class-toggle
title: Enable Logseq Bullet Thread Style of outline
title.zh: 启用 Logseq 样式的大纲
description: Reload Obsidian after enabling this feature. Reference from
https://github.com/pengx17/logseq-dev-theme/blob/main/bullet_threading.css
description.zh: 启用此功能后请重启 Obsidian。参考自
https://github.com/pengx17/logseq-dev-theme/blob/main/bullet_threading.css
- id: setting-outline-width
type: variable-number-slider
title: Guide Line Width
title.zh: 引导线宽度
default: 2
min: 1
max: 4
step: 0.5
format: px
- id: setting-outline-line-color
type: variable-themed-color
title: Guide Line Color
title.zh: 引导线颜色
format: hsl
opacity: true
default-light: "#"
default-dark: "#"
- id: setting-outline-dot-color
type: variable-themed-color
title: Guide Dot Color
title.zh: 引导点颜色
format: hsl
opacity: true
default-light: "#"
default-dark: "#"
- id: title-document-search-and-replace
title: Document Search and Replace
title.zh: 文档搜索和替换
type: heading
level: 1
collapsed: true
- id: search-internal-enable
type: class-toggle
title: Enable Floating Style
title.zh: 启用浮动风格
description: Similar to VSCode document search widget
description.zh: 类似于 VSCode 的文档搜索框
default: true
- id: search-remove-button
type: class-toggle
title: Remove Rarely Used Buttons
title.zh: 移除不常用的按钮
description: "Removed buttons: Find All"
description.zh: 已移除的按钮:查找全部
- id: title-graph
title: Graph
title.zh: 关系图谱
type: heading
level: 1
collapsed: true
- id: setting-graph-node
type: variable-themed-color
title: Normal Node Color
title.zh: 普通节点颜色
format: hsl
opacity: true
default-light: "#"
default-dark: "#"
- id: setting-graph-node-unresolved
type: variable-themed-color
title: Unresolved Node Color
title.zh: 未连接节点颜色
format: hsl
opacity: true
default-light: "#"
default-dark: "#"
- id: setting-graph-node-focus
type: variable-themed-color
title: Focused Node Color
title.zh: 聚焦节点颜色
format: hsl
opacity: true
default-light: "#"
default-dark: "#"
- id: title-modal-and-setting-panel
title: Modal and Setting Panel
title.zh: 模态框和设置面板
type: heading
level: 1
collapsed: true
- id: modal-setting-header
type: class-toggle
title: Add Header To Setting Panel
title.zh: 为设置面板添加顶部标题
description: Works best with the "Setting Search" plugin; not valid on mobile
description.zh: 配合“设置搜索”插件使用效果更佳,移动端无效
default: true
- id: setting-modal-header-title
type: variable-text
title: Setting Panel Header Title
title.zh: 设置面板标题
default: Maple 1.4.7
quotes: true
- id: modal-setting-header-title-center
type: class-toggle
title: Center the Setting Panel Header Title
title.zh: 设置面板标题居中
default: true
- id: modal-setting-header-search
type: class-toggle
title: Move Some Search Bar to Modal Header
title.zh: 将部分搜索框移动到模态框顶部
default: true
- id: enable-group-title
type: class-toggle
title: Add Icons For Left Navigation Group Title
title.zh: 为左侧导航组标题添加图标
default: true
- id: modal-will-change
type: class-toggle
title: Enable Modal Open Animation Optimization for Low-Performance Devices
title.zh: 为低性能设备提供更流畅的打开动画
description: ❗ May cause font blurriness when APP scaling is not set to 100%
description.zh: ❗ 应用缩放比例不等于100%时可能会导致字体模糊
default: true
- id: title-control
title: Control
title.zh: 控件
type: heading
level: 2
collapsed: true
- id: modal-control-gradient
type: class-toggle
title: Enable Gradient Style on Controls
title.zh: 控件启用渐变样式
default: true
- id: modal-slider
type: class-toggle
title: Styled Slider
title.zh: 启用滑块样式
default: true
- id: modal-toggle
type: class-select
title: Styled Toggle Button
title.zh: 启用开关按钮样式
description: '"Thin" and "Floating" will fallback to "Default" on mobile'
description.zh: “Thin” 和 “Floating” 选项在移动端会回退到 “默认” 风格
allow-empty: false
default: modal-toggle-default
options:
- label: Default
value: modal-toggle-default
- label: Square
value: modal-toggle-square
- label: Thin
value: modal-toggle-thin
- label: Floating
value: modal-toggle-floating
- id: title-tab-and-navigation-bar
title: Tab and Navigation Bar
title.zh: 标签页和导航栏
type: heading
level: 1
collapsed: true
- id: labeled-nav
type: class-toggle
title: Enable Vertical Navigation Bar
title.zh: 启用竖向导航栏
description: Reference from
https://github.com/kepano/obsidian-minimal/blob/master/src/scss/features/labeled-nav.scss
description.zh: 参考自
https://github.com/kepano/obsidian-minimal/blob/master/src/scss/features/labeled-nav.scss
- id: tab-float
type: class-toggle
title: Enable Floating Style Tab Bar
title.zh: 启用浮动风格的标签栏
default: true
- id: setting-tab-stack-header-width
type: variable-number-slider
title: Stacked Tab Header Width (px)
title.zh: 堆叠标签页的标签宽度(px)
default: 40
max: 60
min: 20
step: 1
format: px
- id: tab-slide-up
type: class-toggle
title: Enable Tab Slide Up Animation
title.zh: 启用标签页切换动画
description: ❗Turning on will prevent some panels updating instantly while
switching tabs
description.zh: ❗开启后会导致部分面板无法立即更新
- id: tab-show-close
type: class-select
title: When To Show Close Button On Tabs
title.zh: 何时显示标签页的关闭按钮
allow-empty: false
default: tab-show-close-default
options:
- label: Always
value: tab-show-close-default
- label: Hover only
value: tab-show-close-all
- label: Hover only or active tab
value: tab-show-close-part
- id: tab-title-bar-text
type: class-select
title: Font Size of File Name On Tab Title Bar
title.zh: 标签页标题栏的文件名的字体大小
allow-empty: false
default: tab-title-bar-text-default
options:
- label: Default
value: tab-title-bar-text-default
- label: Small size
value: tab-title-bar-text-small
- label: Hover only
value: tab-title-bar-text-hidden
- id: title-status-bar
title: Status Bar
title.zh: 状态栏
type: heading
level: 1
collapsed: true
- id: status-bar-style-float
type: class-toggle
title: Enable Floating Style
title.zh: 启用浮动样式
default: true
- id: status-bar-style
type: class-select
title: Status Bar Animation
title.zh: 状态栏动画效果
description: 'Note: The "Auto scroll in" option is only effective when "Enable
Floating Style" is on'
description.zh: 注意:“自动滚入”选项仅在"启用浮动风格"开启时生效
allow-empty: false
default: status-bar-default
options:
- label: Default
value: status-bar-default
- label: Auto hide
value: status-bar-hidden
- label: Auto scroll in
value: status-bar-scroll
- id: status-bar-style-center
type: class-toggle
title: Centered Status Bar
title.zh: 状态栏居中显示
- id: title-tooltip-and-notice
title: Tooltip and Notice
title.zh: 提示框和通知
type: heading
level: 1
collapsed: true
- id: message-tooltip-hide-arrow
type: class-toggle
title: Hide Tooltip Arrow
title.zh: 隐藏气泡提示框箭头
- id: message-tooltip-hide
type: class-toggle
title: Always Hide Tooltip
title.zh: 始终隐藏气泡提示框
- id: message-modify
type: class-toggle
title: Modify Tooltip and Notice Color
title.zh: 修改气泡提示框和通知的颜色
default: true
- id: setting-message-bg
type: variable-themed-color
title: Background Color
title.zh: 背景色
format: hex
opacity: true
default-light: "#"
default-dark: "#"
- id: setting-message-fg
type: variable-themed-color
title: Foreground Color
title.zh: 文字色
format: hex
opacity: true
default-light: "#"
default-dark: "#"
- id: title-scrollbar
title: Scrollbar
title.zh: 滚动条
type: heading
level: 1
collapsed: true
- id: scrollbar-hide
type: class-toggle
title: Always Hide Scrollbar
title.zh: 始终隐藏滚动条
- id: scrollbar-enable
type: class-toggle
title: Enable Scrollbar Style
title.zh: 启用滚动条样式
description: Styled scrollbar, auto hide when mouse is out of the container
description.zh: 美化滚动条样式,鼠标移出容器自动隐藏
default: true
- id: scrollbar-hover
type: class-select
title: Scrollbar Hover Action
title.zh: 鼠标悬停时滚动条的变化
allow-empty: false
default: scrollbar-hover-accent
options:
- label: None
value: scrollbar-hover-default
- label: Accent
value: scrollbar-hover-accent
- label: Expand
value: scrollbar-hover-expand
- id: scrollbar-movein-animation-enable
type: class-toggle
title: Enable Scrollbar Move In/Out Animation
title.zh: 启用滚动条移入移出动画
description: ❗ This can cause severe lag when typing on some old computers or
mobile devices
description.zh: ❗ 会导致在某些旧的电脑或者移动设备上输入时严重卡顿
*/
/* @settings
id: maple-editor
name: Maple Editor
settings:
- id: title-background-pattern
title: Background Pattern
title.zh: 背景图案
type: heading
level: 1
collapsed: true
- id: editor-bg-pattern
type: class-select
title: Pattern Style
title.zh: 图案风格
allow-empty: false
default: editor-bg-plain
options:
- label: Plain
value: editor-bg-plain
- label: Dots
value: editor-bg-grid-dots
- label: Grid
value: editor-bg-grid-line
- id: setting-editor-bg-grid-dots
type: variable-themed-color
title: Dot Color for Editor Background
title.zh: 编辑器背景点颜色
format: rgb
opacity: true
default-light: "#"
default-dark: "#"
- id: setting-editor-bg-grid-line
type: variable-themed-color
title: Grid Line Color for Editor Background
title.zh: 编辑器背景网格线颜色
format: rgb
opacity: true
default-light: "#"
default-dark: "#"
- id: setting-editor-bg-grid-spacing
type: variable-number-slider
title: Grid Spacing for Editor Background
title.zh: 编辑器背景网格间距
format: px
default: 20
min: 10
max: 30
step: 1
- id: title-line-and-spacing
title: Line and Spacing
title.zh: 行和间距
type: heading
level: 1
collapsed: true
- id: setting-editor-p-spacing
type: variable-number-slider
title: Paragraph Spacing (px)
title.zh: 段落间距(px)
default: 8
format: px
min: 0
max: 20
step: 1
- id: setting-editor-letter-spacing
type: variable-number-slider
title: Letter Spacing (px)
title.zh: 文字间距(px)
default: 0
format: px
min: -1
max: 1
step: 0.1
- id: editor-custom-bottom-spacing
type: class-toggle
title: Custom Page Bottom Spacing
title.zh: 自定义页面底部留白
- id: setting-editor-bottom-spacing
type: variable-number-slider
title: Page Bottom Spacing (vh)
title.zh: 页面底部留白大小(vh)
default: 40
format: vh
min: 0
max: 80
step: 5
- id: setting-editor-p-indent
type: variable-number-slider
title: Paragraph Indent
title.zh: 段落缩进
description: Indent all paragraphs if "p-indent" exists in properties.cssclasses
description.zh: 当文档属性的 cssclasses 中存在 “p-indent” 类时,为所有段落添加缩进
default: 2
min: 0
max: 4
step: 0.2
- id: setting-line-height
type: variable-number-slider
title: Line Height
title.zh: 行高
description: Multiple of text size
description.zh: 文字大小的倍数
default: 1.8
min: 1.2
max: 2.4
step: 0.1
- id: setting-file-line-width
type: variable-text
title: Line Width (Editor Width)
title.zh: 行宽(编辑器宽度)
description: Any CSS "width" value, e.g. clamp(MinWidth, WidthPercent, MaxWidth)
description.zh: 任何 CSS “width” 值,例如:clamp(最小值, 宽度百分比, 最大值)
default: clamp(600px, 72%, 850px)
- id: line-indicator
type: class-select
title: Hover Line Marker
title.zh: 鼠标悬停行标记
description: Reference from https://github.com/Akifyss/obsidian-border
description.zh: 参考自 https://github.com/Akifyss/obsidian-border
allow-empty: false
default: line-indicator-disable
options:
- label: None
value: line-indicator-disable
- label: Left
value: line-indicator-enable
- label: Full Line
value: line-indicator-full
- id: line-active
type: class-select
title: Active Line Highlight
title.zh: 当前行高亮
allow-empty: false
default: line-active-enable
options:
- label: None
value: line-active-disable
- label: Left
value: line-active-left
- label: Full Line
value: line-active-enable
- id: setting-line-active-color
type: variable-themed-color
title: Active Line Color
title.zh: 高亮行颜色
format: hsl-values
opacity: true
default-light: "#"
default-dark: "#"
- id: title-text
title: Text
title.zh: 文本
type: heading
level: 1
collapsed: true
- id: setting-text-normal
type: variable-themed-color
title: Editor Text Color
title.zh: 编辑器文本颜色
format: hex
opacity: true
default-light: "#"
default-dark: "#"
- id: setting-underline-offset
type: variable-number-slider
title: Underline Offset
title.zh: 下划线偏移
default: 2
format: px
min: 0
max: 8
step: 0.5
- id: title-highlight
title: Highlight
title.zh: 高亮
type: heading
level: 2
collapsed: true
- id: setting-text-highlight-bg
type: variable-text
title: Highlight Text Background Color
title.zh: 文本高亮背景色
description: Any CSS "background" value, e.g. url("/your/image/url")
description.zh: 任何 CSS “background” 值,例如:url("图片链接地址")
default: rgba(255, 208, 0, 0.4)
- id: setting-text-highlight-color
type: variable-themed-color
title: Highlight Text Color
title.zh: 文本高亮文字色
format: hex
opacity: true
default-light: "#"
default-dark: "#"
- id: setting-text-highlight-radius
type: variable-number-slider
title: Highlight Background Radius
title.zh: 高亮背景圆角大小
description: Value in pixels (px)
description.zh: 单位:像素(px)
default: 4
min: 0
max: 8
step: 1
format: px
- id: text-highlight-all-round
type: class-toggle
title: Maintain Radius When Wrapping
title.zh: 换行时保持圆角
description: Except during editing
description.zh: 编辑时除外
default: true
- id: title-bold
title: Bold
title.zh: 粗体
type: heading
level: 2
collapsed: true
- id: setting-text-bold-color
type: variable-themed-color
title: Bold Text Color
title.zh: 粗体颜色
format: hex
opacity: true
default-light: "#"
default-dark: "#"
- id: setting-text-bold-weight
type: variable-number-slider
title: Bold Font Weight
title.zh: 粗体字重
default: 600
min: 100
max: 800
step: 50
- id: setting-text-bold-style
type: variable-text
title: Bold Style
title.zh: 粗体样式
description: Any CSS "text-decoration" value
description.zh: 任何 CSS “text-decoration” 值
default: ""
- id: setting-text-bold-font
type: variable-text
title: Bold Font
title.zh: 粗体字体
description: Any CSS "font-family" value
description.zh: 任何 CSS “font-family” 值
default: ""
- id: title-italic
title: Italic
title.zh: 斜体
type: heading
level: 2
collapsed: true
- id: setting-text-italic-color
type: variable-themed-color
title: Italic Text Color
title.zh: 斜体颜色
format: hex
opacity: true
default-light: "#"
default-dark: "#"
- id: setting-text-italic-style
type: variable-text
title: Italic Style
title.zh: 斜体样式
description: Any CSS "text-decoration" value
description.zh: 任何 CSS “text-decoration” 值
default: ""
- id: setting-text-italic-font
type: variable-text
title: Italic Font
title.zh: 斜体字体
description: Any CSS "font-family" value
description.zh: 任何 CSS “font-family” 值
default: ""
- id: title-font
title: Font
title.zh: 字体
type: heading
level: 1
collapsed: true
- id: font-maple
type: class-toggle
title: Use "Maple Mono" as Monospace Font
title.zh: 使用 “Maple Mono” 作为等宽字体
description: https://github.com/subframe7536/maple-font
description.zh: https://github.com/subframe7536/maple-font
default: true
- id: setting-code-ligature
type: variable-text
title: Monospace Font Features
title.zh: 等宽字体特性
description: If using "Maple Mono" as monospace font, recommend setting to
'calt','cv01','cv02' to bring back normal glyphs
description.zh: 如果您使用 “Maple Mono” 作为等宽字体,建议设置为 'calt','cv01','cv02' 以改为正常的字形
default: "'calt'"
- id: font-latex-text
type: class-toggle
title: Use Text Font in Non-formula Parts of LaTeX
title.zh: 在 LaTeX 内非公式部分使用正文字体
description: No effective on Latin letters and numbers
description.zh: 仅修改中文字体
- id: title-link
title: Link
title.zh: 链接
type: heading
level: 1
collapsed: true
- id: link-hover-expand
type: class-toggle
title: Use Underline Animation on Hover
title.zh: 鼠标悬停时启用下划线动画
- id: link-icon
type: class-toggle
title: Add Icon Before Link
title.zh: 在链接前添加图标
description: ❗The icon will be duplicated if the link text contains space or
extra styles
description.zh: ❗如果链接文本包含空格或额外样式,图标将会重复出现
default: true
- id: link-heading
type: class-toggle
title: Compatible with Heading Style
title.zh: 兼容标题样式
description: Keep link color consistent with heading, but retain icon
description.zh: 链接颜色与标题颜色保持一致,但保留图标
- id: link-click-to-edit-in-live-preview
type: class-toggle
title: Click to Edit Link in Live Preview Mode
title.zh: 实时预览模式下点击链接进行编辑而非跳转
description: ❗Disables hover animation; external link prefix icon will be disabled