@bytechain.cn/colamd 1.5.1 → 2.7.7

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 (398) hide show
  1. package/LICENSE +22 -21
  2. package/README.md +160 -1012
  3. package/README_CN.md +210 -1070
  4. package/dist/main/chunks/docx-export.js +29695 -0
  5. package/dist/main/chunks/image-export.js +175 -0
  6. package/dist/main/index.js +17765 -452
  7. package/dist/preload/index.js +135 -23
  8. package/dist/renderer/assets/2DXBBFLN-BmaQ8lqV.js +667 -0
  9. package/dist/renderer/assets/46IJ22JX-Caywmaj-.js +854 -0
  10. package/dist/renderer/assets/4TTDE5I4-C82Tw8vO.js +502 -0
  11. package/dist/renderer/assets/4UF3HTLV-BD8W-BSm.js +30 -0
  12. package/dist/renderer/assets/5THPTBWS-2mBFupjU.js +21 -0
  13. package/dist/renderer/assets/7WLXJQOR-C8MM6Bra.js +23 -0
  14. package/dist/renderer/assets/AAXQQPKT-CCArPgA1.js +1131 -0
  15. package/dist/renderer/assets/AKE5O7KZ-DOAgUvEX.js +185 -0
  16. package/dist/renderer/assets/BNMLP6AG-igM96Ol7.js +805 -0
  17. package/dist/renderer/assets/DKTLEL5E-Dj3316cp.js +42 -0
  18. package/dist/renderer/assets/DR6PKOQU-C-e6zzyf.js +302 -0
  19. package/dist/renderer/assets/E4RJ7UJB-BMF4zoOQ.js +442 -0
  20. package/dist/renderer/assets/ELSXBIJH-BI2ySIoX.js +39 -0
  21. package/dist/renderer/assets/ERTIBQVS-CnvF3w9r.js +183 -0
  22. package/dist/renderer/assets/F653G4FO-CgzvjfOe.js +1498 -0
  23. package/dist/renderer/assets/FKCDD66M-BkVPFntx.js +205 -0
  24. package/dist/renderer/assets/FP7KDXVC-K0VCFuri.js +222 -0
  25. package/dist/renderer/assets/FT5I3RHX-zgsvTvBh.js +244 -0
  26. package/dist/renderer/assets/FTXIJQGB-BX14b7pN.js +13 -0
  27. package/dist/renderer/assets/G3MDBVQH-qZ3yfAIw.js +25 -0
  28. package/dist/renderer/assets/GY35JXOZ-Lo9DxsPK.js +169 -0
  29. package/dist/renderer/assets/H5EEJPP2-Bw2musel.js +354 -0
  30. package/dist/renderer/assets/HWDLEDTA-CCOSSl9K.js +982 -0
  31. package/dist/renderer/assets/JZWSX6AR-BBtw8K-1.js +67 -0
  32. package/dist/renderer/assets/KQOEJWJY-Brg31xSn.js +84 -0
  33. package/dist/renderer/assets/KS3BB3KE-2GQdjVNT.js +139 -0
  34. package/dist/renderer/assets/KXJRRZHI-B0Oj-tMS.js +503 -0
  35. package/dist/renderer/assets/MFVI5XKI-BpwEOECT.js +10 -0
  36. package/dist/renderer/assets/MWY2J62P-CSmi7lMQ.js +1103 -0
  37. package/dist/renderer/assets/MXGNCBL2-CSoCLfJw.js +217 -0
  38. package/dist/renderer/assets/N6DAJLIZ-DB-xlSjM.js +120 -0
  39. package/dist/renderer/assets/NU5M23IW-BhGgUeDk.js +117 -0
  40. package/dist/renderer/assets/NV4XNBIS-DMg8ibKU.js +1221 -0
  41. package/dist/renderer/assets/OGLU4SIR-DOU7cIL3.js +290 -0
  42. package/dist/renderer/assets/OUNS5N76-BO_k5M0O.js +1065 -0
  43. package/dist/renderer/assets/PU4ISKXV-Cw53csyu.js +516 -0
  44. package/dist/renderer/assets/PUZGS23X-_iUQg51-.js +21 -0
  45. package/dist/renderer/assets/Q3IYVLG5-ZFBZi3vs.js +501 -0
  46. package/dist/renderer/assets/QYHQDLKZ-BPb6lHi6.js +984 -0
  47. package/dist/renderer/assets/RVARI57O-DMrXgtoB.js +10 -0
  48. package/dist/renderer/assets/RZSVICHU-I7fvqLMQ.js +263 -0
  49. package/dist/renderer/assets/UEXXS2NB-AVpw2xTC.js +25 -0
  50. package/dist/renderer/assets/UHTQJXKL-6oSc4D2k.js +135 -0
  51. package/dist/renderer/assets/URA2L2QI-DkFUeeK0.js +201 -0
  52. package/dist/renderer/assets/UXCHDUKG-B54p4156.js +174 -0
  53. package/dist/renderer/assets/VKNV3BUX-Cc_4x0WI.js +278 -0
  54. package/dist/renderer/assets/VMV7XPHP-BjfrE66I.js +127 -0
  55. package/dist/renderer/assets/WEVWDWVA-Ca8eMbXN.js +57 -0
  56. package/dist/renderer/assets/XRRJ35LF-EWRU-xXu.js +120 -0
  57. package/dist/renderer/assets/YFKBLVVN-D2oaE2c2.js +991 -0
  58. package/dist/renderer/assets/YHRE5QGZ-ucJgE2vP.js +698 -0
  59. package/dist/renderer/assets/ZF3OVT4B-SN2E7Wbi.js +421 -0
  60. package/dist/renderer/assets/apl-fqmucPXA.js +140 -0
  61. package/dist/renderer/assets/asciiarmor-DucZyvP0.js +56 -0
  62. package/dist/renderer/assets/asn1-BnOEsgAm.js +144 -0
  63. package/dist/renderer/assets/asterisk-QAlztEwS.js +345 -0
  64. package/dist/renderer/assets/brainfuck-DZVCuF_t.js +53 -0
  65. package/dist/renderer/assets/clike-xqXYL6ge.js +805 -0
  66. package/dist/renderer/assets/clojure-BhXMqnxz.js +849 -0
  67. package/dist/renderer/assets/cmake-BGaNd9E7.js +71 -0
  68. package/dist/renderer/assets/cobol-4yqQntpt.js +120 -0
  69. package/dist/renderer/assets/coffeescript-D2dXvhEc.js +308 -0
  70. package/dist/renderer/assets/commonlisp-CF_VNHQR.js +130 -0
  71. package/dist/renderer/assets/crystal-DyuLTqLs.js +398 -0
  72. package/dist/renderer/assets/css-c-jst79C.js +1783 -0
  73. package/dist/renderer/assets/cypher-Dlu_3r4V.js +121 -0
  74. package/dist/renderer/assets/d-UURgV0Ux.js +179 -0
  75. package/dist/renderer/assets/diff-B_Bi2Crb.js +25 -0
  76. package/dist/renderer/assets/dockerfile-Bvk733Ga.js +201 -0
  77. package/dist/renderer/assets/dtd-Dy74G54E.js +114 -0
  78. package/dist/renderer/assets/dylan-TSb-Nfix.js +314 -0
  79. package/dist/renderer/assets/ebnf-4fKAGW3a.js +140 -0
  80. package/dist/renderer/assets/ecl-B59qGGVg.js +178 -0
  81. package/dist/renderer/assets/eiffel-Dze7nlu3.js +134 -0
  82. package/dist/renderer/assets/elm-DG7jkhNZ.js +176 -0
  83. package/dist/renderer/assets/erlang-BO6gOnGA.js +674 -0
  84. package/dist/renderer/assets/factor-CMxFHDqz.js +65 -0
  85. package/dist/renderer/assets/fcl-CDDUNjTj.js +141 -0
  86. package/dist/renderer/assets/forth-B9D2JCeE.js +116 -0
  87. package/dist/renderer/assets/fortran-CAG2BFbe.js +467 -0
  88. package/dist/renderer/assets/gas-d3KEcW3x.js +294 -0
  89. package/dist/renderer/assets/gherkin-DhZlEZiy.js +115 -0
  90. package/dist/renderer/assets/groovy-CpwJiBl7.js +223 -0
  91. package/dist/renderer/assets/haskell-ySd-OUo8.js +459 -0
  92. package/dist/renderer/assets/haxe-7MlzfeYV.js +514 -0
  93. package/dist/renderer/assets/http-BqypyemW.js +79 -0
  94. package/dist/renderer/assets/idl-4HIGJlDI.js +985 -0
  95. package/dist/renderer/assets/index-6G13Twgt.js +311 -0
  96. package/dist/renderer/assets/index-B2_pQa3G.js +384 -0
  97. package/dist/renderer/assets/index-B4keY9Xz.js +328 -0
  98. package/dist/renderer/assets/index-B5Jih3QA.js +47421 -0
  99. package/dist/renderer/assets/index-BH0PaTow.js +405 -0
  100. package/dist/renderer/assets/index-BWfIKsyn.js +8 -0
  101. package/dist/renderer/assets/index-B_BLxvag.js +156 -0
  102. package/dist/renderer/assets/index-BnXxA35e.js +325 -0
  103. package/dist/renderer/assets/index-Bu1PrnbA.js +81 -0
  104. package/dist/renderer/assets/index-BvXJHaQ4.js +60 -0
  105. package/dist/renderer/assets/index-BzHXcCGC.js +307 -0
  106. package/dist/renderer/assets/index-CXI9cRfo.js +287 -0
  107. package/dist/renderer/assets/index-Ccsf_83j.js +149 -0
  108. package/dist/renderer/assets/index-CkLQq2g4.js +688 -0
  109. package/dist/renderer/assets/index-DNL6Tijf.js +8 -0
  110. package/dist/renderer/assets/index-DRZsGkXi.js +78 -0
  111. package/dist/renderer/assets/index-Dfyz4Aee.js +181 -0
  112. package/dist/renderer/assets/index-HtqODURL.js +703 -0
  113. package/dist/renderer/assets/{index-DxOzbfR-.js → index-MJfkvBRx.js} +1 -1
  114. package/dist/renderer/assets/index-NsiBA9UX.js +113 -0
  115. package/dist/renderer/assets/index-aUzhL6sM.js +96 -0
  116. package/dist/renderer/assets/index-bx07CRyn.css +2503 -0
  117. package/dist/renderer/assets/{index-CBcVpA3d.js → index-k1ZFPJcr.js} +3 -4
  118. package/dist/renderer/assets/javascript-C_OHM9hj.js +994 -0
  119. package/dist/renderer/assets/julia-Bs6JJhYG.js +407 -0
  120. package/dist/renderer/assets/lazy-BY7ljzvO.js +1041 -0
  121. package/dist/renderer/assets/livescript-DmzgM3Yt.js +296 -0
  122. package/dist/renderer/assets/lua-Cvg8VrAA.js +256 -0
  123. package/dist/renderer/assets/mathematica-DNLOL9PQ.js +110 -0
  124. package/dist/renderer/assets/mbox-Ga7d4MMN.js +117 -0
  125. package/dist/renderer/assets/mirc-Dma3B8rS.js +107 -0
  126. package/dist/renderer/assets/mllike-DHn7xckP.js +334 -0
  127. package/dist/renderer/assets/modelica-0d55jYY0.js +147 -0
  128. package/dist/renderer/assets/mscgen-DdqZYINH.js +135 -0
  129. package/dist/renderer/assets/mumps-Btr8VblO.js +93 -0
  130. package/dist/renderer/assets/nginx-DTDtBDVN.js +141 -0
  131. package/dist/renderer/assets/nsis-CyKBdPWp.js +62 -0
  132. package/dist/renderer/assets/ntriples-CvgOYMpL.js +153 -0
  133. package/dist/renderer/assets/octave-DYBj3-tl.js +200 -0
  134. package/dist/renderer/assets/oz-R_e8WMIi.js +231 -0
  135. package/dist/renderer/assets/pascal-GD8iposT.js +105 -0
  136. package/dist/renderer/assets/perl-DL9mHpoi.js +1105 -0
  137. package/dist/renderer/assets/pig-C_4T4YIV.js +101 -0
  138. package/dist/renderer/assets/powershell-B0suO7Vd.js +328 -0
  139. package/dist/renderer/assets/properties-BR-vP1aU.js +58 -0
  140. package/dist/renderer/assets/protobuf-BxgpyhoW.js +77 -0
  141. package/dist/renderer/assets/pug-CTXt1f8z.js +405 -0
  142. package/dist/renderer/assets/puppet-Bdao66PW.js +137 -0
  143. package/dist/renderer/assets/python-CvWbmiX4.js +427 -0
  144. package/dist/renderer/assets/q-CrbCVq4a.js +131 -0
  145. package/dist/renderer/assets/r-V7nswm59.js +170 -0
  146. package/dist/renderer/assets/rpm-C-DLY-If.js +109 -0
  147. package/dist/renderer/assets/ruby-CQTpZw6f.js +331 -0
  148. package/dist/renderer/assets/sas-D2UG-yhZ.js +207 -0
  149. package/dist/renderer/assets/scheme-BKzrkGJD.js +222 -0
  150. package/dist/renderer/assets/shell-BlsXDxCn.js +222 -0
  151. package/dist/renderer/assets/sieve-CjwBwOY5.js +135 -0
  152. package/dist/renderer/assets/simple-mode-DMneyfDu.js +130 -0
  153. package/dist/renderer/assets/smalltalk-BOIGQuhN.js +121 -0
  154. package/dist/renderer/assets/solr-CwD7U71z.js +69 -0
  155. package/dist/renderer/assets/sparql-DYskk2vE.js +249 -0
  156. package/dist/renderer/assets/spreadsheet-Bgtt3oLP.js +87 -0
  157. package/dist/renderer/assets/sql-BSrOzCRI.js +354 -0
  158. package/dist/renderer/assets/stex-B6LNC55o.js +231 -0
  159. package/dist/renderer/assets/stylus-BkS-boTH.js +565 -0
  160. package/dist/renderer/assets/swift-FRZi1uvB.js +291 -0
  161. package/dist/renderer/assets/tcl-CUcaCdmq.js +114 -0
  162. package/dist/renderer/assets/textile-BnFpjsrl.js +414 -0
  163. package/dist/renderer/assets/tiddlywiki-CjprD-Qp.js +218 -0
  164. package/dist/renderer/assets/tiki-DK9DOeWn.js +268 -0
  165. package/dist/renderer/assets/toml-BOuWGMcf.js +76 -0
  166. package/dist/renderer/assets/troff-E1bJ0PPL.js +61 -0
  167. package/dist/renderer/assets/ttcn-cfg-Dc39-fIP.js +133 -0
  168. package/dist/renderer/assets/ttcn-tKd4HLu4.js +192 -0
  169. package/dist/renderer/assets/turtle-Dq7-1WAf.js +124 -0
  170. package/dist/renderer/assets/vb-Dp90gtsv.js +196 -0
  171. package/dist/renderer/assets/vbscript-CI6_mxxU.js +479 -0
  172. package/dist/renderer/assets/velocity-BwIZK1TH.js +149 -0
  173. package/dist/renderer/assets/verilog-DDCYnHN8.js +430 -0
  174. package/dist/renderer/assets/vhdl-DCkMIyT9.js +158 -0
  175. package/dist/renderer/assets/{web-BKE0SH0E.js → web-C4yaM4Cl.js} +1 -1
  176. package/dist/renderer/assets/{web-CBsFp24u.js → web-CF2Dtak3.js} +2 -3
  177. package/dist/renderer/assets/{web-Dc8YgoHP.js → web-DUy9unYf.js} +1 -1
  178. package/dist/renderer/assets/webidl-BTLTThCm.js +204 -0
  179. package/dist/renderer/assets/xquery-BrBUuxMR.js +525 -0
  180. package/dist/renderer/assets/yacas-b5lAVEIl.js +130 -0
  181. package/dist/renderer/assets/z80-BZV19vqv.js +93 -0
  182. package/dist/renderer/index.html +97 -77
  183. package/package.json +88 -60
  184. package/themes/README.md +99 -300
  185. package/themes/bear.css +38 -0
  186. package/themes/dark.css +20 -0
  187. package/themes/dracula.css +38 -0
  188. package/themes/elegant.css +53 -671
  189. package/themes/gruvbox.css +42 -0
  190. package/themes/light.css +20 -0
  191. package/themes/midnight.css +31 -0
  192. package/themes/nord.css +38 -0
  193. package/themes/notion.css +48 -0
  194. package/themes/sepia.css +48 -0
  195. package/themes/solarized-dark.css +35 -0
  196. package/themes/template.css +76 -498
  197. package/themes/writer.css +44 -0
  198. package/.github/workflows/release.yml +0 -66
  199. package/.trae/specs/optimize-theme-loading/checklist.md +0 -20
  200. package/.trae/specs/optimize-theme-loading/spec.md +0 -103
  201. package/.trae/specs/optimize-theme-loading/tasks.md +0 -40
  202. package/CHANGELOG.md +0 -320
  203. package/CLAUDE.md +0 -143
  204. package/android/app/build/.npmkeep +0 -0
  205. package/android/app/build.gradle +0 -76
  206. package/android/app/capacitor.build.gradle +0 -24
  207. package/android/app/proguard-rules.pro +0 -21
  208. package/android/app/release.keystore +0 -0
  209. package/android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java +0 -26
  210. package/android/app/src/main/AndroidManifest.xml +0 -64
  211. package/android/app/src/main/java/cn/bytechain/colamd/MainActivity.java +0 -180
  212. package/android/app/src/main/res/drawable/ic_launcher_background.xml +0 -170
  213. package/android/app/src/main/res/drawable/splash.png +0 -0
  214. package/android/app/src/main/res/drawable-land-hdpi/splash.png +0 -0
  215. package/android/app/src/main/res/drawable-land-mdpi/splash.png +0 -0
  216. package/android/app/src/main/res/drawable-land-xhdpi/splash.png +0 -0
  217. package/android/app/src/main/res/drawable-land-xxhdpi/splash.png +0 -0
  218. package/android/app/src/main/res/drawable-land-xxxhdpi/splash.png +0 -0
  219. package/android/app/src/main/res/drawable-port-hdpi/splash.png +0 -0
  220. package/android/app/src/main/res/drawable-port-mdpi/splash.png +0 -0
  221. package/android/app/src/main/res/drawable-port-xhdpi/splash.png +0 -0
  222. package/android/app/src/main/res/drawable-port-xxhdpi/splash.png +0 -0
  223. package/android/app/src/main/res/drawable-port-xxxhdpi/splash.png +0 -0
  224. package/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +0 -34
  225. package/android/app/src/main/res/layout/activity_main.xml +0 -12
  226. package/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -5
  227. package/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -5
  228. package/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  229. package/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +0 -0
  230. package/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  231. package/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  232. package/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +0 -0
  233. package/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  234. package/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  235. package/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
  236. package/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  237. package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  238. package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
  239. package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  240. package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  241. package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
  242. package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  243. package/android/app/src/main/res/values/ic_launcher_background.xml +0 -4
  244. package/android/app/src/main/res/values/strings.xml +0 -7
  245. package/android/app/src/main/res/values/styles.xml +0 -22
  246. package/android/app/src/main/res/xml/file_paths.xml +0 -5
  247. package/android/app/src/main/res/xml/network_security_config.xml +0 -8
  248. package/android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java +0 -18
  249. package/android/build.gradle +0 -29
  250. package/android/capacitor.settings.gradle +0 -21
  251. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  252. package/android/gradle/wrapper/gradle-wrapper.properties +0 -7
  253. package/android/gradle.properties +0 -22
  254. package/android/gradlew +0 -248
  255. package/android/gradlew.bat +0 -92
  256. package/android/settings.gradle +0 -5
  257. package/android/variables.gradle +0 -16
  258. package/capacitor.config.js +0 -29
  259. package/capacitor.config.ts +0 -30
  260. package/demo.md +0 -193
  261. package/dist/renderer/assets/arc-_lugyDzx.js +0 -131
  262. package/dist/renderer/assets/architectureDiagram-3BPJPVTR-DDfP-F9D.js +0 -8721
  263. package/dist/renderer/assets/blockDiagram-GPEHLZMM-DOETUKma.js +0 -3826
  264. package/dist/renderer/assets/c4Diagram-AAUBKEIU-kAmLfVtk.js +0 -2483
  265. package/dist/renderer/assets/channel-CD4vJFwr.js +0 -7
  266. package/dist/renderer/assets/chunk-2J33WTMH-DkVrgw4l.js +0 -24
  267. package/dist/renderer/assets/chunk-4BX2VUAB-JTZ-VKNX.js +0 -16
  268. package/dist/renderer/assets/chunk-55IACEB6-Di_O5box.js +0 -13
  269. package/dist/renderer/assets/chunk-727SXJPM-BgKvwR8w.js +0 -2016
  270. package/dist/renderer/assets/chunk-AQP2D5EJ-DonSXCCQ.js +0 -1953
  271. package/dist/renderer/assets/chunk-FMBD7UC4-CsV8Lmy6.js +0 -19
  272. package/dist/renderer/assets/chunk-ND2GUHAM-C_-_dlq7.js +0 -116
  273. package/dist/renderer/assets/chunk-QZHKN3VN-aCmcDsfu.js +0 -19
  274. package/dist/renderer/assets/classDiagram-4FO5ZUOK-nuHQLjzM.js +0 -24
  275. package/dist/renderer/assets/classDiagram-v2-Q7XG4LA2-nuHQLjzM.js +0 -24
  276. package/dist/renderer/assets/cose-bilkent-S5V4N54A-Di1_SXt9.js +0 -4943
  277. package/dist/renderer/assets/cytoscape.esm-CpHeHM5e.js +0 -30269
  278. package/dist/renderer/assets/dagre-BM42HDAG-CqOUIYsL.js +0 -706
  279. package/dist/renderer/assets/defaultLocale-B2RvLBDe.js +0 -206
  280. package/dist/renderer/assets/diagram-2AECGRRQ-F-fP19TC.js +0 -302
  281. package/dist/renderer/assets/diagram-5GNKFQAL-BD5XZc8G.js +0 -170
  282. package/dist/renderer/assets/diagram-KO2AKTUF-Qa3ZxA67.js +0 -633
  283. package/dist/renderer/assets/diagram-LMA3HP47-DqDnw2RA.js +0 -213
  284. package/dist/renderer/assets/diagram-OG6HWLK6-BH4Elzby.js +0 -852
  285. package/dist/renderer/assets/erDiagram-TEJ5UH35-CaKZCewa.js +0 -1228
  286. package/dist/renderer/assets/flowDiagram-I6XJVG4X-C8znUgyL.js +0 -2333
  287. package/dist/renderer/assets/ganttDiagram-6RSMTGT7-DnRvbMnU.js +0 -3721
  288. package/dist/renderer/assets/gitGraphDiagram-PVQCEYII-CZuRZzk4.js +0 -1374
  289. package/dist/renderer/assets/graph-CYiEKt0j.js +0 -1988
  290. package/dist/renderer/assets/index-B4uDgADr.js +0 -530
  291. package/dist/renderer/assets/index-BX6JHKv6.js +0 -73314
  292. package/dist/renderer/assets/index-CGj1spkU.js +0 -27
  293. package/dist/renderer/assets/index-CcwAgVRi.css +0 -2226
  294. package/dist/renderer/assets/index-D4CPFkph.js +0 -9
  295. package/dist/renderer/assets/index-Y89U1ptl.js +0 -9
  296. package/dist/renderer/assets/infoDiagram-5YYISTIA-BlBUdqMb.js +0 -32
  297. package/dist/renderer/assets/init-ZxktEp_H.js +0 -16
  298. package/dist/renderer/assets/ishikawaDiagram-YF4QCWOH-TeVytCrP.js +0 -968
  299. package/dist/renderer/assets/journeyDiagram-JHISSGLW-BLZa3jnX.js +0 -1256
  300. package/dist/renderer/assets/kanban-definition-UN3LZRKU-foVxWrJn.js +0 -1053
  301. package/dist/renderer/assets/layout-DOAlFUVb.js +0 -2610
  302. package/dist/renderer/assets/linear-BMBn6kVq.js +0 -340
  303. package/dist/renderer/assets/mindmap-definition-RKZ34NQL-5pGeNCcp.js +0 -1181
  304. package/dist/renderer/assets/ordinal-DSZU4PqD.js +0 -76
  305. package/dist/renderer/assets/pieDiagram-4H26LBE5-N9aAUxfr.js +0 -247
  306. package/dist/renderer/assets/preload-helper-tXtZnHb0.js +0 -88
  307. package/dist/renderer/assets/quadrantDiagram-W4KKPZXB-BPxbtjga.js +0 -1345
  308. package/dist/renderer/assets/requirementDiagram-4Y6WPE33-CK1LrJyG.js +0 -1205
  309. package/dist/renderer/assets/sankeyDiagram-5OEKKPKP-BNj7Sqii.js +0 -1275
  310. package/dist/renderer/assets/sequenceDiagram-3UESZ5HK-B-r7lNhI.js +0 -4515
  311. package/dist/renderer/assets/stateDiagram-AJRCARHV-wrWE0MRa.js +0 -451
  312. package/dist/renderer/assets/stateDiagram-v2-BHNVJYJU-CE-Lqo2d.js +0 -22
  313. package/dist/renderer/assets/timeline-definition-PNZ67QCA-BkeMGH4J.js +0 -1597
  314. package/dist/renderer/assets/vennDiagram-CIIHVFJN-BTxVzto3.js +0 -2487
  315. package/dist/renderer/assets/wardley-L42UT6IY-b-_GPpqL.js +0 -30699
  316. package/dist/renderer/assets/wardleyDiagram-YWT4CUSO-D2r5dVGW.js +0 -976
  317. package/dist/renderer/assets/web-TfDzToU7.js +0 -58
  318. package/dist/renderer/assets/xychartDiagram-2RQKCTM6-BHQdINVc.js +0 -1933
  319. package/docs/RELEASE_NOTES_v1.5.1.md +0 -382
  320. package/docs/academic-demo.md +0 -567
  321. package/docs/agent-diff-view.md +0 -48
  322. package/docs/demo.html +0 -748
  323. package/docs/demo.md +0 -546
  324. package/docs/demo.pdf +0 -0
  325. package/docs/theme-paradigm.md +0 -797
  326. package/electron-builder.yml +0 -64
  327. package/electron.vite.config.js +0 -31
  328. package/electron.vite.config.ts +0 -30
  329. package/ios/App/App/AppDelegate.swift +0 -49
  330. package/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png +0 -0
  331. package/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -14
  332. package/ios/App/App/Assets.xcassets/Contents.json +0 -6
  333. package/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json +0 -23
  334. package/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png +0 -0
  335. package/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png +0 -0
  336. package/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png +0 -0
  337. package/ios/App/App/Base.lproj/LaunchScreen.storyboard +0 -32
  338. package/ios/App/App/Base.lproj/Main.storyboard +0 -19
  339. package/ios/App/App/Info.plist +0 -49
  340. package/ios/App/App.xcodeproj/project.pbxproj +0 -408
  341. package/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  342. package/ios/App/Podfile +0 -28
  343. package/resources/entitlements.mac.plist +0 -12
  344. package/resources/icon.icns +0 -0
  345. package/resources/icon.png +0 -0
  346. package/resources/icon.svg +0 -23
  347. package/resources/templates/slides/icon.png +0 -0
  348. package/resources/templates/slides/slides-template.md +0 -74
  349. package/resources/templates/slides/template-forest-ink.html +0 -540
  350. package/resources/templates/slides/template.html +0 -535
  351. package/scripts/afterPack.js +0 -13
  352. package/scripts/generate-icons.js +0 -102
  353. package/src/main/index.ts +0 -919
  354. package/src/preload/index.d.ts +0 -51
  355. package/src/preload/index.js +0 -70
  356. package/src/preload/index.ts +0 -110
  357. package/src/renderer/capacitor-api.ts +0 -713
  358. package/src/renderer/editor/editor.ts +0 -287
  359. package/src/renderer/editor/html-view.ts +0 -15
  360. package/src/renderer/editor/plugins/index.ts +0 -86
  361. package/src/renderer/editor/plugins/math-plugin.ts +0 -305
  362. package/src/renderer/editor/plugins/mermaid-plugin-custom.css +0 -46
  363. package/src/renderer/editor/plugins/mermaid-plugin-dark.css +0 -428
  364. package/src/renderer/editor/plugins/mermaid-plugin-elegant.css +0 -443
  365. package/src/renderer/editor/plugins/mermaid-plugin-newsprint.css +0 -208
  366. package/src/renderer/editor/plugins/mermaid-plugin.css +0 -111
  367. package/src/renderer/editor/plugins/mermaid-plugin.ts +0 -680
  368. package/src/renderer/editor/plugins/themes/base/dark.css +0 -23
  369. package/src/renderer/editor/plugins/themes/base/elegant.css +0 -32
  370. package/src/renderer/editor/plugins/themes/base/light.css +0 -20
  371. package/src/renderer/editor/plugins/themes/base/newsprint.css +0 -27
  372. package/src/renderer/editor/plugins/themes/base.css +0 -509
  373. package/src/renderer/editor/plugins/themes/components/mermaid/academic.css +0 -43
  374. package/src/renderer/editor/plugins/themes/components/mermaid/dark.css +0 -20
  375. package/src/renderer/editor/plugins/themes/components/mermaid/elegant.css +0 -24
  376. package/src/renderer/editor/plugins/themes/components/mermaid/light.css +0 -21
  377. package/src/renderer/editor/plugins/themes/components/mermaid/newsprint.css +0 -26
  378. package/src/renderer/editor/plugins/themes/components/mermaid/variables.css +0 -592
  379. package/src/renderer/editor/plugins/themes/foundation.css +0 -143
  380. package/src/renderer/editor/plugins/themes/theme-manager.ts +0 -133
  381. package/src/renderer/env.d.ts +0 -10
  382. package/src/renderer/index.html +0 -76
  383. package/src/renderer/main.ts +0 -775
  384. package/src/renderer/mobile.css +0 -428
  385. package/themes/academic-paper-pt.css +0 -1321
  386. package/themes/academic-paper.css +0 -1416
  387. package/themes/forest-ink.css +0 -664
  388. package/themes/guizang.css +0 -732
  389. package/themes/pixso-design.css +0 -1261
  390. package/themes/swiss-design.css +0 -596
  391. package/tsconfig.json +0 -14
  392. package/tsconfig.main.json +0 -12
  393. package/tsconfig.main.tsbuildinfo +0 -1
  394. package/tsconfig.preload.json +0 -12
  395. package/tsconfig.preload.tsbuildinfo +0 -1
  396. package/tsconfig.renderer.json +0 -13
  397. package/tsconfig.renderer.tsbuildinfo +0 -1
  398. package/tsconfig.tsbuildinfo +0 -1
