@markdown-viewer/documd 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/README.md +99 -0
  2. package/browser-renderer.js +12638 -0
  3. package/documd.js +1050 -0
  4. package/package.json +51 -0
  5. package/stencils/alibaba_cloud.json +1 -0
  6. package/stencils/android.json +1 -0
  7. package/stencils/arrows.json +1 -0
  8. package/stencils/atlassian.json +1 -0
  9. package/stencils/aws.json +1 -0
  10. package/stencils/aws2.json +1 -0
  11. package/stencils/aws3.json +1 -0
  12. package/stencils/aws3d.json +1 -0
  13. package/stencils/aws4.json +1 -0
  14. package/stencils/azure.json +1 -0
  15. package/stencils/basic.json +1 -0
  16. package/stencils/bootstrap.json +1 -0
  17. package/stencils/bpmn.json +1 -0
  18. package/stencils/cabinets.json +1 -0
  19. package/stencils/cisco.json +1 -0
  20. package/stencils/cisco19.json +1 -0
  21. package/stencils/cisco_safe.json +1 -0
  22. package/stencils/citrix.json +1 -0
  23. package/stencils/citrix2.json +1 -0
  24. package/stencils/eip.json +1 -0
  25. package/stencils/electrical.json +1 -0
  26. package/stencils/floorplan.json +1 -0
  27. package/stencils/flowchart.json +1 -0
  28. package/stencils/fluid_power.json +1 -0
  29. package/stencils/gcp.json +1 -0
  30. package/stencils/gcp2.json +1 -0
  31. package/stencils/gmdl.json +1 -0
  32. package/stencils/ibm.json +1 -0
  33. package/stencils/ibm_cloud.json +1 -0
  34. package/stencils/index.json +298 -0
  35. package/stencils/ios7.json +1 -0
  36. package/stencils/kubernetes.json +1 -0
  37. package/stencils/kubernetes2.json +1 -0
  38. package/stencils/lean_mapping.json +1 -0
  39. package/stencils/mockup.json +1 -0
  40. package/stencils/mscae.json +1 -0
  41. package/stencils/networks.json +1 -0
  42. package/stencils/networks2.json +1 -0
  43. package/stencils/office.json +1 -0
  44. package/stencils/openstack.json +1 -0
  45. package/stencils/pid.json +1 -0
  46. package/stencils/rack.json +1 -0
  47. package/stencils/salesforce.json +1 -0
  48. package/stencils/signs.json +1 -0
  49. package/stencils/sitemap.json +1 -0
  50. package/stencils/veeam.json +1 -0
  51. package/stencils/vvd.json +1 -0
  52. package/stencils/webicons.json +1 -0
  53. package/stencils/weblogos.json +1 -0
  54. package/styles.css +1 -0
  55. package/themes/code-themes/business-contrast.json +31 -0
  56. package/themes/code-themes/colorful.json +32 -0
  57. package/themes/code-themes/cool-modern.json +31 -0
  58. package/themes/code-themes/dracula-code.json +31 -0
  59. package/themes/code-themes/light-clean.json +31 -0
  60. package/themes/code-themes/midnight-code.json +31 -0
  61. package/themes/code-themes/nord-code.json +31 -0
  62. package/themes/code-themes/solarized-dark-code.json +31 -0
  63. package/themes/code-themes/vscode-dark-code.json +31 -0
  64. package/themes/code-themes/vscode-light-code.json +31 -0
  65. package/themes/code-themes/warm-book.json +31 -0
  66. package/themes/color-schemes/candy.json +37 -0
  67. package/themes/color-schemes/carbon.json +37 -0
  68. package/themes/color-schemes/cool.json +37 -0
  69. package/themes/color-schemes/dracula-soft.json +37 -0
  70. package/themes/color-schemes/draft.json +37 -0
  71. package/themes/color-schemes/forest.json +37 -0
  72. package/themes/color-schemes/gruvbox-dark.json +37 -0
  73. package/themes/color-schemes/ink.json +37 -0
  74. package/themes/color-schemes/midnight.json +37 -0
  75. package/themes/color-schemes/neutral.json +37 -0
  76. package/themes/color-schemes/nord-dark.json +37 -0
  77. package/themes/color-schemes/obsidian.json +37 -0
  78. package/themes/color-schemes/ocean.json +37 -0
  79. package/themes/color-schemes/rainbow.json +46 -0
  80. package/themes/color-schemes/sakura.json +37 -0
  81. package/themes/color-schemes/sepia.json +37 -0
  82. package/themes/color-schemes/slate.json +37 -0
  83. package/themes/color-schemes/solarized-dark.json +37 -0
  84. package/themes/color-schemes/vscode-dark.json +45 -0
  85. package/themes/color-schemes/vscode-light.json +45 -0
  86. package/themes/color-schemes/warm.json +37 -0
  87. package/themes/font-config.json +211 -0
  88. package/themes/layout-schemes/book.json +40 -0
  89. package/themes/layout-schemes/compact.json +40 -0
  90. package/themes/layout-schemes/display.json +40 -0
  91. package/themes/layout-schemes/editorial.json +40 -0
  92. package/themes/layout-schemes/formal-paper.json +40 -0
  93. package/themes/layout-schemes/formal.json +40 -0
  94. package/themes/layout-schemes/magazine.json +40 -0
  95. package/themes/layout-schemes/regular.json +40 -0
  96. package/themes/layout-schemes/standard.json +40 -0
  97. package/themes/layout-schemes/vscode.json +62 -0
  98. package/themes/presets/academic.json +27 -0
  99. package/themes/presets/business.json +22 -0
  100. package/themes/presets/candy.json +23 -0
  101. package/themes/presets/carbon.json +18 -0
  102. package/themes/presets/century.json +22 -0
  103. package/themes/presets/default.json +29 -0
  104. package/themes/presets/dracula.json +18 -0
  105. package/themes/presets/elegant.json +22 -0
  106. package/themes/presets/forest.json +22 -0
  107. package/themes/presets/garamond.json +22 -0
  108. package/themes/presets/gruvbox.json +18 -0
  109. package/themes/presets/handwritten.json +23 -0
  110. package/themes/presets/heiti.json +22 -0
  111. package/themes/presets/magazine.json +24 -0
  112. package/themes/presets/manuscript.json +22 -0
  113. package/themes/presets/midnight.json +18 -0
  114. package/themes/presets/minimal.json +22 -0
  115. package/themes/presets/mixed.json +24 -0
  116. package/themes/presets/newspaper.json +24 -0
  117. package/themes/presets/nord.json +18 -0
  118. package/themes/presets/obsidian.json +18 -0
  119. package/themes/presets/ocean.json +22 -0
  120. package/themes/presets/official.json +29 -0
  121. package/themes/presets/palatino.json +22 -0
  122. package/themes/presets/rainbow.json +23 -0
  123. package/themes/presets/slate.json +18 -0
  124. package/themes/presets/solarized-dark.json +18 -0
  125. package/themes/presets/swiss.json +22 -0
  126. package/themes/presets/technical.json +22 -0
  127. package/themes/presets/typewriter.json +23 -0
  128. package/themes/presets/verdana.json +22 -0
  129. package/themes/presets/vscode-dark.json +24 -0
  130. package/themes/presets/vscode.json +24 -0
  131. package/themes/presets/water.json +22 -0
  132. package/themes/registry.json +116 -0
  133. package/themes/table-styles/academic.json +30 -0
  134. package/themes/table-styles/borderless.json +26 -0
  135. package/themes/table-styles/compact.json +24 -0
  136. package/themes/table-styles/grid.json +22 -0
  137. package/themes/table-styles/high-contrast.json +22 -0
  138. package/themes/table-styles/minimal-gray.json +26 -0
  139. package/themes/table-styles/modern-tech.json +34 -0
  140. package/themes/table-styles/professional.json +34 -0
  141. package/themes/table-styles/vscode-clean.json +26 -0
  142. package/themes/table-styles/zebra.json +22 -0
