@bytechain.cn/colamd 2.7.9 → 2.7.12

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 (94) hide show
  1. package/README.md +7 -3
  2. package/README_CN.md +7 -3
  3. package/dist/main/chunks/docx-export.js +4 -0
  4. package/dist/main/chunks/math-export.js +3 -0
  5. package/dist/main/index.js +2 -1
  6. package/dist/renderer/assets/{2DXBBFLN-BZbS7Pd1.js → 2DXBBFLN-BJduq_n1.js} +4 -4
  7. package/dist/renderer/assets/{46IJ22JX-CNFviTsR.js → 46IJ22JX-Dl5oABYC.js} +5 -5
  8. package/dist/renderer/assets/{4TTDE5I4-C7pizLRz.js → 4TTDE5I4-D0OZH30N.js} +3 -3
  9. package/dist/renderer/assets/{4UF3HTLV-Bgp6lNzK.js → 4UF3HTLV-B9lH7CBB.js} +4 -4
  10. package/dist/renderer/assets/{AAXQQPKT-DiRTivQz.js → AAXQQPKT-eq8R1-i0.js} +8 -8
  11. package/dist/renderer/assets/{AKE5O7KZ-DB0fY69K.js → AKE5O7KZ-BPFFZy5e.js} +5 -5
  12. package/dist/renderer/assets/{BNMLP6AG-B895CsjY.js → BNMLP6AG-DvupnLHN.js} +7 -7
  13. package/dist/renderer/assets/{DR6PKOQU-CrswvvVG.js → DR6PKOQU-DXqY3tAL.js} +3 -3
  14. package/dist/renderer/assets/{E4RJ7UJB-Dgy0Anf4.js → E4RJ7UJB-B3-v1GGn.js} +6 -6
  15. package/dist/renderer/assets/{ELSXBIJH-Bg-hsqjD.js → ELSXBIJH-W0-fIyGs.js} +1 -1
  16. package/dist/renderer/assets/{ERTIBQVS-BNxjgPXX.js → ERTIBQVS-Cjo8zCEV.js} +4 -4
  17. package/dist/renderer/assets/{F653G4FO-Dt3YtuWS.js → F653G4FO-t4kGthl5.js} +8 -8
  18. package/dist/renderer/assets/{FKCDD66M-CenzCJNz.js → FKCDD66M-CqwX5T9T.js} +1 -1
  19. package/dist/renderer/assets/{FP7KDXVC-BmH1Qg4f.js → FP7KDXVC-SqJKRKSf.js} +6 -6
  20. package/dist/renderer/assets/{FT5I3RHX-Dd_6diyz.js → FT5I3RHX-B1_XlJMF.js} +7 -7
  21. package/dist/renderer/assets/{GY35JXOZ-Cz54qXE9.js → GY35JXOZ-D_hAOI09.js} +4 -4
  22. package/dist/renderer/assets/{H5EEJPP2-FerEQPg3.js → H5EEJPP2-Dh0ee_t_.js} +9 -9
  23. package/dist/renderer/assets/{HWDLEDTA-dKG_tB6l.js → HWDLEDTA-BfmnLbys.js} +1 -1
  24. package/dist/renderer/assets/{JZWSX6AR-DGqy6mhj.js → JZWSX6AR-DibCj0_r.js} +2 -2
  25. package/dist/renderer/assets/{KQOEJWJY-RpP1RapT.js → KQOEJWJY-CYbDpxpS.js} +1 -1
  26. package/dist/renderer/assets/{KS3BB3KE-ChYPdbg1.js → KS3BB3KE-BKXN5GEp.js} +5 -5
  27. package/dist/renderer/assets/{KXJRRZHI-DSLhPV79.js → KXJRRZHI-Dd9nToeE.js} +3 -3
  28. package/dist/renderer/assets/{MFVI5XKI-C1-R608I.js → MFVI5XKI-yEhNzg_a.js} +1 -1
  29. package/dist/renderer/assets/{MWY2J62P-CYEJcQI7.js → MWY2J62P-PD0ivp8r.js} +5 -5
  30. package/dist/renderer/assets/{MXGNCBL2-DEhdb9Po.js → MXGNCBL2-CrYuCAhj.js} +5 -5
  31. package/dist/renderer/assets/{N6DAJLIZ-Jz5IcMsB.js → N6DAJLIZ-CsI-0Pob.js} +2 -2
  32. package/dist/renderer/assets/{NU5M23IW-C8k8MpXh.js → NU5M23IW-BRouDTU6.js} +5 -5
  33. package/dist/renderer/assets/{NV4XNBIS-BCaP1w8q.js → NV4XNBIS-BDKWqPgJ.js} +7 -7
  34. package/dist/renderer/assets/{OGLU4SIR-OGqdd7qE.js → OGLU4SIR-e03S5CRP.js} +5 -5
  35. package/dist/renderer/assets/{OUNS5N76-p6wVW2dP.js → OUNS5N76-DXs9fuRM.js} +6 -6
  36. package/dist/renderer/assets/{PU4ISKXV-D-ZMREMw.js → PU4ISKXV-DHAw3ojo.js} +5 -5
  37. package/dist/renderer/assets/{PUZGS23X-DsbrgiWg.js → PUZGS23X-BJvqqbjA.js} +1 -1
  38. package/dist/renderer/assets/{Q3IYVLG5-BpItOJB9.js → Q3IYVLG5-BBP8APVJ.js} +5 -5
  39. package/dist/renderer/assets/{QYHQDLKZ-Dm9JiJIz.js → QYHQDLKZ-Dk9FA6iI.js} +9 -9
  40. package/dist/renderer/assets/{RZSVICHU-Chf4nk49.js → RZSVICHU-DQMvf7FW.js} +1 -1
  41. package/dist/renderer/assets/{UEXXS2NB-Bm2T4HQE.js → UEXXS2NB-pjQFygyK.js} +1 -1
  42. package/dist/renderer/assets/{UHTQJXKL-Y4ThTfXK.js → UHTQJXKL-BCjkwDC-.js} +5 -5
  43. package/dist/renderer/assets/{URA2L2QI-DkaJzKIj.js → URA2L2QI-DOqGA-7p.js} +1 -1
  44. package/dist/renderer/assets/{UXCHDUKG-D6Ae72SJ.js → UXCHDUKG-P-ssqnp6.js} +5 -5
  45. package/dist/renderer/assets/{VKNV3BUX-CQYQjCVp.js → VKNV3BUX-S-I5Vkej.js} +6 -6
  46. package/dist/renderer/assets/{VMV7XPHP-CKz3lx9e.js → VMV7XPHP-CBEFwbRj.js} +1 -1
  47. package/dist/renderer/assets/{WEVWDWVA-DXDXU985.js → WEVWDWVA-NETs7zG0.js} +1 -1
  48. package/dist/renderer/assets/{XRRJ35LF-C66qdAcN.js → XRRJ35LF-ChlUj7II.js} +4 -4
  49. package/dist/renderer/assets/{YFKBLVVN-B1JutB4t.js → YFKBLVVN-a23ZlMUZ.js} +4 -4
  50. package/dist/renderer/assets/{YHRE5QGZ-BoAzNT7K.js → YHRE5QGZ-B4WFiwFa.js} +7 -7
  51. package/dist/renderer/assets/{ZF3OVT4B-tBhjRApP.js → ZF3OVT4B-D99LRppp.js} +3 -3
  52. package/dist/renderer/assets/{index-6XszqTLE.js → index-9wJDFDHb.js} +1 -1
  53. package/dist/renderer/assets/{index-HSHw3F3k.js → index-B-sTajw0.js} +1 -1
  54. package/dist/renderer/assets/{index-CAuNb95h.js → index-B3xEpmeL.js} +1 -1
  55. package/dist/renderer/assets/{index-DROMWNcj.js → index-B7a6ecSB.js} +1 -1
  56. package/dist/renderer/assets/{index-Dg6oPZ5w.js → index-BQRkI4XZ.js} +3 -3
  57. package/dist/renderer/assets/{index-CxqBaXly.js → index-BUMCX36l.js} +1 -1
  58. package/dist/renderer/assets/{index-Bz1F6_A_.js → index-BXMm6of_.js} +1 -1
  59. package/dist/renderer/assets/{index-BHNBF13i.js → index-BgaTyTt4.js} +1 -1
  60. package/dist/renderer/assets/{index-k6oLH39v.js → index-C5S7E_iS.js} +3 -3
  61. package/dist/renderer/assets/{index-8VmLWls0.js → index-CBsqa7KF.js} +1 -1
  62. package/dist/renderer/assets/{index-Coye68JD.js → index-CFd49PzX.js} +1 -1
  63. package/dist/renderer/assets/{index-DUg0by2F.js → index-CX3eLmnK.js} +1 -1
  64. package/dist/renderer/assets/{index-CQ2EdLQr.js → index-CizbQ4B2.js} +1 -1
  65. package/dist/renderer/assets/{index-CZRO_PAZ.js → index-Cl38Mcu3.js} +1 -1
  66. package/dist/renderer/assets/{index-C1fw6u5V.js → index-CmCG8RWM.js} +1 -1
  67. package/dist/renderer/assets/{index-KKUqPjEB.js → index-Cr5af8vL.js} +1 -1
  68. package/dist/renderer/assets/{index-Bk6TVqB_.js → index-DNKeYHeb.js} +1 -1
  69. package/dist/renderer/assets/{index-Bcx2JMPS.js → index-DShnMzLx.js} +677 -262
  70. package/dist/renderer/assets/{index-Dl8YooLt.js → index-DurJ4oOc.js} +3 -3
  71. package/dist/renderer/assets/{index-Dqlv2y9T.js → index-WU2bjQIt.js} +1 -1
  72. package/dist/renderer/assets/{index-BSrZe3ki.css → index-Xe00ZDVa.css} +32 -14
  73. package/dist/renderer/assets/{index-UzBrnlvb.js → index-j9IOhwim.js} +1 -1
  74. package/dist/renderer/assets/{lazy-DVRRTm-q.js → lazy-C5_LqPMG.js} +3 -3
  75. package/dist/renderer/assets/{web-Ct-G5Yg8.js → web-C4L7HQnE.js} +2 -2
  76. package/dist/renderer/assets/{web-CAJ9chii.js → web-ClAYTlQS.js} +1 -1
  77. package/dist/renderer/assets/{web-Y168OUbw.js → web-DJNzGtPV.js} +1 -1
  78. package/dist/renderer/index.html +2 -2
  79. package/package.json +3 -1
  80. package/themes/README.md +30 -0
  81. package/themes/bear.css +1 -1
  82. package/themes/contract.json +1 -1
  83. package/themes/dark.css +9 -1
  84. package/themes/dracula.css +1 -5
  85. package/themes/elegant.css +5 -12
  86. package/themes/gruvbox.css +1 -5
  87. package/themes/light.css +1 -1
  88. package/themes/midnight.css +7 -3
  89. package/themes/nord.css +1 -5
  90. package/themes/notion.css +9 -11
  91. package/themes/sepia.css +3 -6
  92. package/themes/solarized-dark.css +1 -1
  93. package/themes/writer.css +9 -1
  94. package/dist/renderer/assets/index-eBhE19Gh.js +0 -110
