@bytechain.cn/colamd 2.7.11 → 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 (92) hide show
  1. package/README.md +4 -3
  2. package/README_CN.md +4 -3
  3. package/dist/main/index.js +2 -1
  4. package/dist/renderer/assets/{2DXBBFLN-BffjYiBQ.js → 2DXBBFLN-BJduq_n1.js} +4 -4
  5. package/dist/renderer/assets/{46IJ22JX-Cqs6Q0nk.js → 46IJ22JX-Dl5oABYC.js} +5 -5
  6. package/dist/renderer/assets/{4TTDE5I4-Di9dPHLj.js → 4TTDE5I4-D0OZH30N.js} +3 -3
  7. package/dist/renderer/assets/{4UF3HTLV-8gLxIs2l.js → 4UF3HTLV-B9lH7CBB.js} +4 -4
  8. package/dist/renderer/assets/{AAXQQPKT-FysWbA2A.js → AAXQQPKT-eq8R1-i0.js} +8 -8
  9. package/dist/renderer/assets/{AKE5O7KZ-B3IOPa-c.js → AKE5O7KZ-BPFFZy5e.js} +5 -5
  10. package/dist/renderer/assets/{BNMLP6AG-D0ug7dDI.js → BNMLP6AG-DvupnLHN.js} +7 -7
  11. package/dist/renderer/assets/{DR6PKOQU-oitmLyhZ.js → DR6PKOQU-DXqY3tAL.js} +3 -3
  12. package/dist/renderer/assets/{E4RJ7UJB-B8xlSgyM.js → E4RJ7UJB-B3-v1GGn.js} +6 -6
  13. package/dist/renderer/assets/{ELSXBIJH-6mTmrNHq.js → ELSXBIJH-W0-fIyGs.js} +1 -1
  14. package/dist/renderer/assets/{ERTIBQVS-Dd68dFC-.js → ERTIBQVS-Cjo8zCEV.js} +4 -4
  15. package/dist/renderer/assets/{F653G4FO-Bu2Zxw-j.js → F653G4FO-t4kGthl5.js} +8 -8
  16. package/dist/renderer/assets/{FKCDD66M-Ba7w0jUC.js → FKCDD66M-CqwX5T9T.js} +1 -1
  17. package/dist/renderer/assets/{FP7KDXVC-Do8T7Drp.js → FP7KDXVC-SqJKRKSf.js} +6 -6
  18. package/dist/renderer/assets/{FT5I3RHX-Cw6_nFK5.js → FT5I3RHX-B1_XlJMF.js} +7 -7
  19. package/dist/renderer/assets/{GY35JXOZ-BgICGoQK.js → GY35JXOZ-D_hAOI09.js} +4 -4
  20. package/dist/renderer/assets/{H5EEJPP2-BhAIE8Iv.js → H5EEJPP2-Dh0ee_t_.js} +9 -9
  21. package/dist/renderer/assets/{HWDLEDTA-LoeArK7M.js → HWDLEDTA-BfmnLbys.js} +1 -1
  22. package/dist/renderer/assets/{JZWSX6AR-D32ich7B.js → JZWSX6AR-DibCj0_r.js} +2 -2
  23. package/dist/renderer/assets/{KQOEJWJY-BjdpuYRt.js → KQOEJWJY-CYbDpxpS.js} +1 -1
  24. package/dist/renderer/assets/{KS3BB3KE-SuIaBOey.js → KS3BB3KE-BKXN5GEp.js} +5 -5
  25. package/dist/renderer/assets/{KXJRRZHI-dzerQwX8.js → KXJRRZHI-Dd9nToeE.js} +3 -3
  26. package/dist/renderer/assets/{MFVI5XKI-Ccq0m553.js → MFVI5XKI-yEhNzg_a.js} +1 -1
  27. package/dist/renderer/assets/{MWY2J62P-BoC73bt9.js → MWY2J62P-PD0ivp8r.js} +5 -5
  28. package/dist/renderer/assets/{MXGNCBL2-BZCuhQ_f.js → MXGNCBL2-CrYuCAhj.js} +5 -5
  29. package/dist/renderer/assets/{N6DAJLIZ-D3lshlWR.js → N6DAJLIZ-CsI-0Pob.js} +2 -2
  30. package/dist/renderer/assets/{NU5M23IW-D8B7aP1M.js → NU5M23IW-BRouDTU6.js} +5 -5
  31. package/dist/renderer/assets/{NV4XNBIS-CG86dKnS.js → NV4XNBIS-BDKWqPgJ.js} +7 -7
  32. package/dist/renderer/assets/{OGLU4SIR-D-dckdGc.js → OGLU4SIR-e03S5CRP.js} +5 -5
  33. package/dist/renderer/assets/{OUNS5N76-BxpcyMgv.js → OUNS5N76-DXs9fuRM.js} +6 -6
  34. package/dist/renderer/assets/{PU4ISKXV-2blQCsO8.js → PU4ISKXV-DHAw3ojo.js} +5 -5
  35. package/dist/renderer/assets/{PUZGS23X-pDG4u-84.js → PUZGS23X-BJvqqbjA.js} +1 -1
  36. package/dist/renderer/assets/{Q3IYVLG5-CzhiDBWC.js → Q3IYVLG5-BBP8APVJ.js} +5 -5
  37. package/dist/renderer/assets/{QYHQDLKZ-CPbJy_Nw.js → QYHQDLKZ-Dk9FA6iI.js} +9 -9
  38. package/dist/renderer/assets/{RZSVICHU-BBonevo2.js → RZSVICHU-DQMvf7FW.js} +1 -1
  39. package/dist/renderer/assets/{UEXXS2NB-D54VDoFS.js → UEXXS2NB-pjQFygyK.js} +1 -1
  40. package/dist/renderer/assets/{UHTQJXKL-XbjCRArY.js → UHTQJXKL-BCjkwDC-.js} +5 -5
  41. package/dist/renderer/assets/{URA2L2QI-DWXUka6_.js → URA2L2QI-DOqGA-7p.js} +1 -1
  42. package/dist/renderer/assets/{UXCHDUKG-HEug3chN.js → UXCHDUKG-P-ssqnp6.js} +5 -5
  43. package/dist/renderer/assets/{VKNV3BUX-CgpUwi-P.js → VKNV3BUX-S-I5Vkej.js} +6 -6
  44. package/dist/renderer/assets/{VMV7XPHP-Bv6BQock.js → VMV7XPHP-CBEFwbRj.js} +1 -1
  45. package/dist/renderer/assets/{WEVWDWVA-Cl6MdVFH.js → WEVWDWVA-NETs7zG0.js} +1 -1
  46. package/dist/renderer/assets/{XRRJ35LF-DA5B5ZaK.js → XRRJ35LF-ChlUj7II.js} +4 -4
  47. package/dist/renderer/assets/{YFKBLVVN-CZTsSDev.js → YFKBLVVN-a23ZlMUZ.js} +4 -4
  48. package/dist/renderer/assets/{YHRE5QGZ-poL0u1Hk.js → YHRE5QGZ-B4WFiwFa.js} +7 -7
  49. package/dist/renderer/assets/{ZF3OVT4B-Csajz0OL.js → ZF3OVT4B-D99LRppp.js} +3 -3
  50. package/dist/renderer/assets/{index-DVUqWypj.js → index-9wJDFDHb.js} +1 -1
  51. package/dist/renderer/assets/{index-OQWi5Igb.js → index-B-sTajw0.js} +1 -1
  52. package/dist/renderer/assets/{index-B2k43UK4.js → index-B3xEpmeL.js} +1 -1
  53. package/dist/renderer/assets/{index-CSXoVyN0.js → index-B7a6ecSB.js} +1 -1
  54. package/dist/renderer/assets/{index-IgLPrOn8.js → index-BQRkI4XZ.js} +3 -3
  55. package/dist/renderer/assets/{index-Dx_w36Cl.js → index-BUMCX36l.js} +1 -1
  56. package/dist/renderer/assets/{index-Lj__gZ6c.js → index-BXMm6of_.js} +1 -1
  57. package/dist/renderer/assets/{index-u6ZCoBKY.js → index-BgaTyTt4.js} +1 -1
  58. package/dist/renderer/assets/{index-DrTzZcbo.js → index-C5S7E_iS.js} +3 -3
  59. package/dist/renderer/assets/{index-B90RKaFh.js → index-CBsqa7KF.js} +1 -1
  60. package/dist/renderer/assets/{index-DtaUmWot.js → index-CFd49PzX.js} +1 -1
  61. package/dist/renderer/assets/{index-CZLcUFAS.js → index-CX3eLmnK.js} +1 -1
  62. package/dist/renderer/assets/{index-D0-6r8OY.js → index-CizbQ4B2.js} +1 -1
  63. package/dist/renderer/assets/{index-Mp0fGNKU.js → index-Cl38Mcu3.js} +1 -1
  64. package/dist/renderer/assets/{index-C6upWLHM.js → index-CmCG8RWM.js} +1 -1
  65. package/dist/renderer/assets/{index-Duagl4VH.js → index-Cr5af8vL.js} +1 -1
  66. package/dist/renderer/assets/{index-r0CaOFQM.js → index-DNKeYHeb.js} +1 -1
  67. package/dist/renderer/assets/{index-CDNRUOxY.js → index-DShnMzLx.js} +449 -161
  68. package/dist/renderer/assets/{index-DHfl2nIi.js → index-DurJ4oOc.js} +3 -3
  69. package/dist/renderer/assets/{index-eX6agtDo.js → index-WU2bjQIt.js} +1 -1
  70. package/dist/renderer/assets/{index-BBpT3mZJ.css → index-Xe00ZDVa.css} +6 -5
  71. package/dist/renderer/assets/{index-OVUeW-Iw.js → index-j9IOhwim.js} +1 -1
  72. package/dist/renderer/assets/{lazy-DNVZaEmQ.js → lazy-C5_LqPMG.js} +3 -3
  73. package/dist/renderer/assets/{web-BOPg29Xm.js → web-C4L7HQnE.js} +2 -2
  74. package/dist/renderer/assets/{web-C5AimWCG.js → web-ClAYTlQS.js} +1 -1
  75. package/dist/renderer/assets/{web-nxbmgoyN.js → web-DJNzGtPV.js} +1 -1
  76. package/dist/renderer/index.html +2 -2
  77. package/package.json +2 -1
  78. package/themes/README.md +30 -0
  79. package/themes/bear.css +1 -1
  80. package/themes/contract.json +1 -1
  81. package/themes/dark.css +9 -1
  82. package/themes/dracula.css +1 -5
  83. package/themes/elegant.css +5 -12
  84. package/themes/gruvbox.css +1 -5
  85. package/themes/light.css +1 -1
  86. package/themes/midnight.css +7 -3
  87. package/themes/nord.css +1 -5
  88. package/themes/notion.css +9 -11
  89. package/themes/sepia.css +3 -6
  90. package/themes/solarized-dark.css +1 -1
  91. package/themes/writer.css +9 -1
  92. package/dist/renderer/assets/index-BkfZmH8n.js +0 -110