@@ -1,1416 +0,0 @@
1
- /*
2
- * ═══════════════════════════════════════════════════════════════
3
- * ColaMD 主题:Academic Paper (学术论文打印)
4
- * ═══════════════════════════════════════════════════════════════
5
- *
6
- * 📋 基本信息
7
- * ────────────────────────────────────────────────
8
- * 配色方案:纯白底 + 纯黑正文 + 灰度 Mermaid 图表
9
- * 排版规范:遵循中文学术论文排版规范(GB/T 7713)
10
- * 兼容平台:ColaMD (body.theme-custom) / Typora / VSCode
11
- * 导入方式:Theme > Import Theme
12
- * 模板类型:@template: light (浅色主题)
13
- *
14
- * 🎨 设计特点
15
- * ────────────────────────────────────────────────
16
- * 1. 字体系统:
17
- * - 正文:宋体 (SimSun) 小四号 16px
18
- * - 标题:黑体 (SimHei) 三号~五号 22px~14px
19
- * - 代码:Courier New 五号 14px
20
- * - Mermaid:黑体 小五号 12px
21
- *
22
- * 2. 色彩系统:
23
- * - 采用 10 级灰度色板(--gray-0 至 --gray-9)
24
- * - 无彩色设计,确保打印/屏幕一致性
25
- * - 符合 WCAG AAA 对比度标准(≥7:1)
26
- *
27
- * 3. 排版规范:
28
- * - 页面尺寸:A4 (210mm × 297mm)
29
- * - 页边距:上25mm 下25mm 左30mm 右25mm
30
- * - 正文行距:1.5 倍,首行缩进 2em
31
- * - 标题层级:h1(三号) → h2(四号) → h3/h4(小四号) → h5/h6(五号)
32
- *
33
- * ⚙️ 开发规范(必须遵守)
34
- * ────────────────────────────────────────────────
35
- * 【单位使用】
36
- * ✅ 强制要求:所有字号、间距、边距统一使用 px 单位
37
- * ✅ 偶数整数原则:px 值优先使用偶数(2, 4, 6, 8, ...)
38
- * ❌ 禁止使用:pt 单位(会导致 PDF 导出时缩小 25%)
39
- *
40
- * 【转换公式】
41
- * px = pt × (96/72) ≈ pt × 1.3333
42
- * 示例:12pt → 16px, 10.5pt → 14px, 9pt → 12px
43
- *
44
- * 【常用值对照表】
45
- * 中文字号 | pt | px (偶数) | 用途
46
- * ─────────┼────┼──────────┼──────────
47
- * 三号 | 16 | 22 | 一级标题(h1)
48
- * 四号 | 14 | 18 | 二级标题(h2)
49
- * 小四号 | 12 | 16 | 正文/三四级标题
50
- * 五号 |10.5| 14 | 代码块/表格/图题
51
- * 小五号 | 9 | 12 | Mermaid/脚注
52
- *
53
- * 【允许的非 px 单位】
54
- * • mm:页面尺寸、页边距(如 max-width: 210mm)
55
- * • em:相对字号(如 font-size: 0.88em 用于内联代码)
56
- * • %:百分比宽度(如 width: 100%)
57
- * • 无单位:零值(margin: 0)、行高倍率(line-height: 1.5)
58
- *
59
- * 【特殊例外】
60
- * • 1px 边框:分割线、表格竖线等需最细效果时可保留奇数
61
- *
62
- * 🔧 验证方法
63
- * ────────────────────────────────────────────────
64
- * 1. 检查是否还有 pt 单位残留:
65
- * grep -n "pt" academic-paper.css
66
- * 预期结果:No matches found
67
- *
68
- * 2. 验证所有 px 值为偶数:
69
- * grep -oP '\d+px' academic-paper.css | grep -vP '^[02468]px'
70
- * 预期结果:仅少量 1px 边框
71
- *
72
- * 3. 导出 PDF 验证字号一致性:
73
- * 屏幕显示字号 = PDF 导出后字号(无缩放损失)
74
- *
75
- * 📚 相关文档
76
- * ────────────────────────────────────────────────
77
- * • 范式定义:docs/theme-paradigm.md (v3.3)
78
- * • 单位规范:docs/theme-paradigm.md Section 9
79
- * • GB/T 7713:《科学技术报告、学位论文和学术论文的编写格式》
80
- *
81
- * 📅 版本信息
82
- * ────────────────────────────────────────────────
83
- * 最后更新:2026-05-23
84
- * 主要变更:从 pt 单位全面迁移至 px 偶数整数单位系统
85
- * 新增单位转换公式和验证清单
86
- *
87
- * ═══════════════════════════════════════════════════════════════
88
- */
89
-
90
- /* ── 1. 根变量 & 主题变量 ── */
91
- :root {
92
- --side-bar-bg-color: #f5f5f5;
93
- --control-text-color: #333;
94
- --active-file-bg-color: #e8e8e8;
95
- --active-file-text-color: #000;
96
- --active-file-border-color: #000;
97
-
98
- /* ═══════════════════════════════════════════
99
- 印刷友好灰度色板(GB/T 7713 学术论文规范)
100
- 基于10级亮度感知,确保打印/屏幕一致性
101
- ═══════════════════════════════════════════ */
102
- --gray-0: #ffffff; /* 纯白 - 页面背景 */
103
- --gray-1: #fafafa; /* 极浅灰 - 次要表面 */
104
- --gray-2: #f5f5f5; /* 浅灰 - 代码/区块背景 */
105
- --gray-3: #eeeeee; /* 中浅灰 - 表头底色 */
106
- --gray-4: #e0e0e0; /* 浅中灰 - 高亮标记 */
107
- --gray-5: #cccccc; /* 中灰 - 边框/分割线 */
108
- --gray-6: #999999; /* 中深灰 - 次要文字 */
109
- --gray-7: #666666; /* 深灰 - 弱化文字 */
110
- --gray-8: #333333; /* 近黑 - 强调边框 */
111
- --gray-9: #000000; /* 纯黑 - 正文/标题 */
112
-
113
- /* 核心语义变量(基于灰度色板) */
114
- --bg-color: var(--gray-0);
115
- --text-color: var(--gray-9);
116
- --select-text-bg-color: rgba(0, 0, 0, 0.12);
117
- --select-text-font-color: var(--gray-9);
118
- --rawblock-edit-panel-bd: var(--gray-5);
119
- }
120
-
121
- body.theme-custom {
122
- /* ═══ 核心语义变量(GB/T 7713 印刷优化) ═══ */
123
- --bg-color: var(--gray-0);
124
- --text-color: var(--gray-9);
125
- --heading-color: var(--gray-9);
126
- --border-color: var(--gray-9);
127
-
128
- /* 背景层次(从浅到深) */
129
- --code-bg: var(--gray-2);
130
- --code-color: var(--gray-9);
131
- --code-block-bg: var(--gray-2);
132
- --code-block-text: var(--gray-9);
133
- --code-block-color: var(--gray-9);
134
- --blockquote-bg: var(--gray-1);
135
- --blockquote-border: var(--gray-9);
136
- --surface-color: var(--gray-2);
137
- --surface-alt: var(--gray-1);
138
-
139
- /* 文字层次(从深到浅,按重要性降序) */
140
- --link-color: var(--gray-9);
141
- --accent-color: var(--gray-9);
142
- --accent-dark: var(--gray-9);
143
- --accent-light: var(--gray-4);
144
- --text-muted: var(--gray-8);
145
- --text-dim: var(--gray-7);
146
-
147
- /* 交互状态 */
148
- --selection-bg: rgba(0, 0, 0, 0.12);
149
-
150
- /* 表格系统(三线表规范 GB/T 7713) */
151
- --table-header-bg: transparent; /* 三线表:表头无底色或极浅 */
152
- --table-stripe: rgba(0, 0, 0, 0.02); /* 长表格斑马纹(可选) */
153
-
154
- /* 滚动条 */
155
- --scrollbar-thumb: var(--gray-5);
156
- --scrollbar-thumb-hover: var(--gray-6);
157
-
158
- /* 分割线 */
159
- --hr-color: var(--gray-9);
160
- /* Mermaid 全局字体:黑体 小五号 12px(GB/T 7713 图表字),独立于正文 */
161
- --mermaid-font-family: "SimHei", "Heiti SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
162
- --mermaid-font-size: 12px;
163
- --mermaid-dark-mode: false;
164
- /* ═══ Mermaid 图表系统(印刷友好灰度) ═══ */
165
- /* 背景与边框 */
166
- --mermaid-background: var(--gray-0);
167
- --mermaid-border-color: var(--gray-5);
168
- --mermaid-border-radius: 0;
169
- --mermaid-padding: 20px;
170
-
171
- /* 节点色块:莫兰迪浅灰(确保打印可辨) */
172
- --mermaid-primary-color: var(--gray-3);
173
- --mermaid-primary-border-color: var(--gray-8);
174
- --mermaid-primary-text-color: var(--gray-9);
175
- --mermaid-secondary-color: var(--gray-2);
176
- --mermaid-secondary-border-color: var(--gray-7);
177
- --mermaid-secondary-text-color: var(--gray-9);
178
- --mermaid-tertiary-color: var(--gray-4);
179
- --mermaid-tertiary-border-color: var(--gray-6);
180
- --mermaid-tertiary-text-color: var(--gray-9);
181
- --mermaid-node-fill: var(--gray-3);
182
- --mermaid-node-bkg: var(--gray-2);
183
- --mermaid-node-stroke: var(--gray-8);
184
- --mermaid-node-stroke-width: 1px;
185
- --mermaid-node-text: var(--gray-9);
186
-
187
- /* 聚类 */
188
- --mermaid-cluster-fill: var(--gray-1);
189
- --mermaid-cluster-bkg: var(--gray-1);
190
- --mermaid-cluster-stroke: var(--gray-7);
191
- --mermaid-cluster-dasharray: none;
192
-
193
- /* 边线/连线:深灰黑色便于打印 */
194
- --mermaid-edge-stroke: var(--gray-8);
195
- --mermaid-edge-stroke-width: 1px;
196
-
197
- /* 标签 */
198
- --mermaid-label-text: var(--gray-9);
199
- --mermaid-label-text-color: var(--gray-9);
200
- --mermaid-label-background: var(--gray-0);
201
- --mermaid-label-offset-y: 0px;
202
-
203
- /* 边标签 */
204
- --mermaid-edge-label-text: var(--gray-9);
205
- --mermaid-edge-label-bg: var(--gray-0);
206
- --mermaid-edge-label-background: var(--gray-0);
207
-
208
- /* 主色/对比色 */
209
- --mermaid-main-bkg: var(--gray-3);
210
- --mermaid-second-bkg: var(--gray-2);
211
- --mermaid-main-contrast-color: var(--gray-9);
212
- --mermaid-title-text: var(--gray-9);
213
- --mermaid-axis-text: var(--gray-7);
214
- --mermaid-highlight: var(--gray-8);
215
- --mermaid-line-color: var(--gray-6);
216
-
217
- /* 人物/角色 */
218
- --mermaid-person-stroke: var(--gray-8);
219
- --mermaid-person-bkg: var(--gray-2);
220
- /* 莫兰迪灰色阶色板(Graph/Chart 多系列区分,基于灰度色板) */
221
- --mermaid-cscale0: var(--gray-6); /* #999999 → gray-6 */
222
- --mermaid-cscale1: var(--gray-7); /* #8C8E90 ≈ gray-7 */
223
- --mermaid-cscale2: var(--gray-6); /* #B0B0B0 ≈ gray-6 */
224
- --mermaid-cscale3: var(--gray-8); /* #787878 → gray-8 */
225
- --mermaid-cscale4: var(--gray-6); /* #9E9E9E ≈ gray-6 */
226
- --mermaid-cscale5: var(--gray-7); /* #949698 ≈ gray-7 */
227
- --mermaid-cscale6: var(--gray-8); /* #6E6E6E → gray-8 */
228
- --mermaid-cscale7: var(--gray-6); /* #A0A0A0 ≈ gray-6 */
229
- --mermaid-cscale8: var(--gray-7); /* #848688 ≈ gray-7 */
230
- --mermaid-cscale9: var(--gray-6); /* #AAAAAA ≈ gray-6 */
231
- --mermaid-cscale10: var(--gray-8); /* #7A7A7C ≈ gray-8 */
232
- --mermaid-cscale11: var(--gray-7); /* #929294 ≈ gray-7 */
233
- }
234
-
235
- pre { --select-text-bg-color: rgba(0, 0, 0, 0.12); --select-text-font-color: var(--gray-9); }
236
-
237
- /* ── 2. 全局 ── */
238
- html { font-size: 16px; -webkit-font-smoothing: antialiased; }
239
-
240
- body.theme-custom, html, body {
241
- background-color: var(--gray-0);
242
- color: var(--gray-9);
243
- font-family: "SimSun", "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
244
- line-height: 1.5;
245
- font-size: 16px;
246
- }
247
-
248
- body.theme-custom { -webkit-font-smoothing: antialiased; }
249
-
250
- body.theme-custom #editor { max-width: 210mm; margin: 0 auto; padding: 25mm 25mm 25mm 30mm; }
251
- #write { max-width: 210mm; margin: 0 auto; padding: 0; }
252
- #write > ul:first-child, #write > ol:first-child { margin-top: 30px; }
253
-
254
- @media only screen and (min-width: 1400px) { #write { max-width: 210mm; } }
255
- @media only screen and (max-width: 768px) {
256
- #write { padding: 15mm 12mm 15mm 12mm; }
257
- body.theme-custom .mermaid-block,
258
- body.theme-custom .mermaid-preview,
259
- .md-diagram-panel.md-mermaid { padding: 12px; margin: 1em 0; }
260
- body.theme-custom .mermaid-preview svg { max-width: 100% !important; height: auto !important; }
261
- body.theme-custom .mermaid-preview svg text { font-size: 12px !important; }
262
- .md-diagram-panel.md-mermaid svg text { font-size: 12px !important; }
263
- body.theme-custom .mermaid-preview svg .titleText { font-size: 14px !important; }
264
- .md-diagram-panel.md-mermaid svg .titleText { font-size: 14px !important; }
265
- }
266
-
267
- /* ── 3. 标题(GB/T 7713 学术论文规范) ── */
268
- h1, h2, h3, h4, h5, h6,
269
- body.theme-custom h1, body.theme-custom h2, body.theme-custom h3,
270
- body.theme-custom h4, body.theme-custom h5, body.theme-custom h6 {
271
- position: relative;
272
- color: var(--gray-9);
273
- font-weight: 700;
274
- line-height: 1.35;
275
- text-indent: 0;
276
- font-family: "SimHei", "Heiti SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", "Arial", sans-serif;
277
- }
278
-
279
- /* 一级标题(论文题目):黑体 三号 (22px),居中,段前后各 1 行 */
280
- h1, body.theme-custom h1 {
281
- font-size: 22px;
282
- text-align: center;
283
- margin-top: 32px;
284
- margin-bottom: 24px;
285
- cursor: text;
286
- }
287
-
288
- /* 二级标题(一级节):黑体 四号 (18px),左对齐,段前 1 行,段后 0.5 行 */
289
- h2, body.theme-custom h2 {
290
- font-size: 18px;
291
- margin-top: 26px;
292
- margin-bottom: 14px;
293
- cursor: text;
294
- }
295
-
296
- /* 三级标题(二级节):黑体 小四号 (16px),左对齐,段前 0.5 行,段后 0.5 行 */
297
- h3, body.theme-custom h3 {
298
- font-size: 16px;
299
- margin-top: 18px;
300
- margin-bottom: 10px;
301
- cursor: text;
302
- }
303
-
304
- /* 四级标题(三级节):黑体 小四号 (16px),左对齐,段前 0.5 行 */
305
- h4, body.theme-custom h4 {
306
- font-size: 16px;
307
- margin-top: 18px;
308
- margin-bottom: 8px;
309
- cursor: text;
310
- }
311
-
312
- /* 五级标题 */
313
- h5, body.theme-custom h5 {
314
- font-size: 14px;
315
- margin-top: 16px;
316
- margin-bottom: 6px;
317
- cursor: text;
318
- }
319
-
320
- /* 六级标题:黑体 五号 14px */
321
- h6, body.theme-custom h6 {
322
- font-size: 14px;
323
- color: var(--gray-9);
324
- margin-top: 14px;
325
- margin-bottom: 6px;
326
- cursor: text;
327
- }
328
-
329
- h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor,
330
- h4:hover a.anchor, h5:hover a.anchor, h6:hover a.anchor { text-decoration: none; }
331
-
332
- /* ── 4. 内联元素 ── */
333
- /* 正文:宋体 小四号 (16px),行距 1.5 倍,首行缩进 2 字符 */
334
- body.theme-custom p, body.theme-custom #write > p {
335
- margin: 0;
336
- line-height: 1.5;
337
- text-align: justify;
338
- text-indent: 2em;
339
- font-size: 16px;
340
- }
341
- body.theme-custom p + p { margin-top: 0; }
342
-
343
- strong, body.theme-custom strong { color: var(--gray-9); font-weight: 700; }
344
- em, body.theme-custom em { font-style: italic; color: var(--gray-9); }
345
- em strong, strong em, body.theme-custom em strong, body.theme-custom strong em { color: var(--gray-9); font-weight: 700; }
346
-
347
- a, body.theme-custom a { color: var(--gray-9); text-decoration: none; border-bottom: 1px solid var(--gray-9); }
348
- a:hover, body.theme-custom a:hover { text-decoration: none; }
349
-
350
- u, body.theme-custom u {
351
- text-decoration: none;
352
- border-bottom: 1px solid var(--gray-9);
353
- padding-bottom: 1px;
354
- }
355
-
356
- mark, body.theme-custom mark {
357
- background: var(--gray-4);
358
- color: var(--gray-9);
359
- padding: 1px 4px;
360
- border-radius: 0;
361
- }
362
-
363
- del, s { color: var(--gray-7); }
364
-
365
- /* ── 5. 引用块(左缩进对齐正文,段前段后 0.5 行) ── */
366
- blockquote, body.theme-custom blockquote {
367
- margin: 10px 0;
368
- padding: 10px 16px 10px 20px;
369
- border-left: 3px solid var(--gray-9);
370
- background: var(--gray-1);
371
- color: var(--gray-9);
372
- font-family: "SimSun", "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
373
- font-size: 14px;
374
- }
375
- blockquote p, body.theme-custom blockquote p { margin: 4px 0; text-indent: 0; }
376
-
377
- /* ── 6. 分割线 ── */
378
- hr, body.theme-custom hr { border: none; border-top: 1px solid var(--gray-9); margin: 32px 0; height: 0; }
379
-
380
- /* ── 7. 列表(GB/T 7713 学术论文规范) ── */
381
-
382
- /* ── 7.0 重置 ── */
383
- body.theme-custom ul,
384
- body.theme-custom ol,
385
- body.theme-custom li {
386
- margin: 0;
387
- padding: 0;
388
- }
389
-
390
- /* ── 7.1 容器 ── */
391
- body.theme-custom #editor .ProseMirror > ul,
392
- body.theme-custom #editor .ProseMirror > ol,
393
- body.theme-custom #write > ul:first-of-type,
394
- body.theme-custom #write > ol:first-of-type {
395
- margin: 6px 0 6px 2em;
396
- padding-left: 1.5em;
397
- list-style: none;
398
- counter-reset: ol-lv1 ul-lv1;
399
- }
400
- body.theme-custom ul ul,
401
- body.theme-custom ul ol,
402
- body.theme-custom ol ul,
403
- body.theme-custom ol ol {
404
- margin: 0;
405
- padding-left: 1.5em;
406
- list-style: none;
407
- }
408
-
409
- /* ── 7.2 列表项 ── */
410
- body.theme-custom li {
411
- line-height: 1.6;
412
- font-family: "SimSun", "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
413
- font-size: 16px;
414
- font-weight: normal;
415
- text-indent: 0;
416
- list-style: none;
417
- padding: 2px 0;
418
- }
419
-
420
- /* ::before 符号区域:统一 inline 模式,与文字同行基线 */
421
- body.theme-custom li::before {
422
- content: "";
423
- display: inline;
424
- margin-right: 0.35em;
425
- }
426
-
427
- /* ProseMirror li > p 内联化 */
428
- body.theme-custom #editor .ProseMirror li > p {
429
- display: inline;
430
- margin: 0;
431
- padding: 0;
432
- text-indent: 0;
433
- font-size: inherit;
434
- font-weight: inherit;
435
- }
436
-
437
- /* ── 7.3 有序列表编号体系 ── */
438
-
439
- /* 一级有序:1. 2. 3. */
440
- body.theme-custom ol > li {
441
- counter-increment: ol-lv1;
442
- }
443
- body.theme-custom ol > li::before {
444
- content: counter(ol-lv1) ".";
445
- font-family: "SimSun", "Songti SC", Georgia, serif;
446
- }
447
-
448
- /* 二级有序:(1) (2) (3) */
449
- body.theme-custom ol > li > ol {
450
- counter-reset: ol-lv2;
451
- }
452
- body.theme-custom ol > li > ol > li {
453
- counter-increment: ol-lv2;
454
- }
455
- body.theme-custom ol > li > ol > li::before {
456
- content: "(" counter(ol-lv2) ")";
457
- font-family: "SimSun", "Songti SC", Georgia, serif;
458
- }
459
-
460
- /* 三级有序:① ② ③ */
461
- body.theme-custom ol > li > ol > li > ol {
462
- counter-reset: ol-lv3;
463
- }
464
- body.theme-custom ol > li > ol > li > ol > li {
465
- counter-increment: ol-lv3;
466
- }
467
- body.theme-custom ol > li > ol > li > ol > li::before {
468
- content: counter(ol-lv3, cjk-ideographic) "";
469
- font-family: "SimSun", "Songti SC", Georgia, serif;
470
- }
471
-
472
- /* 四级+有序:i. ii. iii. */
473
- body.theme-custom ol ol ol ol > li::before {
474
- content: counter(list-item, lower-roman) ".";
475
- font-family: "SimSun", "Songti SC", Georgia, serif;
476
- }
477
-
478
- /* ── 7.4 无序列表符号体系 ── */
479
-
480
- /* 一级无序:■ 实心方块 */
481
- body.theme-custom ul > li {
482
- counter-increment: ul-lv1;
483
- }
484
- body.theme-custom ul > li::before {
485
- content: "\25A0\00A0";
486
- }
487
-
488
- /* 二级无序:● 实心圆点 */
489
- body.theme-custom ul > li > ul {
490
- counter-reset: ul-lv2;
491
- }
492
- body.theme-custom ul > li > ul > li {
493
- counter-increment: ul-lv2;
494
- }
495
- body.theme-custom ul > li > ul > li::before {
496
- content: "\25CF\00A0";
497
- }
498
-
499
- /* 三级无序:○ 空心圆圈 */
500
- body.theme-custom ul > li > ul > li > ul {
501
- counter-reset: ul-lv3;
502
- }
503
- body.theme-custom ul > li > ul > li > ul > li {
504
- counter-increment: ul-lv3;
505
- }
506
- body.theme-custom ul > li > ul > li > ul > li::before {
507
- content: "\25CB\00A0";
508
- }
509
-
510
- /* 四级+无序:◆ 菱形 */
511
- body.theme-custom ul ul ul ul > li::before {
512
- content: "\25C6\00A0";
513
- }
514
-
515
- /* ── 7.5 混合嵌套(有序↔无序交叉) ── */
516
-
517
- /* 无序 → 有序 */
518
- body.theme-custom ul > li > ol {
519
- counter-reset: ol-mix2;
520
- }
521
- body.theme-custom ul > li > ol > li {
522
- counter-increment: ol-mix2;
523
- }
524
- body.theme-custom ul > li > ol > li::before {
525
- content: "(" counter(ol-mix2) ")";
526
- font-family: "SimSun", "Songti SC", Georgia, serif;
527
- }
528
- body.theme-custom ul > li > ol > li > ol {
529
- counter-reset: ol-mix3;
530
- }
531
- body.theme-custom ul > li > ol > li > ol > li {
532
- counter-increment: ol-mix3;
533
- }
534
- body.theme-custom ul > li > ol > li > ol > li::before {
535
- content: counter(ol-mix3, lower-roman) ".";
536
- font-family: "SimSun", "Songti SC", Georgia, serif;
537
- }
538
-
539
- /* 有序 → 无序 */
540
- body.theme-custom ol > li > ul {
541
- counter-reset: ul-mix2;
542
- }
543
- body.theme-custom ol > li > ul > li {
544
- counter-increment: ul-mix2;
545
- }
546
- body.theme-custom ol > li > ul > li::before {
547
- content: "\25CF\00A0";
548
- }
549
- body.theme-custom ol > li > ul > li > ul {
550
- counter-reset: ul-mix3;
551
- }
552
- body.theme-custom ol > li > ul > li > ul > li {
553
- counter-increment: ul-mix3;
554
- }
555
- body.theme-custom ol > li > ul > li > ul > li::before {
556
- content: "\25CB\00A0";
557
- }
558
-
559
- .md-task-list-item > input { margin-left: -1.3em; margin-top: 0.3em; }
560
-
561
- /* ── 8. 内联代码 ── */
562
- code, tt,
563
- body.theme-custom code, body.theme-custom tt {
564
- font-family: "Courier New", "Consolas", "Source Code Pro", monospace;
565
- font-size: 0.88em;
566
- padding: 1px 6px;
567
- margin: 0 1px;
568
- background: var(--gray-3);
569
- border-radius: 0;
570
- color: var(--gray-9);
571
- border: none;
572
- }
573
-
574
- /* ── 9. 代码块 ── */
575
- pre.md-fences {
576
- font-family: "Courier New", "Consolas", "Source Code Pro", monospace;
577
- font-size: 14px;
578
- line-height: 1.5;
579
- background: var(--gray-2);
580
- color: var(--gray-9);
581
- padding: 14px 18px;
582
- border-radius: 0;
583
- margin: 16px 0;
584
- overflow-x: auto;
585
- border: 1px solid var(--gray-9);
586
- }
587
- pre.md-fences code { background: transparent; color: inherit; padding: 0; margin: 0; border-radius: 0; border: none; }
588
-
589
- body.theme-custom #editor .ProseMirror pre {
590
- font-family: "Courier New", "Consolas", "Source Code Pro", monospace;
591
- font-size: 14px;
592
- line-height: 1.5;
593
- background: var(--gray-2) !important;
594
- color: var(--gray-9) !important;
595
- padding: 14px 18px;
596
- border-radius: 0;
597
- margin: 16px 0;
598
- overflow-x: auto;
599
- border: 1px solid var(--gray-9);
600
- }
601
- body.theme-custom #editor .ProseMirror pre code {
602
- background: transparent !important;
603
- color: var(--gray-9) !important;
604
- padding: 0; margin: 0; border-radius: 0; border: none;
605
- }
606
-
607
- /* ── 10. 代码语法高亮(黑白打印友好) ── */
608
- .cm-s-inner { font-family: "Courier New", "Consolas", "Source Code Pro", monospace; font-size: 14px; line-height: 1.5; }
609
-
610
- body.theme-custom .token.comment, body.theme-custom .token.prolog,
611
- body.theme-custom .token.doctype, body.theme-custom .token.cdata,
612
- .cm-s-inner .cm-comment, .cm-s-inner .cm-quote, .cm-s-inner .cm-hr { color: var(--gray-7); font-style: italic; }
613
-
614
- body.theme-custom .token.punctuation, .cm-s-inner .cm-meta { color: var(--gray-8); }
615
-
616
- body.theme-custom .token.keyword, body.theme-custom .token.important,
617
- .cm-s-inner .cm-keyword { color: var(--gray-9); font-weight: 700; }
618
-
619
- body.theme-custom .token.boolean, body.theme-custom .token.builtin,
620
- body.theme-custom .token.tag, body.theme-custom .token.selector,
621
- body.theme-custom .token.constant, body.theme-custom .token.deleted,
622
- .cm-s-inner .cm-atom, .cm-s-inner .cm-builtin,
623
- .cm-s-inner .cm-tag, .cm-s-inner .cm-error { color: var(--gray-9); font-weight: 600; }
624
-
625
- body.theme-custom .token.string, body.theme-custom .token.attr-value,
626
- body.theme-custom .token.symbol, body.theme-custom .token.inserted,
627
- .cm-s-inner .cm-string { color: var(--gray-8); }
628
-
629
- body.theme-custom .token.number, .cm-s-inner .cm-number { color: var(--gray-9); }
630
-
631
- body.theme-custom .token.function, body.theme-custom .token.class-name,
632
- body.theme-custom .token.variable, body.theme-custom .token.attr-name,
633
- body.theme-custom .token.property, body.theme-custom .token.entity,
634
- .cm-s-inner .cm-def, .cm-s-inner .cm-variable-2,
635
- .cm-s-inner .cm-attribute, .cm-s-inner .cm-property,
636
- .cm-s-inner .cm-header { color: var(--gray-9); }
637
-
638
- .cm-s-inner .cm-header { font-weight: 700; }
639
- body.theme-custom .token.url, .cm-s-inner .cm-link { color: var(--gray-9); text-decoration: underline; }
640
-
641
- body.theme-custom .token.operator, .cm-s-inner .cm-operator { color: var(--gray-8); }
642
-
643
- body.theme-custom .token.regex { color: var(--gray-8); }
644
- .cm-s-inner .cm-variable { color: var(--gray-9); }
645
-
646
- /* ── 11. 表格(GB/T 7713 三线表规范) ── */
647
-
648
- /* 表格容器 */
649
- table, body.theme-custom table {
650
- width: 100%;
651
- border-collapse: collapse;
652
- margin: 18px auto;
653
- font-size: 14px;
654
- line-height: 1.5;
655
- }
656
-
657
- /* 表头单元格:黑体 五号 加粗 居中,浅灰底色(可选,三线表通常透明) */
658
- table th, body.theme-custom table th {
659
- background: var(--table-header-bg);
660
- font-weight: 700;
661
- color: var(--gray-9);
662
- padding: 8px 10px;
663
- text-align: center;
664
- text-indent: 0;
665
- vertical-align: middle;
666
- font-family: "SimHei", "Heiti SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
667
- }
668
-
669
- /* 数据单元格:宋体 五号 左对齐 无首行缩进 */
670
- table td, body.theme-custom table td {
671
- padding: 8px 10px;
672
- text-align: left;
673
- text-indent: 0;
674
- vertical-align: top;
675
- font-family: "SimSun", "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
676
- }
677
-
678
- /* 表格内段落:取消首行缩进,紧凑行距 */
679
- table p, body.theme-custom table p,
680
- table td p, body.theme-custom table td p {
681
- margin: 0;
682
- padding: 0;
683
- text-indent: 0;
684
- text-align: left;
685
- line-height: 1.4;
686
- font-size: inherit;
687
- }
688
-
689
- /* 表格内列表:继承全局 inline 符号模式,紧凑排列 */
690
- table ul, table ol,
691
- body.theme-custom table ul,
692
- body.theme-custom table ol {
693
- margin: 2px 0;
694
- padding-left: 1.5em;
695
- }
696
- table li, body.theme-custom table li {
697
- margin: 2px 0;
698
- padding-left: 0;
699
- font-size: inherit;
700
- }
701
- table li::before, body.theme-custom table li::before {
702
- display: inline;
703
- margin-right: 0.35em;
704
- }
705
-
706
- /* 去掉 hover 效果 */
707
- table tr:hover td, body.theme-custom table tr:hover td {
708
- background: transparent;
709
- }
710
-
711
- /* ── 11.1 三线表样式(学术论文标准) ── */
712
- /* 顶线 + 表头底线 + 底线,无竖线 */
713
-
714
- body.theme-custom table {
715
- border-top: 2px solid var(--gray-9);
716
- border-bottom: 2px solid var(--gray-9);
717
- border-left: none;
718
- border-right: none;
719
- }
720
-
721
- body.theme-custom table th {
722
- border: none;
723
- border-bottom: 1px solid var(--gray-9);
724
- background: transparent; /* 三线表标准:表头透明或极浅 */
725
- }
726
-
727
- body.theme-custom table td {
728
- border: none;
729
- border-bottom: none;
730
- }
731
-
732
- /* ── 12. 图片(图题:宋体 五号 14px,居中,位于图下方) ── */
733
- img, body.theme-custom img { max-width: 100%; }
734
- p > img:only-child, body.theme-custom p > img:only-child { display: block; margin: 16px auto; }
735
- body.theme-custom figure { margin: 16px 0; text-align: center; }
736
- body.theme-custom .md-image-src { margin: 16px auto; display: block; }
737
- body.theme-custom figcaption {
738
- font-family: "SimSun", "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
739
- font-size: 14px;
740
- line-height: 1.5;
741
- text-align: center;
742
- color: var(--gray-9);
743
- margin-top: 8px;
744
- }
745
-
746
- /* ── 13. 数学公式(纯黑白) ── */
747
-
748
- /* ColaMD */
749
- body.theme-custom .math-block {
750
- background: var(--gray-0);
751
- padding: 12px 0;
752
- margin: 16px 0;
753
- border-radius: 0;
754
- border: none;
755
- text-align: center;
756
- overflow-x: auto;
757
- }
758
- body.theme-custom .math-block .katex,
759
- body.theme-custom .math-block .katex *,
760
- body.theme-custom .math-block .MathJax,
761
- body.theme-custom .math-block .MathJax *,
762
- body.theme-custom .math-inline,
763
- body.theme-custom .math-inline .katex,
764
- body.theme-custom .math-inline .katex *,
765
- .md-inline-math script,
766
- .md-inline-math .MathJax {
767
- color: var(--gray-9) !important;
768
- }
769
-
770
- /* ── 14. Mermaid 图表容器 ── */
771
- /* 配色全部引用前置变量,修改变量即可统一控制所有图表 */
772
-
773
- .md-diagram-panel { margin: 1.5em 0; }
774
-
775
- /* ── 14.0 图表备注(图题):宋体 五号 14px,居中,GB/T 7713 ── */
776
- body.theme-custom .md-filename {
777
- font-family: "SimSun", "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
778
- font-size: 14px;
779
- color: var(--gray-9);
780
- text-align: center;
781
- margin-top: 8px;
782
- }
783
-
784
- body.theme-custom .mermaid-block {
785
- background: var(--mermaid-background);
786
- border: 1px solid var(--mermaid-border-color);
787
- border-radius: var(--mermaid-border-radius);
788
- padding: var(--mermaid-padding);
789
- margin: 1.5em 0;
790
- overflow-x: auto;
791
- }
792
- body.theme-custom .mermaid-preview { background: transparent; border: none; padding: 0; margin: 0; }
793
- .md-diagram-panel.md-mermaid {
794
- background: var(--mermaid-background);
795
- border: 1px solid var(--mermaid-border-color);
796
- border-radius: var(--mermaid-border-radius);
797
- padding: var(--mermaid-padding);
798
- margin: 1.5em 0;
799
- overflow-x: auto;
800
- }
801
- .md-diagram-panel.md-mermaid svg,
802
- body.theme-custom .mermaid-preview svg { max-width: 100%; height: auto; }
803
-
804
- /* ── 14.1 全局字体:黑体 小五号 12px(GB/T 7713 图表字),独立于正文 ── */
805
- body.theme-custom .mermaid-preview svg text,
806
- body.theme-custom .mermaid-preview svg tspan {
807
- font-family: "SimHei", "Heiti SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif !important;
808
- font-size: 12px !important;
809
- fill: var(--mermaid-node-text) !important;
810
- }
811
- body.theme-custom .mermaid-preview svg foreignObject span,
812
- body.theme-custom .mermaid-preview svg foreignObject p,
813
- body.theme-custom .mermaid-preview svg foreignObject div,
814
- body.theme-custom .mermaid-preview svg .nodeLabel span,
815
- body.theme-custom .mermaid-preview svg .edgeLabel span {
816
- font-family: "SimHei", "Heiti SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif !important;
817
- font-size: 12px !important;
818
- color: var(--mermaid-node-text) !important;
819
- }
820
- body.theme-custom .mermaid-preview svg .titleText,
821
- body.theme-custom .mermaid-preview svg .pieTitleText {
822
- font-size: 12px !important;
823
- fill: var(--mermaid-title-text) !important;
824
- }
825
-
826
- /* ── 14.2 通用节点色块:浅灰填色 + 深灰边框 ── */
827
- body.theme-custom .mermaid-preview svg .node rect,
828
- body.theme-custom .mermaid-preview svg .node circle,
829
- body.theme-custom .mermaid-preview svg .node ellipse,
830
- body.theme-custom .mermaid-preview svg .node polygon,
831
- body.theme-custom .mermaid-preview svg .node path {
832
- fill: var(--mermaid-node-bkg) !important;
833
- stroke: var(--mermaid-node-stroke) !important;
834
- stroke-width: var(--mermaid-node-stroke-width) !important;
835
- }
836
- body.theme-custom .mermaid-preview svg .node.default rect,
837
- body.theme-custom .mermaid-preview svg .node rect[fill] {
838
- fill: var(--mermaid-node-bkg) !important;
839
- stroke: var(--mermaid-node-stroke) !important;
840
- }
841
-
842
- /* ── 14.3 连线/边线 ── */
843
- body.theme-custom .mermaid-preview svg .edgePath .path {
844
- stroke: var(--mermaid-edge-stroke) !important;
845
- stroke-width: var(--mermaid-edge-stroke-width) !important;
846
- }
847
- body.theme-custom .mermaid-preview svg defs marker path {
848
- fill: var(--mermaid-edge-stroke) !important;
849
- stroke: var(--mermaid-edge-stroke) !important;
850
- }
851
- body.theme-custom .mermaid-preview svg .relation {
852
- stroke: var(--mermaid-edge-stroke) !important;
853
- }
854
-
855
- /* ── 14.4 聚类/子图 ── */
856
- body.theme-custom .mermaid-preview svg .cluster rect,
857
- body.theme-custom .mermaid-preview svg .cluster path {
858
- fill: var(--mermaid-cluster-fill) !important;
859
- stroke: var(--mermaid-cluster-stroke) !important;
860
- stroke-width: 1px !important;
861
- }
862
- body.theme-custom .mermaid-preview svg .node.alt rect {
863
- fill: var(--mermaid-cluster-fill) !important;
864
- stroke: var(--mermaid-cluster-stroke) !important;
865
- }
866
-
867
- /* ── 14.5 标签文字(仅颜色,无偏移——参照 guizang 模式) ── */
868
- body.theme-custom .mermaid-preview svg .edgeLabel text,
869
- body.theme-custom .mermaid-preview svg .label text,
870
- body.theme-custom .mermaid-preview svg .nodeLabel text {
871
- fill: var(--mermaid-node-text) !important;
872
- }
873
- body.theme-custom .mermaid-preview svg .nodeLabel span,
874
- body.theme-custom .mermaid-preview svg .edgeLabel span {
875
- color: var(--mermaid-node-text) !important;
876
- }
877
- body.theme-custom .mermaid-preview svg .edgeLabel rect {
878
- fill: var(--mermaid-label-background) !important;
879
- stroke: none !important;
880
- }
881
-
882
- /* ── 14.6 流程图/Block 图 ── */
883
- body.theme-custom .mermaid-preview svg .block rect,
884
- body.theme-custom .mermaid-preview svg .block path {
885
- stroke: var(--mermaid-node-stroke) !important;
886
- fill: var(--mermaid-node-bkg) !important;
887
- }
888
- body.theme-custom .mermaid-preview svg .block text,
889
- body.theme-custom .mermaid-preview svg .block .nodeLabel text,
890
- body.theme-custom .mermaid-preview svg .block .nodeLabel span {
891
- fill: var(--mermaid-node-text) !important;
892
- color: var(--mermaid-node-text) !important;
893
- }
894
-
895
- /* ── 14.7 时序图 (Sequence) ── */
896
- body.theme-custom .mermaid-preview svg .actor rect,
897
- body.theme-custom .mermaid-preview svg .actor path {
898
- fill: var(--mermaid-person-bkg) !important;
899
- stroke: var(--mermaid-node-stroke) !important;
900
- }
901
- body.theme-custom .mermaid-preview svg text.actor {
902
- fill: var(--mermaid-node-text) !important;
903
- }
904
- body.theme-custom .mermaid-preview svg .actor-line {
905
- stroke: var(--mermaid-line-color) !important;
906
- }
907
- body.theme-custom .mermaid-preview svg .messageLine0,
908
- body.theme-custom .mermaid-preview svg .messageLine1 {
909
- stroke: var(--mermaid-node-stroke) !important;
910
- stroke-width: 1px !important;
911
- }
912
- body.theme-custom .mermaid-preview svg .messageText {
913
- fill: var(--mermaid-node-text) !important;
914
- }
915
- body.theme-custom .mermaid-preview svg .loopText,
916
- body.theme-custom .mermaid-preview svg .altText,
917
- body.theme-custom .mermaid-preview svg .optText,
918
- body.theme-custom .mermaid-preview svg .loopText tspan,
919
- body.theme-custom .mermaid-preview svg .altText tspan,
920
- body.theme-custom .mermaid-preview svg .optText tspan {
921
- fill: var(--mermaid-axis-text) !important;
922
- }
923
- body.theme-custom .mermaid-preview svg .loopLine,
924
- body.theme-custom .mermaid-preview svg .altLine,
925
- body.theme-custom .mermaid-preview svg .optLine {
926
- stroke: var(--mermaid-node-stroke) !important;
927
- }
928
- body.theme-custom .mermaid-preview svg .labelBox {
929
- stroke: var(--mermaid-node-stroke) !important;
930
- fill: var(--mermaid-label-background) !important;
931
- }
932
- body.theme-custom .mermaid-preview svg .labelText {
933
- fill: var(--mermaid-node-text) !important;
934
- }
935
- body.theme-custom .mermaid-preview svg .note {
936
- fill: var(--surface-color) !important;
937
- stroke: var(--mermaid-line-color) !important;
938
- }
939
-
940
- /* ── 14.8 类图 (Class Diagram) ── */
941
- body.theme-custom .mermaid-preview svg .classGroup rect,
942
- body.theme-custom .mermaid-preview svg .classBox rect,
943
- body.theme-custom .mermaid-preview svg .classBox path {
944
- stroke: var(--mermaid-node-stroke) !important;
945
- fill: var(--mermaid-node-bkg) !important;
946
- }
947
- body.theme-custom .mermaid-preview svg .classTitle text,
948
- body.theme-custom .mermaid-preview svg .classTitle span {
949
- fill: var(--mermaid-node-text) !important;
950
- color: var(--mermaid-node-text) !important;
951
- }
952
- body.theme-custom .mermaid-preview svg .classText text,
953
- body.theme-custom .mermaid-preview svg .classText span {
954
- fill: var(--mermaid-node-text) !important;
955
- color: var(--mermaid-node-text) !important;
956
- }
957
- body.theme-custom .mermaid-preview svg .divider {
958
- stroke: var(--mermaid-node-stroke) !important;
959
- }
960
-
961
- /* ── 14.9 状态图 (State Diagram) ── */
962
- body.theme-custom .mermaid-preview svg .statediagram-state rect,
963
- body.theme-custom .mermaid-preview svg .statediagram-state circle {
964
- fill: var(--mermaid-node-bkg) !important;
965
- stroke: var(--mermaid-node-stroke) !important;
966
- stroke-width: 1px !important;
967
- }
968
- body.theme-custom .mermaid-preview svg .statediagram-cluster rect {
969
- fill: var(--mermaid-cluster-fill) !important;
970
- stroke: var(--mermaid-cluster-stroke) !important;
971
- }
972
- body.theme-custom .mermaid-preview svg .statediagram-state .nodeLabel text,
973
- body.theme-custom .mermaid-preview svg .statediagram-state .nodeLabel span,
974
- body.theme-custom .mermaid-preview svg .statediagram-cluster .outer-title text {
975
- fill: var(--mermaid-node-text) !important;
976
- color: var(--mermaid-node-text) !important;
977
- }
978
- body.theme-custom .mermaid-preview svg .transition {
979
- stroke: var(--mermaid-node-stroke) !important;
980
- }
981
- body.theme-custom .mermaid-preview svg .edgeLabel .label text {
982
- fill: var(--mermaid-node-text) !important;
983
- }
984
-
985
- /* ── 14.10 甘特图 (Gantt) ── */
986
- body.theme-custom .mermaid-preview svg .task {
987
- fill: var(--mermaid-person-bkg) !important;
988
- stroke: var(--mermaid-node-stroke) !important;
989
- stroke-width: 1px !important;
990
- }
991
- body.theme-custom .mermaid-preview svg .taskText,
992
- body.theme-custom .mermaid-preview svg .taskTextOutsideRight,
993
- body.theme-custom .mermaid-preview svg .taskTextOutsideLeft {
994
- fill: var(--mermaid-node-text) !important;
995
- }
996
- body.theme-custom .mermaid-preview svg .section rect {
997
- fill: var(--mermaid-tertiary-color) !important;
998
- stroke: var(--mermaid-node-stroke) !important;
999
- }
1000
- body.theme-custom .mermaid-preview svg .sectionText,
1001
- body.theme-custom .mermaid-preview svg .sectionTitle {
1002
- fill: var(--mermaid-node-text) !important;
1003
- }
1004
- body.theme-custom .mermaid-preview svg .today {
1005
- stroke: var(--mermaid-node-stroke) !important;
1006
- stroke-width: 2px !important;
1007
- }
1008
- body.theme-custom .mermaid-preview svg .grid .tick line,
1009
- body.theme-custom .mermaid-preview svg .grid .domain {
1010
- stroke: var(--mermaid-line-color) !important;
1011
- }
1012
- body.theme-custom .mermaid-preview svg .tick text {
1013
- fill: var(--mermaid-axis-text) !important;
1014
- }
1015
-
1016
- /* ── 14.11 饼图 (Pie) ── */
1017
- body.theme-custom .mermaid-preview svg .pieCircle,
1018
- body.theme-custom .mermaid-preview svg .slice {
1019
- stroke: var(--mermaid-node-stroke) !important;
1020
- }
1021
- body.theme-custom .mermaid-preview svg .legend text {
1022
- fill: var(--mermaid-node-text) !important;
1023
- }
1024
-
1025
- /* ── 14.12 ER 图 (Entity Relationship) ── */
1026
- body.theme-custom .mermaid-preview svg .er .entityBox rect,
1027
- body.theme-custom .mermaid-preview svg .er .entityBox path {
1028
- fill: var(--mermaid-node-bkg) !important;
1029
- stroke: var(--mermaid-node-stroke) !important;
1030
- }
1031
- body.theme-custom .mermaid-preview svg .er text,
1032
- body.theme-custom .mermaid-preview svg .er .relationshipLabel {
1033
- fill: var(--mermaid-node-text) !important;
1034
- }
1035
- body.theme-custom .mermaid-preview svg .er .relationshipLine {
1036
- stroke: var(--mermaid-node-stroke) !important;
1037
- }
1038
-
1039
- /* ── 14.13 Git 图 ── */
1040
- body.theme-custom .mermaid-preview svg .git .commit rect,
1041
- body.theme-custom .mermaid-preview svg .git .commit circle {
1042
- fill: var(--mermaid-cscale9) !important;
1043
- stroke: var(--mermaid-node-stroke) !important;
1044
- }
1045
- body.theme-custom .mermaid-preview svg .git text,
1046
- body.theme-custom .mermaid-preview svg .git .branchLabel text {
1047
- fill: var(--mermaid-node-text) !important;
1048
- }
1049
- body.theme-custom .mermaid-preview svg .git .tag rect,
1050
- body.theme-custom .mermaid-preview svg .git .tag circle {
1051
- fill: var(--mermaid-secondary-color) !important;
1052
- stroke: var(--mermaid-node-stroke) !important;
1053
- }
1054
- body.theme-custom .mermaid-preview svg .git .branch rect {
1055
- fill: var(--mermaid-tertiary-color) !important;
1056
- stroke: var(--mermaid-line-color) !important;
1057
- }
1058
- body.theme-custom .mermaid-preview svg .git .commit-line,
1059
- body.theme-custom .mermaid-preview svg .git .branch-line {
1060
- stroke: var(--mermaid-node-stroke) !important;
1061
- }
1062
-
1063
- /* ── 14.14 用户旅程图 (User Journey) ── */
1064
- body.theme-custom .mermaid-preview svg .journey .task rect {
1065
- fill: var(--mermaid-node-bkg) !important;
1066
- stroke: var(--mermaid-node-stroke) !important;
1067
- }
1068
- body.theme-custom .mermaid-preview svg .journey text {
1069
- fill: var(--mermaid-node-text) !important;
1070
- }
1071
-
1072
- /* ── 14.15 时间线 (Timeline) ── */
1073
- body.theme-custom .mermaid-preview svg .timeline rect {
1074
- fill: var(--mermaid-node-bkg) !important;
1075
- stroke: var(--mermaid-node-stroke) !important;
1076
- }
1077
- body.theme-custom .mermaid-preview svg .timeline text {
1078
- fill: var(--mermaid-node-text) !important;
1079
- }
1080
- body.theme-custom .mermaid-preview svg .timeline .period rect {
1081
- fill: var(--mermaid-cluster-fill) !important;
1082
- stroke: var(--mermaid-cluster-stroke) !important;
1083
- }
1084
-
1085
- /* ── 14.16 思维导图 (Mindmap) ── */
1086
- body.theme-custom .mermaid-preview svg .mindmap-node rect,
1087
- body.theme-custom .mermaid-preview svg .mindmap-node circle,
1088
- body.theme-custom .mermaid-preview svg .mindmap-node ellipse,
1089
- body.theme-custom .mermaid-preview svg .mindmap-node polygon,
1090
- body.theme-custom .mermaid-preview svg .mindmap-node path {
1091
- fill: var(--mermaid-node-bkg) !important;
1092
- stroke: var(--mermaid-node-stroke) !important;
1093
- }
1094
- body.theme-custom .mermaid-preview svg .mindmap-node text,
1095
- body.theme-custom .mermaid-preview svg .mindmap-node .nodeLabel text,
1096
- body.theme-custom .mermaid-preview svg .mindmap-node .nodeLabel span {
1097
- fill: var(--mermaid-node-text) !important;
1098
- color: var(--mermaid-node-text) !important;
1099
- }
1100
- body.theme-custom .mermaid-preview svg .mindmap-edge {
1101
- stroke: var(--mermaid-node-stroke) !important;
1102
- }
1103
-
1104
- /* ── 14.17 C4 架构图 ── */
1105
- body.theme-custom .mermaid-preview svg .c4 .person rect,
1106
- body.theme-custom .mermaid-preview svg .c4 .person path,
1107
- body.theme-custom .mermaid-preview svg .c4 .system rect,
1108
- body.theme-custom .mermaid-preview svg .c4 .system path,
1109
- body.theme-custom .mermaid-preview svg .c4 .container rect,
1110
- body.theme-custom .mermaid-preview svg .c4 .container path,
1111
- body.theme-custom .mermaid-preview svg .c4 .boundary rect,
1112
- body.theme-custom .mermaid-preview svg .c4 .boundary path {
1113
- stroke: var(--mermaid-node-stroke) !important;
1114
- }
1115
- body.theme-custom .mermaid-preview svg .c4 text,
1116
- body.theme-custom .mermaid-preview svg .c4 span {
1117
- fill: var(--mermaid-node-text) !important;
1118
- color: var(--mermaid-node-text) !important;
1119
- }
1120
- body.theme-custom .mermaid-preview svg .person rect,
1121
- body.theme-custom .mermaid-preview svg .person path {
1122
- fill: var(--mermaid-person-bkg) !important;
1123
- stroke: var(--mermaid-node-stroke) !important;
1124
- }
1125
- body.theme-custom .mermaid-preview svg .person-man text {
1126
- fill: var(--mermaid-node-text) !important;
1127
- }
1128
- body.theme-custom .mermaid-preview svg .person-man span {
1129
- color: var(--mermaid-node-text) !important;
1130
- }
1131
-
1132
- /* ── 14.18 XY Chart / 柱状图 ── */
1133
- body.theme-custom .mermaid-preview svg .xychart .axis text {
1134
- fill: var(--mermaid-axis-text) !important;
1135
- }
1136
- body.theme-custom .mermaid-preview svg .xychart .axis line,
1137
- body.theme-custom .mermaid-preview svg .xychart .axis path {
1138
- stroke: var(--mermaid-node-stroke) !important;
1139
- }
1140
- body.theme-custom .mermaid-preview svg .xychart .plot rect,
1141
- body.theme-custom .mermaid-preview svg .xychart .plot line {
1142
- stroke: var(--mermaid-node-stroke) !important;
1143
- }
1144
- body.theme-custom .mermaid-preview svg .xychart .titleText {
1145
- fill: var(--mermaid-node-text) !important;
1146
- }
1147
-
1148
- /* ── 14.19 四象限图 (Quadrant Chart) ── */
1149
- body.theme-custom .mermaid-preview svg .quadrant rect {
1150
- stroke: var(--mermaid-node-stroke) !important;
1151
- }
1152
- body.theme-custom .mermaid-preview svg .quadrant text,
1153
- body.theme-custom .mermaid-preview svg .quadrant .titleText {
1154
- fill: var(--mermaid-node-text) !important;
1155
- }
1156
- body.theme-custom .mermaid-preview svg .quadrant .axis text {
1157
- fill: var(--mermaid-axis-text) !important;
1158
- }
1159
- body.theme-custom .mermaid-preview svg .quadrant .axis line,
1160
- body.theme-custom .mermaid-preview svg .quadrant .axis path {
1161
- stroke: var(--mermaid-node-stroke) !important;
1162
- }
1163
- body.theme-custom .mermaid-preview svg .quadrant .point {
1164
- fill: var(--mermaid-node-stroke) !important;
1165
- stroke: var(--mermaid-node-stroke) !important;
1166
- }
1167
-
1168
- /* ── 14.20 Sankey 图 ── */
1169
- body.theme-custom .mermaid-preview svg .sankey .link {
1170
- stroke: var(--mermaid-node-stroke) !important;
1171
- }
1172
- body.theme-custom .mermaid-preview svg .sankey text {
1173
- fill: var(--mermaid-node-text) !important;
1174
- }
1175
-
1176
- /* ── 14.21 图表标题加粗(font-family/font-size 已在 14.1 统一定义) ── */
1177
- body.theme-custom .mermaid-preview svg .pieTitleText,
1178
- body.theme-custom .mermaid-preview svg .xychart .titleText,
1179
- body.theme-custom .mermaid-preview svg .quadrant .titleText {
1180
- font-weight: 700 !important;
1181
- }
1182
-
1183
- /* ── 14.22 Mermaid 源码编辑器 ── */
1184
- body.theme-custom .mermaid-source {
1185
- width: 100%;
1186
- min-height: 100px;
1187
- border: 1px solid var(--mermaid-node-stroke);
1188
- border-radius: 0;
1189
- padding: 12px;
1190
- font-size: 14px;
1191
- font-family: "Courier New", "Consolas", monospace;
1192
- color: var(--text-color);
1193
- background: var(--surface-color);
1194
- outline: none;
1195
- resize: vertical;
1196
- line-height: 1.5;
1197
- white-space: pre-wrap;
1198
- }
1199
- body.theme-custom .mermaid-source:focus {
1200
- border-color: var(--mermaid-node-text);
1201
- }
1202
-
1203
- /* ── 15. 脚注(小五号 12px) ── */
1204
- body.theme-custom .footnotes {
1205
- font-family: "SimSun", "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
1206
- font-size: 12px;
1207
- color: var(--gray-9);
1208
- margin-top: 32px;
1209
- border-top: 1px solid var(--gray-9);
1210
- padding-top: 16px;
1211
- }
1212
-
1213
- /* ── 15.1 摘要(黑体 五号,"摘要:"加粗,内容宋体 五号) ── */
1214
- body.theme-custom p:has(strong):first-of-type,
1215
- body.theme-custom #write > p:first-child strong {
1216
- font-family: "SimHei", "Heiti SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
1217
- font-size: 14px;
1218
- font-weight: 700;
1219
- }
1220
-
1221
- /* ── 15.2 关键词 / 15.3 参考文献(条目宋体 小五号,悬挂缩进) ── */
1222
- body.theme-custom .references,
1223
- body.theme-custom [class*="reference"] {
1224
- font-family: "SimSun", "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
1225
- font-size: 12px;
1226
- line-height: 1.5;
1227
- }
1228
- body.theme-custom .references li,
1229
- body.theme-custom [class*="reference"] li {
1230
- text-indent: -2em;
1231
- padding-left: 2em;
1232
- margin-bottom: 6px;
1233
- }
1234
-
1235
- /* ── 16. 打印优化(GB/T 7713 页面设置,力求与屏幕显示一致) ── */
1236
- @media print {
1237
- @page {
1238
- size: A4;
1239
- margin: 25mm 25mm 25mm 30mm;
1240
-
1241
- @bottom-center {
1242
- content: counter(page);
1243
- font-family: "SimSun", "Songti SC", serif;
1244
- font-size: 12px;
1245
- color: var(--gray-9);
1246
- }
1247
- }
1248
-
1249
- html, body {
1250
- background: var(--gray-0) !important;
1251
- color: var(--gray-9) !important;
1252
- font-size: 20px !important; /* 基础字号:16px × 1.63 ≈ 12.25pt(PDF导出专用)*/
1253
- line-height: 1.5 !important;
1254
- -webkit-print-color-adjust: exact !important;
1255
- print-color-adjust: exact !important;
1256
- }
1257
-
1258
- #titlebar, #slides-btn, #agent-dot {
1259
- display: none !important;
1260
- }
1261
-
1262
- #editor {
1263
- height: auto !important;
1264
- overflow: visible !important;
1265
- padding: 0 !important;
1266
- }
1267
-
1268
- #write {
1269
- max-width: none !important;
1270
- padding: 0 !important;
1271
- margin: 0 !important;
1272
- }
1273
-
1274
- /* ── 标题保持黑体,强制指定字号 ── */
1275
- h1, h2, h3, h4, h5, h6 {
1276
- font-family: "SimHei", "Heiti SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif !important;
1277
- color: var(--gray-9) !important;
1278
- }
1279
- /* 强制标题字号(PDF导出专用补偿值,屏幕显示不受影响) */
1280
- h1 { font-size: 26px !important; } /* 三号:22px × 1.63 ≈ 16pt */
1281
- h2 { font-size: 22px !important; } /* 四号:18px × 1.63 ≈ 13.5pt */
1282
- h3 { font-size: 20px !important; } /* 小四号:16px × 1.63 ≈ 12.25pt */
1283
- h4 { font-size: 20px !important; } /* 小四号:同上 */
1284
- h5 { font-size: 18px !important; } /* 五号:14px × 1.63 ≈ 11pt */
1285
- h6 { font-size: 18px !important; } /* 五号:同上 */
1286
-
1287
- /* ── 正文保留宋体首行缩进,强制字号 ── */
1288
- p {
1289
- font-family: "SimSun", "Songti SC", "Source Han Serif SC", "Noto Serif SC", serif !important;
1290
- color: var(--gray-9) !important;
1291
- font-size: 20px !important; /* 小四号:16px × 1.63 ≈ 12.25pt(PDF导出专用)*/
1292
- text-indent: 2em !important; /* 首行缩进2字符 */
1293
- line-height: 1.5 !important;
1294
- text-align: justify !important;
1295
- margin: 0 !important;
1296
- }
1297
-
1298
- /* ── 链接 ── */
1299
- a {
1300
- color: var(--gray-9) !important;
1301
- text-decoration: none !important;
1302
- border-bottom: 1px solid var(--gray-9) !important;
1303
- }
1304
-
1305
- /* ── 引用块 ── */
1306
- blockquote {
1307
- background: var(--gray-1) !important;
1308
- border-left: 3px solid var(--gray-9) !important;
1309
- color: var(--gray-9) !important;
1310
- font-size: 18px !important; /* 五号:14px × 1.63 ≈ 11pt(PDF导出专用)*/
1311
- }
1312
-
1313
- /* ── 内联代码(无边框,浅灰底) ── */
1314
- code {
1315
- background: var(--gray-3) !important;
1316
- color: var(--gray-9) !important;
1317
- border: none !important;
1318
- border-radius: 0 !important;
1319
- padding: 1px 6px !important;
1320
- font-family: "Courier New", "Consolas", monospace !important;
1321
- font-size: 18px !important; /* 五号:14px × 1.63 ≈ 11pt(PDF导出专用)*/
1322
- }
1323
-
1324
- /* ── 代码块(浅灰底,直角,无边框) ── */
1325
- pre {
1326
- background: var(--gray-2) !important;
1327
- color: var(--gray-9) !important;
1328
- border: none !important;
1329
- border-radius: 0 !important;
1330
- font-size: 18px !important; /* 五号:14px × 1.63 ≈ 11pt(PDF导出专用)*/
1331
- line-height: 1.5 !important;
1332
- font-family: "Courier New", "Consolas", monospace !important;
1333
- }
1334
- pre code {
1335
- background: transparent !important;
1336
- border: none !important;
1337
- padding: 0 !important;
1338
- }
1339
-
1340
- /* ── 表格:三线表(顶线 + 表头底线 + 底线),无竖线 ── */
1341
- table {
1342
- border-collapse: collapse !important;
1343
- border-top: 2px solid var(--gray-9) !important;
1344
- border-bottom: 2px solid var(--gray-9) !important;
1345
- border-left: none !important;
1346
- border-right: none !important;
1347
- font-size: 18px !important; /* 五号:14px × 1.63 ≈ 11pt(PDF导出专用)*/
1348
- }
1349
- table th {
1350
- border: none !important;
1351
- border-bottom: 2px solid var(--gray-9) !important;
1352
- background: transparent !important; /* 三线表标准:表头透明 */
1353
- -webkit-print-color-adjust: exact !important;
1354
- print-color-adjust: exact !important;
1355
- font-family: "SimHei", "Heiti SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif !important;
1356
- font-weight: 700 !important;
1357
- color: var(--gray-9) !important;
1358
- }
1359
- table td {
1360
- border: none !important;
1361
- font-family: "SimSun", "Songti SC", "Source Han Serif SC", "Noto Serif SC", serif !important;
1362
- color: var(--gray-9) !important;
1363
- }
1364
-
1365
- /* ── 数学公式 ── */
1366
- .math-inline, .math-block {
1367
- color: var(--gray-9) !important;
1368
- -webkit-print-color-adjust: exact !important;
1369
- print-color-adjust: exact !important;
1370
- }
1371
-
1372
- /* ── Mermaid:保留屏幕配色,直角容器 ── */
1373
- body.theme-custom .mermaid-block,
1374
- body.theme-custom .mermaid-preview,
1375
- .md-diagram-panel.md-mermaid {
1376
- background: var(--gray-0) !important;
1377
- border: 1px solid var(--gray-5) !important;
1378
- border-radius: 0 !important;
1379
- -webkit-print-color-adjust: exact !important;
1380
- print-color-adjust: exact !important;
1381
- }
1382
- body.theme-custom .mermaid-preview svg,
1383
- body.theme-custom .mermaid-preview svg * {
1384
- -webkit-print-color-adjust: exact !important;
1385
- print-color-adjust: exact !important;
1386
- }
1387
- body.theme-custom .mermaid-block + p {
1388
- font-family: "SimSun", "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, serif !important;
1389
- font-size: 18px !important; /* 五号:14px × 1.63 ≈ 11pt(PDF导出专用)*/
1390
- text-align: center !important;
1391
- color: var(--gray-9) !important;
1392
- }
1393
-
1394
- /* ── 脚注与参考文献 ── */
1395
- .footnotes {
1396
- border-top: 1px solid var(--gray-9) !important;
1397
- font-size: 14px !important; /* 小五号:9px × 1.63 ≈ 8.6pt(PDF导出专用)*/
1398
- }
1399
-
1400
- h1 { page-break-before: avoid; }
1401
- h2, h3, h4, h5, h6 { page-break-after: avoid; }
1402
- table, figure, img { page-break-inside: avoid; }
1403
- p { orphans: 3; widows: 3; }
1404
- }
1405
-
1406
- /* ── 17. 滚动条(默认浏览器样式,置于屏幕最右侧)── */
1407
- body.theme-custom { scrollbar-width: auto; scrollbar-color: var(--gray-8); }
1408
-
1409
- /* ── 18. 源码编辑模式 ── */
1410
- body.theme-custom #source-editor {
1411
- font-family: "Courier New", "Consolas", "Source Code Pro", monospace;
1412
- font-size: 16px;
1413
- line-height: 1.5;
1414
- background: var(--gray-0);
1415
- color: var(--gray-9);
1416
- }