@@ -1,7 +1,7 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./web-Y168OUbw.js","./index-Bcx2JMPS.js","./index-BSrZe3ki.css"])))=>i.map(i=>d[i]);
2
- import { r as registerPlugin, _ as __vitePreload } from "./index-Bcx2JMPS.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./web-DJNzGtPV.js","./index-DShnMzLx.js","./index-Xe00ZDVa.css"])))=>i.map(i=>d[i]);
2
+ import { r as registerPlugin, _ as __vitePreload } from "./index-DShnMzLx.js";
3
3
  const Share = registerPlugin("Share", {
4
- web: () => __vitePreload(() => import("./web-Y168OUbw.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url).then((m) => new m.ShareWeb())
4
+ web: () => __vitePreload(() => import("./web-DJNzGtPV.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url).then((m) => new m.ShareWeb())
5
5
  });
6
6
  export {
7
7
  Share
@@ -1,4 +1,4 @@
1
- import { a as LanguageSupport, n as defineCSSCompletionSource, L as LRLanguage, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, o as foldInside, e as LRParser, E as ExternalTokenizer, s as styleTags, t as tags } from "./index-Bcx2JMPS.js";
1
+ import { a as LanguageSupport, n as defineCSSCompletionSource, L as LRLanguage, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, o as foldInside, e as LRParser, E as ExternalTokenizer, s as styleTags, t as tags } from "./index-DShnMzLx.js";
2
2
  const descendantOp = 110, Unit = 1, openArgList = 2;
3
3
  const space = [
4
4
  9,
@@ -1474,12 +1474,13 @@ body.presenting #editor .cm-content svg {
1474
1474
  }
1475
1475
  }
1476
1476
 
1477
- /* Android 是单文档:手机上没有第二篇文档可切,页签条只会挤占顶行;
1478
- 文件列表面板也只属于桌面,导航开关已经移除,这里把面板和它的拖拽把手
1479
- 一起藏掉,避免留下一个打不开又关不掉的界面。 */
1480
- body.platform-android #tab-bar,
1477
+ /* Android 单窗体:文件列表、拖拽把手、页签条一起藏掉。移动端一次只编辑一个文档,
1478
+ 打开文件直接替换当前内容,靠「打开文件」/文件列表导航,不做页签(对标 iA Writer
1479
+ 等移动端 Markdown 编辑器的单文档形态)。 */
1481
1480
  body.platform-android #file-panel,
1482
- body.platform-android #panel-resizer {
1481
+ body.platform-android #panel-resizer,
1482
+ body.platform-android #tab-bar,
1483
+ body.platform-android .tab-new-btn {
1483
1484
  display: none;
1484
1485
  }
1485
1486
  /* ======= PREMIUM THEMES =======
@@ -1866,8 +1867,13 @@ body.source-mode #editor .cm-content {
1866
1867
  width: 0.8em;
1867
1868
  }
1868
1869
 
1869
- /* 有序列表的序号。行首那个数被替换成了重排后的编号,它是内容,不是标记。 */
1870
- .cm-content .cm-md-li .cm-md-listmark {
1870
+ /* 有序列表的序号。行首那个数被替换成了重排后的编号,它是内容,不是标记。
1871
+ *
1872
+ * 里面那个 `*` 不是随手写的:高亮层把 ListMark 当 processingInstruction 压成灰色,
1873
+ * 那道 span **嵌在** cm-md-listmark 里面,只给外面这层设颜色盖不住它,屏幕上序号
1874
+ * 还是灰的(2026-10-25 报的:「3 和 9 是黑色的,其他都是灰色」)。 */
1875
+ .cm-content .cm-md-li .cm-md-listmark,
1876
+ .cm-content .cm-md-li .cm-md-listmark * {
1871
1877
  color: var(--text-color);
1872
1878
  }
1873
1879
 
@@ -1962,10 +1968,15 @@ body.source-mode #editor .cm-content {
1962
1968
  font-size: 0.875em;
1963
1969
  }
1964
1970
 
1971
+ /*
1972
+ * 上下留白用 padding,不能用 margin。块级 widget 的高度是 CodeMirror 按
1973
+ * getBoundingClientRect() 量的,外边距不算在 rect 里,可浏览器排版时又真的占位置,
1974
+ * 于是它往后每一行的坐标都比 CodeMirror 记的偏低一截,点正文时光标落到下一行
1975
+ * (#199,两张表叠起来就够错一行)。 */
1965
1976
  .cm-content .cm-md-table-widget {
1966
1977
  border-collapse: collapse;
1967
1978
  width: 100%;
1968
- margin: 0.25em 0;
1979
+ padding: 0.25em 0;
1969
1980
  }
1970
1981
 
1971
1982
  .cm-content .cm-md-table-widget th,
@@ -2066,8 +2077,13 @@ body.source-mode #editor .cm-content {
2066
2077
  * 文件里的 HTML 照原样画出来(先过 html-sanitize 的闸)。
2067
2078
  * 自己的外观交给元素自身的属性,这里只给块级留一点呼吸。
2068
2079
  */
2080
+ /*
2081
+ * 上下留白用 padding,不能用 margin(#199)。块级 widget 的高度是 CodeMirror 按
2082
+ * getBoundingClientRect() 量的,外边距不算在 rect 里,浏览器排版时又真占位置,于是
2083
+ * 它下面每一行的坐标都比 CodeMirror 记的偏低一截,点正文时光标落到下一行。
2084
+ */
2069
2085
  .cm-content .cm-md-html-block {
2070
- margin: 0.4em 0;
2086
+ padding: 0.4em 0;
2071
2087
  }
2072
2088
 
2073
2089
  .cm-content .cm-md-html-inline {
@@ -2127,8 +2143,7 @@ body.source-mode #editor .cm-content {
2127
2143
  .cm-content .cm-md-math-block {
2128
2144
  display: block;
2129
2145
  text-align: center;
2130
- padding: 8px;
2131
- margin: 0.25em 0;
2146
+ padding: 12px 8px;
2132
2147
  border-radius: 6px;
2133
2148
  cursor: text;
2134
2149
  }
@@ -2202,7 +2217,10 @@ body.exporting .cm-content .cm-md-frontmatter {
2202
2217
 
2203
2218
  /* ======= mermaid ======= */
2204
2219
 
2205
- .cm-content .cm-md-mermaid {
2220
+ /* 不带 .cm-content 前缀:导出的 HTML 里 mermaid 块落在 .colamd-document 下,
2221
+ 没有 .cm-content 祖先;选择器收在编辑器里,导出文档的 SVG 就解析不到
2222
+ --pele-*,只能吃 pele 自己的兜底色,颜色跟界面对不上(导出 HTML 实测)。 */
2223
+ .cm-md-mermaid {
2206
2224
  display: block;
2207
2225
  text-align: center;
2208
2226
  padding: 0.8em 0;
@@ -2233,12 +2251,12 @@ body.exporting .cm-content .cm-md-frontmatter {
2233
2251
  --pele-radius: 6px;
2234
2252
  }
2235
2253
 
2236
- .cm-content .cm-md-mermaid svg {
2254
+ .cm-md-mermaid svg {
2237
2255
  max-width: 100%;
2238
2256
  height: auto;
2239
2257
  }
2240
2258
 
2241
- .cm-content .cm-md-mermaid-failed {
2259
+ .cm-md-mermaid-failed {
2242
2260
  text-align: left;
2243
2261
  font-family: var(--font-mono);
2244
2262
  font-size: 0.9em;
@@ -1,4 +1,4 @@
1
- import { e as LRParser, E as ExternalTokenizer, C as ContextTracker, s as styleTags, t as tags, a as LanguageSupport, p as parseMixed, L as LRLanguage, i as indentNodeProp, l as delimitedIndent, f as foldNodeProp, o as foldInside } from "./index-Bcx2JMPS.js";
1
+ import { e as LRParser, E as ExternalTokenizer, C as ContextTracker, s as styleTags, t as tags, a as LanguageSupport, p as parseMixed, L as LRLanguage, i as indentNodeProp, l as delimitedIndent, f as foldNodeProp, o as foldInside } from "./index-DShnMzLx.js";
2
2
  const blockEnd = 63, eof = 64, DirectiveEnd = 1, DocEnd = 2, sequenceStartMark = 3, sequenceContinueMark = 4, explicitMapStartMark = 5, explicitMapContinueMark = 6, flowMapMark = 7, mapStartMark = 65, mapContinueMark = 66, Literal = 8, QuotedLiteral = 9, Anchor = 10, Alias = 11, Tag = 12, BlockLiteralContent = 13, BracketL = 19, FlowSequence = 20, Colon = 29, BraceL = 33, FlowMapping = 34, BlockLiteralHeader = 47;
3
3
  const type_Top = 0, type_Seq = 1, type_Map = 2, type_Flow = 3, type_Lit = 4;
4
4
  class Context {
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./NV4XNBIS-BCaP1w8q.js","./FTXIJQGB-BX14b7pN.js","./7WLXJQOR-C8MM6Bra.js","./ELSXBIJH-Bg-hsqjD.js","./RZSVICHU-Chf4nk49.js","./FKCDD66M-CenzCJNz.js","./HWDLEDTA-dKG_tB6l.js","./JZWSX6AR-DGqy6mhj.js","./URA2L2QI-DkaJzKIj.js","./DKTLEL5E-Dj3316cp.js","./XRRJ35LF-C66qdAcN.js","./VMV7XPHP-CKz3lx9e.js","./index-Bcx2JMPS.js","./index-BSrZe3ki.css","./BNMLP6AG-B895CsjY.js","./G3MDBVQH-qZ3yfAIw.js","./KS3BB3KE-ChYPdbg1.js","./N6DAJLIZ-Jz5IcMsB.js","./UHTQJXKL-Y4ThTfXK.js","./FP7KDXVC-BmH1Qg4f.js","./WEVWDWVA-DXDXU985.js","./UEXXS2NB-Bm2T4HQE.js","./MXGNCBL2-DEhdb9Po.js","./QYHQDLKZ-Dm9JiJIz.js","./MFVI5XKI-C1-R608I.js","./ZF3OVT4B-tBhjRApP.js","./RVARI57O-DMrXgtoB.js","./4TTDE5I4-C7pizLRz.js","./AAXQQPKT-DiRTivQz.js","./YFKBLVVN-B1JutB4t.js","./PU4ISKXV-D-ZMREMw.js","./Q3IYVLG5-BpItOJB9.js","./DR6PKOQU-CrswvvVG.js","./NU5M23IW-C8k8MpXh.js","./5THPTBWS-2mBFupjU.js","./KQOEJWJY-RpP1RapT.js","./ERTIBQVS-BNxjgPXX.js","./GY35JXOZ-Cz54qXE9.js","./4UF3HTLV-Bgp6lNzK.js","./MWY2J62P-CYEJcQI7.js","./OGLU4SIR-OGqdd7qE.js","./YHRE5QGZ-BoAzNT7K.js","./46IJ22JX-CNFviTsR.js","./2DXBBFLN-BZbS7Pd1.js","./F653G4FO-Dt3YtuWS.js","./VKNV3BUX-CQYQjCVp.js","./PUZGS23X-DsbrgiWg.js","./AKE5O7KZ-DB0fY69K.js","./E4RJ7UJB-Dgy0Anf4.js","./FT5I3RHX-Dd_6diyz.js","./OUNS5N76-p6wVW2dP.js","./KXJRRZHI-DSLhPV79.js","./UXCHDUKG-D6Ae72SJ.js","./H5EEJPP2-FerEQPg3.js"])))=>i.map(i=>d[i]);
2
- import { _ as __vitePreload } from "./index-Bcx2JMPS.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./NV4XNBIS-BDKWqPgJ.js","./FTXIJQGB-BX14b7pN.js","./7WLXJQOR-C8MM6Bra.js","./ELSXBIJH-W0-fIyGs.js","./RZSVICHU-DQMvf7FW.js","./FKCDD66M-CqwX5T9T.js","./HWDLEDTA-BfmnLbys.js","./JZWSX6AR-DibCj0_r.js","./URA2L2QI-DOqGA-7p.js","./DKTLEL5E-Dj3316cp.js","./XRRJ35LF-ChlUj7II.js","./VMV7XPHP-CBEFwbRj.js","./index-DShnMzLx.js","./index-Xe00ZDVa.css","./BNMLP6AG-DvupnLHN.js","./G3MDBVQH-qZ3yfAIw.js","./KS3BB3KE-BKXN5GEp.js","./N6DAJLIZ-CsI-0Pob.js","./UHTQJXKL-BCjkwDC-.js","./FP7KDXVC-SqJKRKSf.js","./WEVWDWVA-NETs7zG0.js","./UEXXS2NB-pjQFygyK.js","./MXGNCBL2-CrYuCAhj.js","./QYHQDLKZ-Dk9FA6iI.js","./MFVI5XKI-yEhNzg_a.js","./ZF3OVT4B-D99LRppp.js","./RVARI57O-DMrXgtoB.js","./4TTDE5I4-D0OZH30N.js","./AAXQQPKT-eq8R1-i0.js","./YFKBLVVN-a23ZlMUZ.js","./PU4ISKXV-DHAw3ojo.js","./Q3IYVLG5-BBP8APVJ.js","./DR6PKOQU-DXqY3tAL.js","./NU5M23IW-BRouDTU6.js","./5THPTBWS-2mBFupjU.js","./KQOEJWJY-CYbDpxpS.js","./ERTIBQVS-Cjo8zCEV.js","./GY35JXOZ-D_hAOI09.js","./4UF3HTLV-B9lH7CBB.js","./MWY2J62P-PD0ivp8r.js","./OGLU4SIR-e03S5CRP.js","./YHRE5QGZ-B4WFiwFa.js","./46IJ22JX-Dl5oABYC.js","./2DXBBFLN-BJduq_n1.js","./F653G4FO-t4kGthl5.js","./VKNV3BUX-S-I5Vkej.js","./PUZGS23X-BJvqqbjA.js","./AKE5O7KZ-BPFFZy5e.js","./E4RJ7UJB-B3-v1GGn.js","./FT5I3RHX-B1_XlJMF.js","./OUNS5N76-DXs9fuRM.js","./KXJRRZHI-Dd9nToeE.js","./UXCHDUKG-P-ssqnp6.js","./H5EEJPP2-Dh0ee_t_.js"])))=>i.map(i=>d[i]);
2
+ import { _ as __vitePreload } from "./index-DShnMzLx.js";
3
3
  var g$2 = class g {
4
4
  constructor(t2) {
5
5
  this.message = t2;
@@ -976,7 +976,7 @@ function bt(e2, t2 = {}) {
976
976
  function $t(e2, t2, o2 = {}) {
977
977
  return ze({ parse: yt, render: bt }, e2, t2, o2);
978
978
  }
979
- var g2 = /* @__PURE__ */ new Map([["flowchart", () => __vitePreload(() => import("./NV4XNBIS-BCaP1w8q.js").then((n) => n.N), true ? __vite__mapDeps([0,1,2,3,4,5,6,7,8,9]) : void 0, import.meta.url).then((n) => n.flowchart)], ["pie", () => __vitePreload(() => import("./XRRJ35LF-C66qdAcN.js"), true ? __vite__mapDeps([10,9,11,4,12,13]) : void 0, import.meta.url).then((n) => n.pie)], ["er", () => __vitePreload(() => import("./BNMLP6AG-B895CsjY.js"), true ? __vite__mapDeps([14,15,3,4,5,6,7,9,12,13]) : void 0, import.meta.url).then((n) => n.er)], ["mindmap", () => __vitePreload(() => import("./KS3BB3KE-ChYPdbg1.js"), true ? __vite__mapDeps([16,17,4,8,9,12,13]) : void 0, import.meta.url).then((n) => n.mindmap)], ["kanban", () => __vitePreload(() => import("./UHTQJXKL-Y4ThTfXK.js"), true ? __vite__mapDeps([18,17,4,7,9,12,13]) : void 0, import.meta.url).then((n) => n.kanban)], ["timeline", () => __vitePreload(() => import("./FP7KDXVC-BmH1Qg4f.js"), true ? __vite__mapDeps([19,20,21,4,9,6,12,13]) : void 0, import.meta.url).then((n) => n.timeline)], ["journey", () => __vitePreload(() => import("./MXGNCBL2-DEhdb9Po.js"), true ? __vite__mapDeps([22,20,21,4,9,12,13]) : void 0, import.meta.url).then((n) => n.journey)], ["class", () => __vitePreload(() => import("./QYHQDLKZ-Dm9JiJIz.js"), true ? __vite__mapDeps([23,24,4,15,2,3,5,6,7,8,9,12,13]) : void 0, import.meta.url).then((n) => n.classDiagram)], ["quadrantChart", () => __vitePreload(() => import("./ZF3OVT4B-tBhjRApP.js"), true ? __vite__mapDeps([25,26,9,4,12,13]) : void 0, import.meta.url).then((n) => n.quadrantChart)], ["xychart", () => __vitePreload(() => import("./4TTDE5I4-C7pizLRz.js"), true ? __vite__mapDeps([27,26,9,4,12,13]) : void 0, import.meta.url).then((n) => n.xychart)], ["state", () => __vitePreload(() => import("./AAXQQPKT-DiRTivQz.js"), true ? __vite__mapDeps([28,24,4,5,6,7,8,9,12,13]) : void 0, import.meta.url).then((n) => n.state)], ["gantt", () => __vitePreload(() => import("./YFKBLVVN-B1JutB4t.js"), true ? __vite__mapDeps([29,7,4,9,12,13]) : void 0, import.meta.url).then((n) => n.gantt)], ["architecture", () => __vitePreload(() => import("./PU4ISKXV-D-ZMREMw.js"), true ? __vite__mapDeps([30,9,11,6,4,12,13]) : void 0, import.meta.url).then((n) => n.architecture)], ["requirement", () => __vitePreload(() => import("./Q3IYVLG5-BpItOJB9.js"), true ? __vite__mapDeps([31,5,6,4,9,12,13]) : void 0, import.meta.url).then((n) => n.requirement)], ["sankey", () => __vitePreload(() => import("./DR6PKOQU-CrswvvVG.js"), true ? __vite__mapDeps([32,9,4,12,13]) : void 0, import.meta.url).then((n) => n.sankey)], ["packet", () => __vitePreload(() => import("./NU5M23IW-C8k8MpXh.js"), true ? __vite__mapDeps([33,34,35,4,9,11,12,13]) : void 0, import.meta.url).then((n) => n.packet)], ["radar", () => __vitePreload(() => import("./ERTIBQVS-BNxjgPXX.js"), true ? __vite__mapDeps([36,9,11,4,12,13]) : void 0, import.meta.url).then((n) => n.radar)], ["treemap", () => __vitePreload(() => import("./GY35JXOZ-Cz54qXE9.js"), true ? __vite__mapDeps([37,34,9,11,4,12,13]) : void 0, import.meta.url).then((n) => n.treemap)], ["info", () => __vitePreload(() => import("./4UF3HTLV-Bgp6lNzK.js"), true ? __vite__mapDeps([38,11,4,12,13]) : void 0, import.meta.url).then((n) => n.info)], ["sequence", () => __vitePreload(() => import("./MWY2J62P-CYEJcQI7.js"), true ? __vite__mapDeps([39,35,4,9,6,12,13]) : void 0, import.meta.url).then((n) => n.sequence)], ["gitGraph", () => __vitePreload(() => import("./OGLU4SIR-OGqdd7qE.js"), true ? __vite__mapDeps([40,21,4,9,11,12,13]) : void 0, import.meta.url).then((n) => n.gitGraph)], ["c4", () => __vitePreload(() => import("./YHRE5QGZ-BoAzNT7K.js"), true ? __vite__mapDeps([41,35,4,7,8,9,6,12,13]) : void 0, import.meta.url).then((n) => n.c4)], ["block", () => __vitePreload(() => import("./46IJ22JX-CNFviTsR.js"), true ? __vite__mapDeps([42,8,4,9,6,12,13]) : void 0, import.meta.url).then((n) => n.block)], ["railroad", () => __vitePreload(() => import("./2DXBBFLN-BZbS7Pd1.js"), true ? __vite__mapDeps([43,9,11,4,12,13]) : void 0, import.meta.url).then((n) => n.railroad)], ["agentflow", () => __vitePreload(() => import("./F653G4FO-Dt3YtuWS.js"), true ? __vite__mapDeps([44,1,2,3,4,5,6,7,8,9,12,13]) : void 0, import.meta.url).then((n) => n.agentflow)], ["treeView", () => __vitePreload(() => import("./VKNV3BUX-CQYQjCVp.js"), true ? __vite__mapDeps([45,46,11,35,4,9,12,13]) : void 0, import.meta.url).then((n) => n.treeView)], ["cynefin", () => __vitePreload(() => import("./AKE5O7KZ-DB0fY69K.js"), true ? __vite__mapDeps([47,11,6,4,12,13]) : void 0, import.meta.url).then((n) => n.cynefin)], ["wardley", () => __vitePreload(() => import("./E4RJ7UJB-Dgy0Anf4.js"), true ? __vite__mapDeps([48,46,11,9,6,4,12,13]) : void 0, import.meta.url).then((n) => n.wardley)], ["eventmodeling", () => __vitePreload(() => import("./FT5I3RHX-Dd_6diyz.js"), true ? __vite__mapDeps([49,46,11,35,4,9,6,12,13]) : void 0, import.meta.url).then((n) => n.eventmodeling)], ["usecase", () => __vitePreload(() => import("./OUNS5N76-p6wVW2dP.js"), true ? __vite__mapDeps([50,3,4,5,6,9,12,13]) : void 0, import.meta.url).then((n) => n.usecase)], ["venn", () => __vitePreload(() => import("./KXJRRZHI-DSLhPV79.js"), true ? __vite__mapDeps([51,4,12,13]) : void 0, import.meta.url).then((n) => n.venn)], ["ishikawa", () => __vitePreload(() => import("./UXCHDUKG-D6Ae72SJ.js"), true ? __vite__mapDeps([52,35,4,9,6,12,13]) : void 0, import.meta.url).then((n) => n.ishikawa)], ["swimlane", () => __vitePreload(() => import("./H5EEJPP2-FerEQPg3.js"), true ? __vite__mapDeps([53,0,1,2,3,4,5,6,7,8,9,12,13]) : void 0, import.meta.url).then((n) => n.swimlane)]]), i = /* @__PURE__ */ new Map();
979
+ var g2 = /* @__PURE__ */ new Map([["flowchart", () => __vitePreload(() => import("./NV4XNBIS-BDKWqPgJ.js").then((n) => n.N), true ? __vite__mapDeps([0,1,2,3,4,5,6,7,8,9]) : void 0, import.meta.url).then((n) => n.flowchart)], ["pie", () => __vitePreload(() => import("./XRRJ35LF-ChlUj7II.js"), true ? __vite__mapDeps([10,9,11,4,12,13]) : void 0, import.meta.url).then((n) => n.pie)], ["er", () => __vitePreload(() => import("./BNMLP6AG-DvupnLHN.js"), true ? __vite__mapDeps([14,15,3,4,5,6,7,9,12,13]) : void 0, import.meta.url).then((n) => n.er)], ["mindmap", () => __vitePreload(() => import("./KS3BB3KE-BKXN5GEp.js"), true ? __vite__mapDeps([16,17,4,8,9,12,13]) : void 0, import.meta.url).then((n) => n.mindmap)], ["kanban", () => __vitePreload(() => import("./UHTQJXKL-BCjkwDC-.js"), true ? __vite__mapDeps([18,17,4,7,9,12,13]) : void 0, import.meta.url).then((n) => n.kanban)], ["timeline", () => __vitePreload(() => import("./FP7KDXVC-SqJKRKSf.js"), true ? __vite__mapDeps([19,20,21,4,9,6,12,13]) : void 0, import.meta.url).then((n) => n.timeline)], ["journey", () => __vitePreload(() => import("./MXGNCBL2-CrYuCAhj.js"), true ? __vite__mapDeps([22,20,21,4,9,12,13]) : void 0, import.meta.url).then((n) => n.journey)], ["class", () => __vitePreload(() => import("./QYHQDLKZ-Dk9FA6iI.js"), true ? __vite__mapDeps([23,24,4,15,2,3,5,6,7,8,9,12,13]) : void 0, import.meta.url).then((n) => n.classDiagram)], ["quadrantChart", () => __vitePreload(() => import("./ZF3OVT4B-D99LRppp.js"), true ? __vite__mapDeps([25,26,9,4,12,13]) : void 0, import.meta.url).then((n) => n.quadrantChart)], ["xychart", () => __vitePreload(() => import("./4TTDE5I4-D0OZH30N.js"), true ? __vite__mapDeps([27,26,9,4,12,13]) : void 0, import.meta.url).then((n) => n.xychart)], ["state", () => __vitePreload(() => import("./AAXQQPKT-eq8R1-i0.js"), true ? __vite__mapDeps([28,24,4,5,6,7,8,9,12,13]) : void 0, import.meta.url).then((n) => n.state)], ["gantt", () => __vitePreload(() => import("./YFKBLVVN-a23ZlMUZ.js"), true ? __vite__mapDeps([29,7,4,9,12,13]) : void 0, import.meta.url).then((n) => n.gantt)], ["architecture", () => __vitePreload(() => import("./PU4ISKXV-DHAw3ojo.js"), true ? __vite__mapDeps([30,9,11,6,4,12,13]) : void 0, import.meta.url).then((n) => n.architecture)], ["requirement", () => __vitePreload(() => import("./Q3IYVLG5-BBP8APVJ.js"), true ? __vite__mapDeps([31,5,6,4,9,12,13]) : void 0, import.meta.url).then((n) => n.requirement)], ["sankey", () => __vitePreload(() => import("./DR6PKOQU-DXqY3tAL.js"), true ? __vite__mapDeps([32,9,4,12,13]) : void 0, import.meta.url).then((n) => n.sankey)], ["packet", () => __vitePreload(() => import("./NU5M23IW-BRouDTU6.js"), true ? __vite__mapDeps([33,34,35,4,9,11,12,13]) : void 0, import.meta.url).then((n) => n.packet)], ["radar", () => __vitePreload(() => import("./ERTIBQVS-Cjo8zCEV.js"), true ? __vite__mapDeps([36,9,11,4,12,13]) : void 0, import.meta.url).then((n) => n.radar)], ["treemap", () => __vitePreload(() => import("./GY35JXOZ-D_hAOI09.js"), true ? __vite__mapDeps([37,34,9,11,4,12,13]) : void 0, import.meta.url).then((n) => n.treemap)], ["info", () => __vitePreload(() => import("./4UF3HTLV-B9lH7CBB.js"), true ? __vite__mapDeps([38,11,4,12,13]) : void 0, import.meta.url).then((n) => n.info)], ["sequence", () => __vitePreload(() => import("./MWY2J62P-PD0ivp8r.js"), true ? __vite__mapDeps([39,35,4,9,6,12,13]) : void 0, import.meta.url).then((n) => n.sequence)], ["gitGraph", () => __vitePreload(() => import("./OGLU4SIR-e03S5CRP.js"), true ? __vite__mapDeps([40,21,4,9,11,12,13]) : void 0, import.meta.url).then((n) => n.gitGraph)], ["c4", () => __vitePreload(() => import("./YHRE5QGZ-B4WFiwFa.js"), true ? __vite__mapDeps([41,35,4,7,8,9,6,12,13]) : void 0, import.meta.url).then((n) => n.c4)], ["block", () => __vitePreload(() => import("./46IJ22JX-Dl5oABYC.js"), true ? __vite__mapDeps([42,8,4,9,6,12,13]) : void 0, import.meta.url).then((n) => n.block)], ["railroad", () => __vitePreload(() => import("./2DXBBFLN-BJduq_n1.js"), true ? __vite__mapDeps([43,9,11,4,12,13]) : void 0, import.meta.url).then((n) => n.railroad)], ["agentflow", () => __vitePreload(() => import("./F653G4FO-t4kGthl5.js"), true ? __vite__mapDeps([44,1,2,3,4,5,6,7,8,9,12,13]) : void 0, import.meta.url).then((n) => n.agentflow)], ["treeView", () => __vitePreload(() => import("./VKNV3BUX-S-I5Vkej.js"), true ? __vite__mapDeps([45,46,11,35,4,9,12,13]) : void 0, import.meta.url).then((n) => n.treeView)], ["cynefin", () => __vitePreload(() => import("./AKE5O7KZ-BPFFZy5e.js"), true ? __vite__mapDeps([47,11,6,4,12,13]) : void 0, import.meta.url).then((n) => n.cynefin)], ["wardley", () => __vitePreload(() => import("./E4RJ7UJB-B3-v1GGn.js"), true ? __vite__mapDeps([48,46,11,9,6,4,12,13]) : void 0, import.meta.url).then((n) => n.wardley)], ["eventmodeling", () => __vitePreload(() => import("./FT5I3RHX-B1_XlJMF.js"), true ? __vite__mapDeps([49,46,11,35,4,9,6,12,13]) : void 0, import.meta.url).then((n) => n.eventmodeling)], ["usecase", () => __vitePreload(() => import("./OUNS5N76-DXs9fuRM.js"), true ? __vite__mapDeps([50,3,4,5,6,9,12,13]) : void 0, import.meta.url).then((n) => n.usecase)], ["venn", () => __vitePreload(() => import("./KXJRRZHI-Dd9nToeE.js"), true ? __vite__mapDeps([51,4,12,13]) : void 0, import.meta.url).then((n) => n.venn)], ["ishikawa", () => __vitePreload(() => import("./UXCHDUKG-P-ssqnp6.js"), true ? __vite__mapDeps([52,35,4,9,6,12,13]) : void 0, import.meta.url).then((n) => n.ishikawa)], ["swimlane", () => __vitePreload(() => import("./H5EEJPP2-Dh0ee_t_.js"), true ? __vite__mapDeps([53,0,1,2,3,4,5,6,7,8,9,12,13]) : void 0, import.meta.url).then((n) => n.swimlane)]]), i = /* @__PURE__ */ new Map();
980
980
  function p(n) {
981
981
  if (n === null) return Promise.resolve(false);
982
982
  if (_t(n)) return Promise.resolve(true);
@@ -1,5 +1,5 @@
1
- import { W as WebPlugin, u as buildRequestInit } from "./index-Bcx2JMPS.js";
2
- import { Encoding } from "./index-k6oLH39v.js";
1
+ import { W as WebPlugin, u as buildRequestInit } from "./index-DShnMzLx.js";
2
+ import { Encoding } from "./index-C5S7E_iS.js";
3
3
  function resolve(path) {
4
4
  const posix = path.split("/").filter((item) => item !== ".");
5
5
  const newPosix = [];
@@ -1,4 +1,4 @@
1
- import { W as WebPlugin } from "./index-Bcx2JMPS.js";
1
+ import { W as WebPlugin } from "./index-DShnMzLx.js";
2
2
  class AppWeb extends WebPlugin {
3
3
  constructor() {
4
4
  super();
@@ -1,4 +1,4 @@
1
- import { W as WebPlugin } from "./index-Bcx2JMPS.js";
1
+ import { W as WebPlugin } from "./index-DShnMzLx.js";
2
2
  class ShareWeb extends WebPlugin {
3
3
  async canShare() {
4
4
  if (typeof navigator === "undefined" || !navigator.share) {
@@ -25,8 +25,8 @@
25
25
  #file-panel { width: var(--file-panel-width, 220px); }
26
26
  #panel-resizer { position: fixed; top: calc(36px + var(--tab-bar-height, 0px)); bottom: 0; right: calc(var(--file-panel-width, 220px) - 4px); width: 7px; cursor: col-resize; z-index: 6; background: transparent; }
27
27
  </style>
28
- <script type="module" crossorigin src="./assets/index-Bcx2JMPS.js"></script>
29
- <link rel="stylesheet" crossorigin href="./assets/index-BSrZe3ki.css">
28
+ <script type="module" crossorigin src="./assets/index-DShnMzLx.js"></script>
29
+ <link rel="stylesheet" crossorigin href="./assets/index-Xe00ZDVa.css">
30
30
  </head>
31
31
  <body>
32
32
  <div id="titlebar">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytechain.cn/colamd",
3
- "version": "2.7.9",
3
+ "version": "2.7.12",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"
@@ -57,6 +57,7 @@
57
57
  "verify:markdown": "node scripts/verify-markdown.mjs",
58
58
  "verify:links": "node scripts/verify-links.mjs",
59
59
  "verify:features": "node scripts/verify-features.mjs",
60
+ "verify:list": "node scripts/verify-list-input.mjs",
60
61
  "verify:scroll-render": "node scripts/verify-scroll-render.mjs",
61
62
  "verify:image-export": "node scripts/verify-image-export.mjs",
62
63
  "verify:export-pdf": "node scripts/verify-export-pdf.mjs",
@@ -64,6 +65,7 @@
64
65
  "verify:themes:cli": "node scripts/verify-themes-cli.mjs",
65
66
  "verify:theme-contract": "node scripts/verify-theme-contract.mjs",
66
67
  "verify:lib": "node scripts/verify-lib.mjs",
68
+ "verify:docx": "node scripts/verify-docx.mjs",
67
69
  "cap:sync": "npm run build && npx cap sync android",
68
70
  "cap:build:android": "node scripts/cap-android.mjs debug",
69
71
  "cap:build:android:release": "node scripts/cap-android.mjs release",
package/themes/README.md CHANGED
@@ -104,3 +104,33 @@ theme repository can gate merges on the same check.
104
104
  - Theme files should be self-contained (no external imports)
105
105
  - Omitted variables inherit ColaMD's Light defaults, so override only the tokens your theme needs
106
106
  - Name the file descriptively: `dark-ocean.css`, `solarized-light.css`, etc.
107
+
108
+ ## Keeping the standalone files in sync
109
+
110
+ The twelve files in this directory are copies of the built-in themes, **not** the source
111
+ of truth. The app draws a theme from `src/renderer/themes/base.css` (`:root` light
112
+ defaults, `body.theme-dark`, `body.theme-elegant`), `premium.css` (the other nine),
113
+ and the per-theme typography and accent rules in `editor-preview.css`. When a built-in
114
+ theme changes, update the matching standalone file **in the same commit**:
115
+
116
+ - Every variable in `contract.json`'s `liveVariables` must have the same value as the
117
+ built-in block. A variable may be omitted only when the Light default is what that
118
+ theme uses too — omission is inheritance, not a second opinion.
119
+ - Per-theme element rules (bold, inline code, links, quotes, tables) must match
120
+ `editor-preview.css`. A rule that exists only here is a difference users see after
121
+ importing the file, and a rule that exists only upstream is a difference they do not.
122
+ - A standalone override that merely repeats a default is a no-op for `verify:themes`;
123
+ delete it instead of restating the default.
124
+
125
+ What the checks can and cannot catch:
126
+
127
+ | Check | Catches | Does not catch |
128
+ |-------|---------|----------------|
129
+ | `npm run check:theme-colors` | palette contract (contrast, live tokens) | drift from the built-in values |
130
+ | `npm run verify:theme-contract` | contract JSON vs source | drift from the built-in values |
131
+ | `npm run verify:themes` | selectors that match nothing (needs Electron) | standalone vs built-in equality |
132
+
133
+ The built-in/standalone comparison is therefore a manual step during review: diff each
134
+ `body.theme-*` block in `base.css` / `premium.css` and its rules in `editor-preview.css`
135
+ against the matching file here before shipping a theme change.
136
+
package/themes/bear.css CHANGED
@@ -9,7 +9,7 @@
9
9
  --text-color: #262626;
10
10
  --text-secondary: #767676;
11
11
  --text-muted: #8a8a8a;
12
- --border-color: #e8e6e3;
12
+ --border-color: #eeecea;
13
13
  --link-color: #d43d2a;
14
14
  --code-bg: rgba(212, 61, 42, 0.07);
15
15
  --code-block-bg: #2e2a28;
@@ -1,5 +1,5 @@
1
1
  {
2
- "contractVersion": "2.7.9",
2
+ "contractVersion": "2.7.12",
3
3
  "liveVariables": [
4
4
  "--bg-color",
5
5
  "--text-color",
package/themes/dark.css CHANGED
@@ -9,7 +9,7 @@
9
9
  --text-color: #e6edf3;
10
10
  --text-secondary: #aab3bd;
11
11
  --text-muted: #8b949e;
12
- --border-color: #30363d;
12
+ --border-color: #272d34;
13
13
  --link-color: #58a6ff;
14
14
  --code-bg: rgba(110, 118, 129, 0.3);
15
15
  --code-block-bg: #161b22;
@@ -18,3 +18,11 @@
18
18
  --selection-bg: rgba(88, 166, 255, 0.2);
19
19
  --highlight-bg: rgba(210, 153, 34, 0.35);
20
20
  }
21
+
22
+ #editor .cm-content .cm-md-strong {
23
+ color: #e6edf3;
24
+ }
25
+
26
+ #editor .cm-content .cm-md-inlinecode {
27
+ color: #ff7b72;
28
+ }
@@ -9,7 +9,7 @@
9
9
  --text-color: #f8f8f2;
10
10
  --text-secondary: #afb7db;
11
11
  --text-muted: #7f86a8;
12
- --border-color: #44475a;
12
+ --border-color: #3d4051;
13
13
  --link-color: #bd93f9;
14
14
  --code-bg: rgba(98, 114, 164, 0.2);
15
15
  --code-block-bg: #21222c;
@@ -32,7 +32,3 @@
32
32
  #editor .cm-content .cm-md-inlinecode {
33
33
  color: #8be9fd;
34
34
  }
35
-
36
- #editor .cm-content .cm-md-blockquote {
37
- color: #c3c8e0;
38
- }
@@ -9,7 +9,7 @@
9
9
  --text-color: #2c2c2c;
10
10
  --text-secondary: #6c6c6c;
11
11
  --text-muted: #777;
12
- --border-color: #d8d3ce;
12
+ --border-color: #dedad5;
13
13
  --link-color: #bc4424;
14
14
  --code-bg: #e8e4df;
15
15
  --code-block-bg: #2c2c2c;
@@ -17,7 +17,6 @@
17
17
  --blockquote-border: #c44b2b;
18
18
  --blockquote-bg: #eae6e1;
19
19
  --table-header-bg: #eae6e1;
20
- --table-border: #d8d3ce;
21
20
  --selection-bg: rgba(196, 75, 43, 0.2);
22
21
  --highlight-bg: #f0d9a8;
23
22
  }
@@ -35,18 +34,12 @@
35
34
  color: #c44b2b;
36
35
  }
37
36
 
38
- #editor .cm-content .cm-md-blockquote {
39
- /* Horizontal only: a quote is one div per line in the editor, so vertical
40
- padding would be added once for every line of the quote. */
41
- padding-left: 25px;
42
- padding-right: 20px;
37
+ #editor .cm-content .cm-md-table-widget th,
38
+ #editor .cm-content .cm-md-table-widget td {
39
+ border-left: none;
40
+ border-right: none;
43
41
  }
44
42
 
45
43
  #editor .cm-content .cm-md-table-widget th {
46
44
  border-bottom: 2px solid #c44b2b;
47
45
  }
48
-
49
- #editor .cm-content .cm-md-table-widget td {
50
- border-left: none;
51
- border-right: none;
52
- }
@@ -9,7 +9,7 @@
9
9
  --text-color: #ebdbb2;
10
10
  --text-secondary: #c5b5a5;
11
11
  --text-muted: #928374;
12
- --border-color: #3c3836;
12
+ --border-color: #373432;
13
13
  --link-color: #83a598;
14
14
  --code-bg: rgba(235, 219, 178, 0.1);
15
15
  --code-block-bg: #1d2021;
@@ -33,10 +33,6 @@
33
33
  color: #b8bb26;
34
34
  }
35
35
 
36
- #editor .cm-content .cm-md-blockquote {
37
- color: #bdae93;
38
- }
39
-
40
36
  #editor .cm-content .cm-md-hr {
41
37
  border-top-color: #504945;
42
38
  }
package/themes/light.css CHANGED
@@ -9,7 +9,7 @@
9
9
  --text-color: #24292f;
10
10
  --text-secondary: #656d76;
11
11
  --text-muted: #656d76;
12
- --border-color: #d0d7de;
12
+ --border-color: #dce1e6;
13
13
  --link-color: #0969da;
14
14
  --code-bg: rgba(175, 184, 193, 0.2);
15
15
  --code-block-bg: #f6f8fa;
@@ -9,7 +9,7 @@
9
9
  --text-color: #d6d6d6;
10
10
  --text-secondary: #b1b1b1;
11
11
  --text-muted: #7a7a7a;
12
- --border-color: #262626;
12
+ --border-color: #1c1c1c;
13
13
  --link-color: #0a84ff;
14
14
  --code-bg: rgba(255, 255, 255, 0.08);
15
15
  --code-block-bg: #111111;
@@ -25,7 +25,11 @@
25
25
  color: #f5f5f5;
26
26
  }
27
27
 
28
- #editor .cm-content .cm-md-blockquote {
29
- color: #9a9a9a;
28
+ #editor .cm-content .cm-md-strong {
29
+ color: #e8e8e8;
30
+ }
31
+
32
+ #editor .cm-content .cm-md-inlinecode {
33
+ color: #e5786d;
30
34
  }
31
35
 
package/themes/nord.css CHANGED
@@ -9,7 +9,7 @@
9
9
  --text-color: #d8dee9;
10
10
  --text-secondary: #aebdd4;
11
11
  --text-muted: #7d8ba1;
12
- --border-color: #3b4252;
12
+ --border-color: #383e4e;
13
13
  --link-color: #88c0d0;
14
14
  --code-bg: rgba(136, 192, 208, 0.12);
15
15
  --code-block-bg: #262c37;
@@ -32,7 +32,3 @@
32
32
  #editor .cm-content .cm-md-inlinecode {
33
33
  color: #88c0d0;
34
34
  }
35
-
36
- #editor .cm-content .cm-md-blockquote {
37
- color: #aeb9c9;
38
- }
package/themes/notion.css CHANGED
@@ -9,7 +9,7 @@
9
9
  --text-color: #37352f;
10
10
  --text-secondary: #777674;
11
11
  --text-muted: #9b9a97;
12
- --border-color: #e9e9e7;
12
+ --border-color: #eeeeed;
13
13
  --link-color: #37352f;
14
14
  --code-bg: #f7f6f3;
15
15
  --code-block-bg: #f7f6f3;
@@ -19,16 +19,6 @@
19
19
  --highlight-bg: #fdecc8;
20
20
  }
21
21
 
22
- #editor .cm-content .cm-md-link {
23
- text-decoration: underline;
24
- text-decoration-color: #9b9a97;
25
- text-underline-offset: 2px;
26
- }
27
-
28
- #editor .cm-content .cm-md-link:hover {
29
- text-decoration-color: #37352f;
30
- }
31
-
32
22
  #editor .cm-content .cm-md-atxheading1,