@@ -1,7 +1,7 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./web-nxbmgoyN.js","./index-CDNRUOxY.js","./index-BBpT3mZJ.css"])))=>i.map(i=>d[i]);
2
- import { r as registerPlugin, _ as __vitePreload } from "./index-CDNRUOxY.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-nxbmgoyN.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-CDNRUOxY.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 =======
@@ -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-CDNRUOxY.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-CG86dKnS.js","./FTXIJQGB-BX14b7pN.js","./7WLXJQOR-C8MM6Bra.js","./ELSXBIJH-6mTmrNHq.js","./RZSVICHU-BBonevo2.js","./FKCDD66M-Ba7w0jUC.js","./HWDLEDTA-LoeArK7M.js","./JZWSX6AR-D32ich7B.js","./URA2L2QI-DWXUka6_.js","./DKTLEL5E-Dj3316cp.js","./XRRJ35LF-DA5B5ZaK.js","./VMV7XPHP-Bv6BQock.js","./index-CDNRUOxY.js","./index-BBpT3mZJ.css","./BNMLP6AG-D0ug7dDI.js","./G3MDBVQH-qZ3yfAIw.js","./KS3BB3KE-SuIaBOey.js","./N6DAJLIZ-D3lshlWR.js","./UHTQJXKL-XbjCRArY.js","./FP7KDXVC-Do8T7Drp.js","./WEVWDWVA-Cl6MdVFH.js","./UEXXS2NB-D54VDoFS.js","./MXGNCBL2-BZCuhQ_f.js","./QYHQDLKZ-CPbJy_Nw.js","./MFVI5XKI-Ccq0m553.js","./ZF3OVT4B-Csajz0OL.js","./RVARI57O-DMrXgtoB.js","./4TTDE5I4-Di9dPHLj.js","./AAXQQPKT-FysWbA2A.js","./YFKBLVVN-CZTsSDev.js","./PU4ISKXV-2blQCsO8.js","./Q3IYVLG5-CzhiDBWC.js","./DR6PKOQU-oitmLyhZ.js","./NU5M23IW-D8B7aP1M.js","./5THPTBWS-2mBFupjU.js","./KQOEJWJY-BjdpuYRt.js","./ERTIBQVS-Dd68dFC-.js","./GY35JXOZ-BgICGoQK.js","./4UF3HTLV-8gLxIs2l.js","./MWY2J62P-BoC73bt9.js","./OGLU4SIR-D-dckdGc.js","./YHRE5QGZ-poL0u1Hk.js","./46IJ22JX-Cqs6Q0nk.js","./2DXBBFLN-BffjYiBQ.js","./F653G4FO-Bu2Zxw-j.js","./VKNV3BUX-CgpUwi-P.js","./PUZGS23X-pDG4u-84.js","./AKE5O7KZ-B3IOPa-c.js","./E4RJ7UJB-B8xlSgyM.js","./FT5I3RHX-Cw6_nFK5.js","./OUNS5N76-BxpcyMgv.js","./KXJRRZHI-dzerQwX8.js","./UXCHDUKG-HEug3chN.js","./H5EEJPP2-BhAIE8Iv.js"])))=>i.map(i=>d[i]);
2
- import { _ as __vitePreload } from "./index-CDNRUOxY.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-CG86dKnS.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-DA5B5ZaK.js"), true ? __vite__mapDeps([10,9,11,4,12,13]) : void 0, import.meta.url).then((n) => n.pie)], ["er", () => __vitePreload(() => import("./BNMLP6AG-D0ug7dDI.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-SuIaBOey.js"), true ? __vite__mapDeps([16,17,4,8,9,12,13]) : void 0, import.meta.url).then((n) => n.mindmap)], ["kanban", () => __vitePreload(() => import("./UHTQJXKL-XbjCRArY.js"), true ? __vite__mapDeps([18,17,4,7,9,12,13]) : void 0, import.meta.url).then((n) => n.kanban)], ["timeline", () => __vitePreload(() => import("./FP7KDXVC-Do8T7Drp.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-BZCuhQ_f.js"), true ? __vite__mapDeps([22,20,21,4,9,12,13]) : void 0, import.meta.url).then((n) => n.journey)], ["class", () => __vitePreload(() => import("./QYHQDLKZ-CPbJy_Nw.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-Csajz0OL.js"), true ? __vite__mapDeps([25,26,9,4,12,13]) : void 0, import.meta.url).then((n) => n.quadrantChart)], ["xychart", () => __vitePreload(() => import("./4TTDE5I4-Di9dPHLj.js"), true ? __vite__mapDeps([27,26,9,4,12,13]) : void 0, import.meta.url).then((n) => n.xychart)], ["state", () => __vitePreload(() => import("./AAXQQPKT-FysWbA2A.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-CZTsSDev.js"), true ? __vite__mapDeps([29,7,4,9,12,13]) : void 0, import.meta.url).then((n) => n.gantt)], ["architecture", () => __vitePreload(() => import("./PU4ISKXV-2blQCsO8.js"), true ? __vite__mapDeps([30,9,11,6,4,12,13]) : void 0, import.meta.url).then((n) => n.architecture)], ["requirement", () => __vitePreload(() => import("./Q3IYVLG5-CzhiDBWC.js"), true ? __vite__mapDeps([31,5,6,4,9,12,13]) : void 0, import.meta.url).then((n) => n.requirement)], ["sankey", () => __vitePreload(() => import("./DR6PKOQU-oitmLyhZ.js"), true ? __vite__mapDeps([32,9,4,12,13]) : void 0, import.meta.url).then((n) => n.sankey)], ["packet", () => __vitePreload(() => import("./NU5M23IW-D8B7aP1M.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-Dd68dFC-.js"), true ? __vite__mapDeps([36,9,11,4,12,13]) : void 0, import.meta.url).then((n) => n.radar)], ["treemap", () => __vitePreload(() => import("./GY35JXOZ-BgICGoQK.js"), true ? __vite__mapDeps([37,34,9,11,4,12,13]) : void 0, import.meta.url).then((n) => n.treemap)], ["info", () => __vitePreload(() => import("./4UF3HTLV-8gLxIs2l.js"), true ? __vite__mapDeps([38,11,4,12,13]) : void 0, import.meta.url).then((n) => n.info)], ["sequence", () => __vitePreload(() => import("./MWY2J62P-BoC73bt9.js"), true ? __vite__mapDeps([39,35,4,9,6,12,13]) : void 0, import.meta.url).then((n) => n.sequence)], ["gitGraph", () => __vitePreload(() => import("./OGLU4SIR-D-dckdGc.js"), true ? __vite__mapDeps([40,21,4,9,11,12,13]) : void 0, import.meta.url).then((n) => n.gitGraph)], ["c4", () => __vitePreload(() => import("./YHRE5QGZ-poL0u1Hk.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-Cqs6Q0nk.js"), true ? __vite__mapDeps([42,8,4,9,6,12,13]) : void 0, import.meta.url).then((n) => n.block)], ["railroad", () => __vitePreload(() => import("./2DXBBFLN-BffjYiBQ.js"), true ? __vite__mapDeps([43,9,11,4,12,13]) : void 0, import.meta.url).then((n) => n.railroad)], ["agentflow", () => __vitePreload(() => import("./F653G4FO-Bu2Zxw-j.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-CgpUwi-P.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-B3IOPa-c.js"), true ? __vite__mapDeps([47,11,6,4,12,13]) : void 0, import.meta.url).then((n) => n.cynefin)], ["wardley", () => __vitePreload(() => import("./E4RJ7UJB-B8xlSgyM.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-Cw6_nFK5.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-BxpcyMgv.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-dzerQwX8.js"), true ? __vite__mapDeps([51,4,12,13]) : void 0, import.meta.url).then((n) => n.venn)], ["ishikawa", () => __vitePreload(() => import("./UXCHDUKG-HEug3chN.js"), true ? __vite__mapDeps([52,35,4,9,6,12,13]) : void 0, import.meta.url).then((n) => n.ishikawa)], ["swimlane", () => __vitePreload(() => import("./H5EEJPP2-BhAIE8Iv.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-CDNRUOxY.js";
2
- import { Encoding } from "./index-DrTzZcbo.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-CDNRUOxY.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-CDNRUOxY.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-CDNRUOxY.js"></script>
29
- <link rel="stylesheet" crossorigin href="./assets/index-BBpT3mZJ.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.11",
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",
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.11",
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
+ }
@@ -1,110 +0,0 @@
1
- import { W as WebPlugin, r as registerPlugin } from "./index-CDNRUOxY.js";
2
- class FilePickerWeb extends WebPlugin {
3
- constructor() {
4
- super(...arguments);
5
- this.ERROR_PICK_FILE_CANCELED = "pickFiles canceled.";
6
- }
7
- async checkPermissions() {
8
- throw this.unimplemented("Not implemented on web.");
9
- }
10
- async convertHeicToJpeg(_options) {
11
- throw this.unimplemented("Not implemented on web.");
12
- }
13
- async pickFiles(options) {
14
- const pickedFiles = await this.openFilePicker(options);
15
- if (!pickedFiles) {
16
- throw new Error(this.ERROR_PICK_FILE_CANCELED);
17
- }
18
- const result = {
19
- files: []
20
- };
21
- for (const pickedFile of pickedFiles) {
22
- const file = {
23
- blob: pickedFile,
24
- modifiedAt: pickedFile.lastModified,
25
- mimeType: this.getMimeTypeFromUrl(pickedFile),
26
- name: this.getNameFromUrl(pickedFile),
27
- path: void 0,
28
- size: this.getSizeFromUrl(pickedFile)
29
- };
30
- if (options === null || options === void 0 ? void 0 : options.readData) {
31
- file.data = await this.getDataFromFile(pickedFile);
32
- }
33
- result.files.push(file);
34
- }
35
- return result;
36
- }
37
- async pickDirectory() {
38
- throw this.unimplemented("Not implemented on web.");
39
- }
40
- async pickImages(options) {
41
- return this.pickFiles(Object.assign({ types: ["image/*"] }, options));
42
- }
43
- async pickMedia(options) {
44
- return this.pickFiles(Object.assign({ types: ["image/*", "video/*"] }, options));
45
- }
46
- async pickVideos(options) {
47
- return this.pickFiles(Object.assign({ types: ["video/*"] }, options));
48
- }
49
- async requestPermissions(_options) {
50
- throw this.unimplemented("Not implemented on web.");
51
- }
52
- async openFilePicker(options) {
53
- var _a;
54
- const accept = ((_a = options === null || options === void 0 ? void 0 : options.types) === null || _a === void 0 ? void 0 : _a.join(",")) || "";
55
- const limit = (options === null || options === void 0 ? void 0 : options.limit) === void 0 ? 0 : options.limit;
56
- return new Promise((resolve) => {
57
- let onChangeFired = false;
58
- const input = document.createElement("input");
59
- input.type = "file";
60
- input.accept = accept;
61
- input.multiple = limit === 0;
62
- input.addEventListener("change", () => {
63
- onChangeFired = true;
64
- const files = Array.from(input.files || []);
65
- resolve(files);
66
- }, { once: true });
67
- window.addEventListener("focus", async () => {
68
- await this.wait(1e3);
69
- if (onChangeFired) {
70
- return;
71
- }
72
- resolve(void 0);
73
- }, { once: true });
74
- input.click();
75
- });
76
- }
77
- async getDataFromFile(file) {
78
- return new Promise((resolve, reject) => {
79
- const reader = new FileReader();
80
- reader.readAsDataURL(file);
81
- reader.onload = () => {
82
- const result = typeof reader.result === "string" ? reader.result : "";
83
- const splittedResult = result.split("base64,");
84
- const base64 = splittedResult[1] || "";
85
- resolve(base64);
86
- };
87
- reader.onerror = (error) => {
88
- reject(error);
89
- };
90
- });
91
- }
92
- getNameFromUrl(file) {
93
- return file.name;
94
- }
95
- getMimeTypeFromUrl(file) {
96
- return file.type;
97
- }
98
- getSizeFromUrl(file) {
99
- return file.size;
100
- }
101
- async wait(delayMs) {
102
- return new Promise((resolve) => setTimeout(resolve, delayMs));
103
- }
104
- }
105
- const FilePicker = registerPlugin("FilePicker", {
106
- web: () => new FilePickerWeb()
107
- });
108
- export {
109
- FilePicker
110
- };