Refactor architecture into eight components and consolidate reliability work
Build and publish container images / images (push) Successful in 9m34s
Release container images / release (push) Successful in 36s

Extract Grammaratur, Dregarnuhr, Geduldh, Mestionora, Ordoschnellic, Schutzaria, Kunstzeal and Seheweit behind compatible application contracts.

Include accumulated editor resilience, navigation and theme UX, remote CLI, storage/schema and DR groundwork, tests and design/operations documentation.

Verified: uncached full Go suite; go vet ./...; race tests for all eight components; 11 targeted Chromium tests; Node suites; 19 Python CLI tests; reproducible editor build. No push, release tag or deployment in this checkpoint.
This commit is contained in:
Anya Tokugawa committed 2026-11-01 15:23:31 +09:00
1 parent 9dd425f765
commit d5d21b7841
302 files changed
+20037 -3492

No files matched your search

+53 -102
View File
@@ -572,109 +572,47 @@ body.mode-editor .cm-tooltip-autocomplete ul::-webkit-scrollbar-thumb:hover {
background: #1b2640;
}
/* CodeMirror syntax colors: dark theme tuning */
.cm-editor {
background: #070b10 !important;
color: #d8e2f2 !important;
}
.cm-content {
color: #d8e2f2 !important;
}
.cm-line {
color: #d8e2f2;
}
/* headings / markdown markers */
.cm-heading,
.cm-header,
.cm-line .ͼc,
.cm-line .ͼd,
.cm-line .ͼe,
.cm-line .ͼf {
color: #ffd86f !important;
font-weight: 700;
}
/* links */
.cm-link,
.cm-url,
.cm-line .ͼa {
color: #8bd5ff !important;
text-decoration: underline;
}
/* emphasis */
.cm-emphasis {
color: #f7b7d8 !important;
font-style: italic;
}
.cm-strong {
color: #ffffff !important;
font-weight: 700;
}
/* code / fenced block */
.cm-monospace,
.cm-inlineCode,
.cm-line .ͼb {
color: #aee7ff !important;
background: rgba(174,231,255,0.08);
}
/* punctuation / markdown syntax */
.cm-punctuation,
.cm-line .ͼ13,
.cm-line .ͼ14 {
color: #7f8ca8 !important;
}
/* keywords / tags */
.cm-keyword {
color: #ff9ecb !important;
}
.cm-tagName {
color: #8bd5ff !important;
}
.cm-attributeName {
color: #ffd86f !important;
}
.cm-string {
color: #b7f7c1 !important;
}
.cm-comment {
color: #7f8ca8 !important;
font-style: italic;
}
/* fallback for generated lezer highlight classes */
.cm-line [class^="ͼ"],
.cm-line [class*=" ͼ"] {
color: inherit;
}
/* selection should not destroy contrast */
.cm-selectionBackground,
.cm-content ::selection {
background: rgba(255,216,102,0.26) !important;
color: #ffffff !important;
}
/* last-resort visual selection override */
/* Theme-aware editing. Syntax is styled semantically by HighlightStyle; do not
target generated Lezer class names, whose assignments change between builds. */
.cm-editor { background:var(--bg) !important; color:var(--fg) !important; border-color:var(--border); }
.cm-content, .cm-line { color:var(--fg) !important; caret-color:var(--editor-caret); }
.cm-gutters { background:var(--input-bg) !important; color:var(--muted) !important; border-color:var(--border) !important; }
.cm-lineNumbers .cm-gutterElement { color:inherit; }
.cm-lineNumbers .cm-gutterElement:hover { color:var(--fg); }
.cm-activeLine { background:color-mix(in srgb,var(--accent) 7%,transparent) !important; }
.cm-activeLineGutter { background:color-mix(in srgb,var(--accent) 14%,var(--input-bg)) !important; color:var(--fg) !important; }
.cm-focused { box-shadow:0 0 0 1px var(--accent); }
.cm-cursor, .cm-focused .cm-cursor { border-left:0 !important; border-bottom:3px solid var(--editor-caret); box-shadow:none; }
.cm-dropCursor { border-left:2px solid var(--editor-caret) !important; }
.cm-vimCursorLayer .cm-fat-cursor { border-bottom:3px solid var(--editor-caret) !important; background:color-mix(in srgb,var(--editor-caret) 18%,transparent) !important; }
body[data-editor-mode="normal"] { --editor-caret:var(--accent); }
body[data-editor-mode="replace"] { --editor-caret:var(--danger); }
body[data-editor-mode="visual"] { --editor-caret:var(--editor-string); }
.cm-editor .cm-selectionLayer > div,
.cm-editor.cm-focused .cm-selectionLayer > div {
background-color: rgba(255, 216, 102, 0.55) !important;
}
.cm-editor.pageswiki-vim-visual .cm-selectionLayer > div {
background-color: rgba(183, 247, 193, 0.58) !important;
.cm-editor.cm-focused .cm-selectionLayer > div,
.cm-editor.pageswiki-vim-visual .cm-selectionLayer > div,
.cm-selectionBackground,
.cm-content ::selection { background:var(--editor-selection) !important; }
.cm-content ::selection { color:var(--fg) !important; }
.cm-selectionMatch { background:var(--editor-selection); }
.cm-tooltip, .cm-completionInfo { background:var(--input-bg) !important; color:var(--fg) !important; border-color:var(--border) !important; }
.cm-tooltip-autocomplete ul li { color:var(--fg) !important; background:var(--input-bg) !important; }
.cm-tooltip-autocomplete ul { background:var(--input-bg) !important; }
.cm-tooltip-autocomplete ul li[aria-selected="true"] { color:var(--fg) !important; background:color-mix(in srgb,var(--accent) 20%,var(--input-bg)) !important; }
.cm-completionLabel { color:var(--fg) !important; }
.cm-completionDetail { color:var(--link) !important; }
.cm-vim-panel, .editor-statusbar { background:var(--input-bg); color:var(--fg); border-color:var(--border); }
.editor-statusbar strong { color:var(--link); }
.editor-head button, .editor-head a, .editor-toolbar button, .editor-toolbar a { background:var(--button-bg); color:var(--button-fg); border-color:var(--button-border); }
.editor-head .danger { color:var(--danger); }
.editor-head button:hover, .editor-head a:hover, .editor-toolbar button:hover, .editor-toolbar a:hover, .editor-preview-toggle[aria-pressed="true"], .editor-head .editor-format-icon.active { background:var(--button-hover-bg); color:var(--link); border-color:var(--accent); }
.cm-vim-panel input { background:var(--bg); color:var(--fg); border-color:var(--border); }
.cm-scroller { scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track); }
.cm-scroller::-webkit-scrollbar-track { background:var(--scrollbar-track); }
.cm-scroller::-webkit-scrollbar-thumb { background:var(--scrollbar-thumb); }
.cm-scroller::-webkit-scrollbar-thumb:hover { background:var(--scrollbar-thumb-hover); }
@media (forced-colors:active) {
.cm-cursor, .cm-focused .cm-cursor, .cm-vimCursorLayer .cm-fat-cursor { border-bottom-color:CanvasText !important; }
}
.preview .diagram,
@@ -693,3 +631,16 @@ body.mode-editor .cm-tooltip-autocomplete ul::-webkit-scrollbar-thumb:hover {
height: auto;
display: block;
}
/* Editor recovery and conflict UI uses theme tokens without rendering source. */
.editor-dialog {color:var(--fg, #eee); background:var(--bg, #111); border:1px solid var(--border,#888); border-radius:.7rem; width:min(960px,94vw); max-height:90dvh; padding:1rem; box-sizing:border-box;}
.editor-dialog::backdrop {background:rgba(0,0,0,.5); backdrop-filter:blur(3px);}
.editor-dialog h2 {font-size:1.1rem; margin:0 0 .6rem;}
.editor-dialog-content {display:grid; gap:.6rem; max-height:68dvh; overflow:auto;}
.editor-dialog-content label {display:grid; gap:.25rem;}
.editor-dialog textarea,.editor-dialog input,.editor-dialog select {box-sizing:border-box; width:100%; color:inherit; background:var(--bg,#fff); border:1px solid var(--border,#888); padding:.5rem; font:inherit;}
.editor-dialog textarea {font-family:monospace; resize:vertical;}
.editor-dialog footer {display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.7rem;}
.editor-dialog button {color:inherit; background:var(--bg,#fff); border:1px solid var(--border,#888); border-radius:.3rem; padding:.4rem .7rem; cursor:pointer;}
#editor-save-status {max-width:55vw; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.8rem;}
#editor-save-status[data-state="auth"],#editor-save-status[data-state="conflict"],#editor-save-status[data-state="storage"] {color:var(--danger,#cf4050);}
@media (pointer:coarse) and (hover:none) {.editor-action-icon {min-width:36px; min-height:40px;} .editor-dialog button {min-height:44px;} #editor-save-status {max-width:60vw;}}