33
23
  #editor .cm-content .cm-md-atxheading2 {
34
24
  border-bottom: none;
@@ -36,6 +26,10 @@
36
26
  font-weight: 700;
37
27
  }
38
28
 
29
+ #editor .cm-content .cm-md-strong {
30
+ color: #37352f;
31
+ }
32
+
39
33
  #editor .cm-content .cm-md-inlinecode {
40
34
  color: #eb5757;
41
35
  background: #f7f6f3;
@@ -46,3 +40,7 @@
46
40
  border-left: none;
47
41
  border-right: none;
48
42
  }
43
+
44
+ #editor .cm-content .cm-md-url {
45
+ color: #9b9a97;
46
+ }
package/themes/sepia.css CHANGED
@@ -9,7 +9,7 @@
9
9
  --text-color: #4f4032;
10
10
  --text-secondary: #7b6b54;
11
11
  --text-muted: #9a8a72;
12
- --border-color: #e2d7bf;
12
+ --border-color: #e7ddc7;
13
13
  --link-color: #9c5e29;
14
14
  --code-bg: rgba(122, 90, 51, 0.1);
15
15
  --code-block-bg: #ece2cb;
@@ -35,11 +35,8 @@
35
35
  border-bottom-style: dashed;
36
36
  }
37
37
 