@@ -0,0 +1,22 @@
1
+ {
2
+ "id": "technical",
3
+ "name": "技术文档",
4
+ "name_en": "Technical",
5
+ "description": "专为技术文档设计,清晰简洁的极简风格",
6
+ "description_en": "Designed for technical documentation with clean minimalist style",
7
+ "author": "docu.md Markdown Viewer",
8
+ "version": "1.0.0",
9
+ "fontScheme": {
10
+ "body": {
11
+ "fontFamily": "Arial"
12
+ },
13
+ "headings": {},
14
+ "code": {
15
+ "fontFamily": "Monaco"
16
+ }
17
+ },
18
+ "layoutScheme": "compact",
19
+ "colorScheme": "cool",
20
+ "tableStyle": "modern-tech",
21
+ "codeTheme": "cool-modern"
22
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "id": "typewriter",
3
+ "name": "复古打字",
4
+ "name_en": "Typewriter",
5
+ "description": "Courier New 字体,紧凑的复古打字稿风格",
6
+ "description_en": "Courier New with a compact retro manuscript style",
7
+ "author": "docu.md Markdown Viewer",
8
+ "version": "1.0.0",
9
+ "fontScheme": {
10
+ "body": {
11
+ "fontFamily": "Courier New"
12
+ },
13
+ "headings": {},
14
+ "code": {
15
+ "fontFamily": "Courier New"
16
+ }
17
+ },
18
+ "layoutScheme": "regular",
19
+ "colorScheme": "sepia",
20
+ "tableStyle": "grid",
21
+ "codeTheme": "warm-book",
22
+ "diagramStyle": "handDrawn"
23
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "id": "verdana",
3
+ "name": "网页显示",
4
+ "name_en": "Web Display",
5
+ "description": "Verdana 字体,屏幕显示清晰锐利",
6
+ "description_en": "Verdana font with clear and sharp screen display",
7
+ "author": "docu.md Markdown Viewer",
8
+ "version": "1.0.0",
9
+ "fontScheme": {
10
+ "body": {
11
+ "fontFamily": "Verdana"
12
+ },
13
+ "headings": {},
14
+ "code": {
15
+ "fontFamily": "Monaco"
16
+ }
17
+ },
18
+ "layoutScheme": "regular",
19
+ "colorScheme": "cool",
20
+ "tableStyle": "grid",
21
+ "codeTheme": "cool-modern"
22
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "id": "vscode-dark",
3
+ "name": "VSCode 深色",
4
+ "name_en": "VSCode Dark",
5
+ "description": "复刻 VSCode 内置 Markdown 预览(深色 Dark+ 主题)",
6
+ "description_en": "Mirrors VSCode's built-in Markdown preview (Dark+ theme)",
7
+ "author": "docu.md Markdown Viewer",
8
+ "version": "1.0.0",
9
+ "fontScheme": {
10
+ "body": {
11
+ "fontFamily": "system-ui"
12
+ },
13
+ "headings": {
14
+ "fontWeight": "600"
15
+ },
16
+ "code": {
17
+ "fontFamily": "SF Mono"
18
+ }
19
+ },
20
+ "layoutScheme": "vscode",
21
+ "colorScheme": "vscode-dark",
22
+ "tableStyle": "vscode-clean",
23
+ "codeTheme": "vscode-dark-code"
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "id": "vscode",
3
+ "name": "VSCode 浅色",
4
+ "name_en": "VSCode Light",
5
+ "description": "复刻 VSCode 内置 Markdown 预览(浅色),系统字体、Segoe UI/苹方风格",
6
+ "description_en": "Mirrors VSCode's built-in Markdown preview (light), with system fonts in the Segoe UI / SF style",
7
+ "author": "docu.md Markdown Viewer",
8
+ "version": "1.0.0",
9
+ "fontScheme": {
10
+ "body": {
11
+ "fontFamily": "system-ui"
12
+ },
13
+ "headings": {
14
+ "fontWeight": "600"
15
+ },
16
+ "code": {
17
+ "fontFamily": "SF Mono"
18
+ }
19
+ },
20
+ "layoutScheme": "vscode",
21
+ "colorScheme": "vscode-light",
22
+ "tableStyle": "vscode-clean",
23
+ "codeTheme": "vscode-light-code"
24
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "id": "water",
3
+ "name": "水墨诗意",
4
+ "name_en": "Ink Poetry",
5
+ "description": "仿宋字体,低饱和墨灰配色,适合诗文和中文长读",
6
+ "description_en": "FangSong with low-saturation ink-gray colors for poetry and Chinese long reads",
7
+ "author": "docu.md Markdown Viewer",
8
+ "version": "1.0.0",
9
+ "fontScheme": {
10
+ "body": {
11
+ "fontFamily": "FangSong"
12
+ },
13
+ "headings": {},
14
+ "code": {
15
+ "fontFamily": "Courier New"
16
+ }
17
+ },
18
+ "layoutScheme": "book",
19
+ "colorScheme": "ink",
20
+ "tableStyle": "minimal-gray",
21
+ "codeTheme": "warm-book"
22
+ }
@@ -0,0 +1,116 @@
1
+ {
2
+ "version": "2.1.0",
3
+ "themes": [
4
+ { "id": "default", "file": "default.json", "category": "classic", "featured": true, "order": 1 },
5
+ { "id": "official", "file": "official.json", "category": "classic", "featured": true, "order": 2 },
6
+ { "id": "academic", "file": "academic.json", "category": "classic", "featured": true, "order": 3 },
7
+ { "id": "business", "file": "business.json", "category": "classic", "featured": true, "order": 4 },
8
+ { "id": "manuscript", "file": "manuscript.json", "category": "classic", "featured": false, "order": 5 },
9
+ { "id": "newspaper", "file": "newspaper.json", "category": "classic", "featured": false, "order": 6 },
10
+
11
+ { "id": "palatino", "file": "palatino.json", "category": "reading", "featured": true, "order": 10 },
12
+ { "id": "garamond", "file": "garamond.json", "category": "reading", "featured": true, "order": 11 },
13
+ { "id": "typewriter", "file": "typewriter.json", "category": "reading", "featured": true, "order": 12 },
14
+ { "id": "elegant", "file": "elegant.json", "category": "reading", "featured": true, "order": 13 },
15
+
16
+ { "id": "technical", "file": "technical.json", "category": "modern", "featured": true, "order": 20 },
17
+ { "id": "swiss", "file": "swiss.json", "category": "modern", "featured": true, "order": 21 },
18
+ { "id": "minimal", "file": "minimal.json", "category": "modern", "featured": true, "order": 22 },
19
+ { "id": "vscode", "file": "vscode.json", "category": "modern", "featured": true, "order": 23 },
20
+
21
+ { "id": "magazine", "file": "magazine.json", "category": "creative", "featured": true, "order": 30 },
22
+ { "id": "century", "file": "century.json", "category": "creative", "featured": true, "order": 31 },
23
+ { "id": "handwritten", "file": "handwritten.json", "category": "creative", "featured": true, "order": 32 },
24
+ { "id": "verdana", "file": "verdana.json", "category": "creative", "featured": true, "order": 33 },
25
+
26
+ { "id": "heiti", "file": "heiti.json", "category": "chinese", "featured": true, "order": 40 },
27
+ { "id": "mixed", "file": "mixed.json", "category": "chinese", "featured": false, "order": 41 },
28
+ { "id": "water", "file": "water.json", "category": "chinese", "featured": true, "order": 42 },
29
+
30
+ { "id": "rainbow", "file": "rainbow.json", "category": "playful", "featured": true, "order": 50 },
31
+ { "id": "candy", "file": "candy.json", "category": "playful", "featured": true, "order": 51 },
32
+
33
+ { "id": "forest", "file": "forest.json", "category": "nature", "featured": true, "order": 60 },
34
+ { "id": "ocean", "file": "ocean.json", "category": "nature", "featured": true, "order": 61 },
35
+
36
+ { "id": "midnight", "file": "midnight.json", "category": "dark", "featured": true, "order": 70 },
37
+ { "id": "slate", "file": "slate.json", "category": "dark", "featured": true, "order": 71 },
38
+ { "id": "dracula", "file": "dracula.json", "category": "dark", "featured": true, "order": 72 },
39
+ { "id": "nord", "file": "nord.json", "category": "dark", "featured": true, "order": 73 },
40
+ { "id": "solarized-dark", "file": "solarized-dark.json", "category": "dark", "featured": false, "order": 74 },
41
+ { "id": "gruvbox", "file": "gruvbox.json", "category": "dark", "featured": false, "order": 75 },
42
+ { "id": "carbon", "file": "carbon.json", "category": "dark", "featured": true, "order": 76 },
43
+ { "id": "obsidian", "file": "obsidian.json", "category": "dark", "featured": false, "order": 77 },
44
+ { "id": "vscode-dark", "file": "vscode-dark.json", "category": "dark", "featured": true, "order": 78 }
45
+ ],
46
+ "categories": {
47
+ "classic": {
48
+ "name": "经典文档",
49
+ "name_en": "Classic Document",
50
+ "description": "传统正式的文档风格,适合公文、报告、论文",
51
+ "description_en": "Traditional formal styles for official documents, reports, papers",
52
+ "order": 1
53
+ },
54
+ "reading": {
55
+ "name": "书籍阅读",
56
+ "name_en": "Book & Reading",
57
+ "description": "舒适的长文阅读体验,适合小说、杂志、博客",
58
+ "description_en": "Comfortable long-form reading for novels, magazines, blogs",
59
+ "order": 2
60
+ },
61
+ "modern": {
62
+ "name": "现代科技",
63
+ "name_en": "Modern Tech",
64
+ "description": "简洁现代的设计风格,适合技术文档、产品说明",
65
+ "description_en": "Clean modern design for technical docs and products",
66
+ "order": 3
67
+ },
68
+ "creative": {
69
+ "name": "创意表达",
70
+ "name_en": "Creative Expression",
71
+ "description": "富有个性的创意风格,适合博客、设计、创意写作",
72
+ "description_en": "Creative styles for blogs, design, creative writing",
73
+ "order": 4
74
+ },
75
+ "chinese": {
76
+ "name": "中文排版",
77
+ "name_en": "Chinese Typography",
78
+ "description": "专为中文优化的排版风格",
79
+ "description_en": "Typography optimized for Chinese content",
80
+ "order": 5
81
+ },
82
+ "playful": {
83
+ "name": "缤纷童趣",
84
+ "name_en": "Colorful & Playful",
85
+ "description": "活泼多彩的风格,适合学生作业、儿童内容",
86
+ "description_en": "Vibrant playful styles for students and kids",
87
+ "order": 6
88
+ },
89
+ "nature": {
90
+ "name": "自然色彩",
91
+ "name_en": "Nature Colors",
92
+ "description": "取自自然的配色,温暖舒适的视觉体验",
93
+ "description_en": "Nature-inspired colors for warm visual experience",
94
+ "order": 7
95
+ },
96
+ "dark": {
97
+ "name": "深色夜间",
98
+ "name_en": "Dark",
99
+ "description": "适合夜间阅读与开发者的深色主题",
100
+ "description_en": "Dark themes for night reading and developers",
101
+ "order": 8
102
+ }
103
+ },
104
+ "recommendations": {
105
+ "default": "default",
106
+ "academic": "academic",
107
+ "business": "business",
108
+ "technical": "technical",
109
+ "reading": "garamond",
110
+ "book": "palatino",
111
+ "modern": "swiss",
112
+ "screen": "verdana",
113
+ "creative": "magazine",
114
+ "dark": "midnight"
115
+ }
116
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "id": "academic",
3
+ "name": "学术风格",
4
+ "name_en": "Academic",
5
+ "description": "双线表头 + 单线分隔,适合论文和学术文档",
6
+ "description_en": "Double-line header + single-line separators, ideal for papers and academic documents",
7
+ "border": {
8
+ "headerTop": {
9
+ "width": "1.5pt",
10
+ "style": "double"
11
+ },
12
+ "headerBottom": {
13
+ "width": "1.5pt",
14
+ "style": "single"
15
+ },
16
+ "lastRowBottom": {
17
+ "width": "1.5pt",
18
+ "style": "single"
19
+ }
20
+ },
21
+ "header": {
22
+ "fontWeight": "bold"
23
+ },
24
+ "cell": {
25
+ "padding": "6pt"
26
+ },
27
+ "zebra": {
28
+ "enabled": false
29
+ }
30
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "id": "borderless",
3
+ "name": "无边框",
4
+ "name_en": "Borderless",
5
+ "description": "仅表头有下边框",
6
+ "description_en": "Only header has bottom border",
7
+ "border": {
8
+ "headerBottom": {
9
+ "width": "2pt",
10
+ "style": "single"
11
+ },
12
+ "lastRowBottom": {
13
+ "width": "1pt",
14
+ "style": "single"
15
+ }
16
+ },
17
+ "header": {
18
+ "fontWeight": "bold"
19
+ },
20
+ "cell": {
21
+ "padding": "8pt"
22
+ },
23
+ "zebra": {
24
+ "enabled": false
25
+ }
26
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "id": "compact",
3
+ "name": "紧凑型",
4
+ "name_en": "Compact",
5
+ "description": "小间距 + 细边框,适合数据密集型表格",
6
+ "description_en": "Small padding + thin borders, ideal for data-heavy tables",
7
+ "border": {
8
+ "all": {
9
+ "width": "0.5pt",
10
+ "style": "single"
11
+ }
12
+ },
13
+ "header": {
14
+ "fontWeight": "bold",
15
+ "fontSize": "10pt"
16
+ },
17
+ "cell": {
18
+ "padding": "4pt",
19
+ "fontSize": "10pt"
20
+ },
21
+ "zebra": {
22
+ "enabled": true
23
+ }
24
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "id": "grid",
3
+ "name": "网格样式",
4
+ "name_en": "Grid Style",
5
+ "description": "完整边框,表头浅灰背景,斑马纹",
6
+ "description_en": "Full borders, light gray header, zebra stripes",
7
+ "border": {
8
+ "all": {
9
+ "width": "1pt",
10
+ "style": "single"
11
+ }
12
+ },
13
+ "header": {
14
+ "fontWeight": "bold"
15
+ },
16
+ "cell": {
17
+ "padding": "8pt"
18
+ },
19
+ "zebra": {
20
+ "enabled": true
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "id": "high-contrast",
3
+ "name": "高对比度",
4
+ "name_en": "High Contrast",
5
+ "description": "黑白高对比 + 粗边框,适合打印和可访问性需求",
6
+ "description_en": "Black & white high contrast with thick borders, ideal for printing and accessibility",
7
+ "border": {
8
+ "all": {
9
+ "width": "2pt",
10
+ "style": "single"
11
+ }
12
+ },
13
+ "header": {
14
+ "fontWeight": "bold"
15
+ },
16
+ "cell": {
17
+ "padding": "8pt"
18
+ },
19
+ "zebra": {
20
+ "enabled": true
21
+ }
22
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "id": "minimal-gray",
3
+ "name": "极简灰调",
4
+ "name_en": "Minimal Gray",
5
+ "description": "仅横向边框 + 灰色调 + 简洁美观",
6
+ "description_en": "Horizontal borders only + gray tones + clean look",
7
+ "border": {
8
+ "headerBottom": {
9
+ "width": "1.5pt",
10
+ "style": "single"
11
+ },
12
+ "rowBottom": {
13
+ "width": "1pt",
14
+ "style": "single"
15
+ }
16
+ },
17
+ "header": {
18
+ "fontWeight": "bold"
19
+ },
20
+ "cell": {
21
+ "padding": "8pt"
22
+ },
23
+ "zebra": {
24
+ "enabled": false
25
+ }
26
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "id": "modern-tech",
3
+ "name": "现代科技",
4
+ "name_en": "Modern Tech",
5
+ "description": "蓝色主题 + 圆角边框,适合技术文档和产品说明",
6
+ "description_en": "Blue theme with rounded borders, ideal for tech docs and product guides",
7
+ "border": {
8
+ "headerTop": {
9
+ "width": "2pt",
10
+ "style": "single"
11
+ },
12
+ "headerBottom": {
13
+ "width": "2pt",
14
+ "style": "single"
15
+ },
16
+ "rowBottom": {
17
+ "width": "1pt",
18
+ "style": "single"
19
+ },
20
+ "lastRowBottom": {
21
+ "width": "2pt",
22
+ "style": "single"
23
+ }
24
+ },
25
+ "header": {
26
+ "fontWeight": "bold"
27
+ },
28
+ "cell": {
29
+ "padding": "10pt"
30
+ },
31
+ "zebra": {
32
+ "enabled": false
33
+ }
34
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "id": "professional",
3
+ "name": "专业风格",
4
+ "name_en": "Professional",
5
+ "description": "粗表头边框 + 细分隔线",
6
+ "description_en": "Thick header border + thin separators",
7
+ "border": {
8
+ "headerTop": {
9
+ "width": "2pt",
10
+ "style": "single"
11
+ },
12
+ "headerBottom": {
13
+ "width": "2pt",
14
+ "style": "single"
15
+ },
16
+ "rowBottom": {
17
+ "width": "1pt",
18
+ "style": "single"
19
+ },
20
+ "lastRowBottom": {
21
+ "width": "2pt",
22
+ "style": "single"
23
+ }
24
+ },
25
+ "header": {
26
+ "fontWeight": "bold"
27
+ },
28
+ "cell": {
29
+ "padding": "8pt"
30
+ },
31
+ "zebra": {
32
+ "enabled": false
33
+ }
34
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "id": "vscode-clean",
3
+ "name": "VSCode 简洁",
4
+ "name_en": "VSCode Clean",
5
+ "description": "横向 1px 细线边框,无背景色,紧凑内边距,匹配 VSCode 预览",
6
+ "description_en": "1px horizontal borders, no header background, tight padding, matches VSCode preview",
7
+ "border": {
8
+ "headerBottom": {
9
+ "width": "1px",
10
+ "style": "single"
11
+ },
12
+ "rowBottom": {
13
+ "width": "1px",
14
+ "style": "single"
15
+ }
16
+ },
17
+ "header": {
18
+ "fontWeight": "bold"
19
+ },
20
+ "cell": {
21
+ "padding": "5px 10px"
22
+ },
23
+ "zebra": {
24
+ "enabled": false
25
+ }
26
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "id": "zebra",
3
+ "name": "斑马纹",
4
+ "name_en": "Zebra",
5
+ "description": "奇偶行不同背景色,无边框",
6
+ "description_en": "Alternating row colors, no borders",
7
+ "border": {
8
+ "headerBottom": {
9
+ "width": "1pt",
10
+ "style": "single"
11
+ }
12
+ },
13
+ "header": {
14
+ "fontWeight": "bold"
15
+ },
16
+ "cell": {
17
+ "padding": "8pt"
18
+ },
19
+ "zebra": {
20
+ "enabled": true
21
+ }
22
+ }