Refactor architecture into eight components and consolidate reliability work
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:
1 parent
9dd425f765
commit
d5d21b7841
302 files changed
+20037
-3492
No files matched your search
@@ -16,17 +16,77 @@
|
||||
--button-hover-bg: #222;
|
||||
--danger: #ff6d6d;
|
||||
--accent: #b077ff;
|
||||
--editor-heading: #f2d278;
|
||||
--editor-keyword: color-mix(in srgb, var(--accent) 55%, var(--fg));
|
||||
--editor-type: #91d2f4;
|
||||
--editor-string: #ade0b1;
|
||||
--editor-number: #edc58c;
|
||||
--editor-comment: #99a6b8;
|
||||
--editor-selection: color-mix(in srgb, var(--accent) 26%, transparent);
|
||||
--editor-caret: var(--link);
|
||||
--scrollbar-track: color-mix(in srgb, var(--bg) 88%, var(--fg) 12%);
|
||||
--scrollbar-thumb: color-mix(in srgb, var(--muted) 72%, var(--accent) 28%);
|
||||
--scrollbar-thumb-hover: color-mix(in srgb, var(--muted) 38%, var(--accent) 62%);
|
||||
}
|
||||
|
||||
/* Shared semantic tokens: CodeMirror editors, read-only file viewers and
|
||||
projected HTML code blocks use the same palette, including live switches. */
|
||||
.pw-syntax-heading{color:var(--editor-heading);font-weight:bold}
|
||||
.pw-syntax-link{color:var(--link);text-decoration:underline}
|
||||
.pw-syntax-emphasis{font-style:italic}.pw-syntax-strong{font-weight:bold}
|
||||
.pw-syntax-keyword{color:var(--editor-keyword)}.pw-syntax-type{color:var(--editor-type)}
|
||||
.pw-syntax-string{color:var(--editor-string)}.pw-syntax-number{color:var(--editor-number)}
|
||||
.pw-syntax-comment{color:var(--editor-comment);font-style:italic}
|
||||
.pw-syntax-variable{color:var(--editor-variable,var(--fg))}
|
||||
.pw-syntax-function{color:var(--editor-function,var(--link))}
|
||||
.pw-syntax-operator{color:var(--editor-operator,var(--editor-keyword))}
|
||||
.pw-syntax-invalid{text-decoration:underline wavy var(--danger)}
|
||||
|
||||
html,
|
||||
body {
|
||||
background: var(--bg);
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
/* Document code blocks share theme tokens across viewers and editor previews.
|
||||
Keep overflow local: a long command must not widen the whole document. */
|
||||
:where(.page-html, .periodical-body, .preview, #preview) pre {
|
||||
box-sizing:border-box;
|
||||
max-width:100%;
|
||||
overflow:auto;
|
||||
padding:.85rem 1rem;
|
||||
border:1px solid var(--border);
|
||||
border-inline-start:3px solid var(--accent);
|
||||
border-radius:.35rem;
|
||||
background:var(--code-bg,var(--input-bg));
|
||||
color:var(--code-fg,var(--fg));
|
||||
font: .9em/1.6 "JetBrains Mono", "Hack Nerd Font", monospace;
|
||||
tab-size:4;
|
||||
white-space:pre;
|
||||
overscroll-behavior-inline:contain;
|
||||
}
|
||||
:where(.page-html, .periodical-body, .preview, #preview) pre code {
|
||||
background:transparent;
|
||||
color:inherit;
|
||||
padding:0;
|
||||
border:0;
|
||||
font:inherit;
|
||||
}
|
||||
:where(.page-html, .periodical-body, .preview, #preview) :not(pre) > code {
|
||||
padding:.1em .3em;
|
||||
border-radius:.2em;
|
||||
background:var(--code-bg,var(--input-bg));
|
||||
color:var(--code-fg,var(--fg));
|
||||
font-family:"JetBrains Mono", "Hack Nerd Font", monospace;
|
||||
overflow-wrap:anywhere;
|
||||
}
|
||||
@media print {
|
||||
:where(.page-html, .periodical-body, .preview, #preview) pre {
|
||||
overflow:visible; white-space:pre-wrap; overflow-wrap:anywhere;
|
||||
color:#000; background:#fff; border-color:#999;
|
||||
}
|
||||
}
|
||||
|
||||
/* Theme-aware global scrollbars. Firefox uses the standard properties;
|
||||
Chromium/WebKit use the pseudo-elements below. */
|
||||
* {
|
||||
|
||||
Reference in new issue
Block a user