38
- #editor .cm-content .cm-md-blockquote {
39
- /* Horizontal only: a quote is one div per line in the editor, so vertical
40
- padding would be added once for every line of the quote. */
41
- padding-left: 24px;
42
- padding-right: 20px;
38
+ #editor .cm-content .cm-md-strong {
39
+ color: #7a5a33;
43
40
  }
44
41
 
45
42
  #editor .cm-content .cm-md-inlinecode {
@@ -9,7 +9,7 @@
9
9
  --text-color: #c2d5d7;
10
10
  --text-secondary: #a4bbc3;
11
11
  --text-muted: #586e75;
12
- --border-color: #0d3d4a;
12
+ --border-color: #0a3845;
13
13
  --link-color: #3093da;
14
14
  --code-bg: rgba(88, 110, 117, 0.22);
15
15
  --code-block-bg: #073642;
package/themes/writer.css CHANGED
@@ -9,7 +9,7 @@
9
9
  --text-color: #1a1a1a;
10
10
  --text-secondary: #757571;
11
11
  --text-muted: #8e8e8a;
12
- --border-color: #e3e3de;
12
+ --border-color: #e9e9e5;
13
13
  --link-color: #3b6ec4;
14
14
  --code-bg: rgba(0, 0, 0, 0.05);
15
15
  --code-block-bg: #f2f2ee;
@@ -42,3 +42,11 @@
42
42
  #editor .cm-content .cm-md-table-widget td {
43
43
  font-size: 0.9em;
44
44
  }
45
+
46
+ #editor .cm-content .cm-md-strong {
47
+ color: #2f2f2c;
48
+ }
49
+
50
+ #editor .cm-content .cm-md-inlinecode {
51
+ color: #3b6ec4;
52
+ }