@zolomedia/bifrost-client 1.7.76 → 1.7.78
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.
- package/package.json +1 -1
- package/zSys/theme/zbase.css +48 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zolomedia/bifrost-client",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.78",
|
|
4
4
|
"description": "Browser client for zBifrost — the WebSocket bridge that turns JSON events from a zOS server into live DOM. Thin bootstrap + server-controlled core.",
|
|
5
5
|
"homepage": "https://github.com/ZoloAi/zbifrost-client#readme",
|
|
6
6
|
"repository": {
|
package/zSys/theme/zbase.css
CHANGED
|
@@ -96,6 +96,35 @@ h4 { font-size: 1.5rem; }
|
|
|
96
96
|
h5 { font-size: 1.25rem; }
|
|
97
97
|
h6 { font-size: 1rem; }
|
|
98
98
|
|
|
99
|
+
/* ─── Paragraph (zText default) ────────────────────────────────────────────── */
|
|
100
|
+
/* Bifrost owns the <p> baseline so a bare zText carries deliberate vertical
|
|
101
|
+
* rhythm with no app CSS. Apps re-skin via _zClass — they never SUPPLY it. */
|
|
102
|
+
|
|
103
|
+
p {
|
|
104
|
+
margin-top: 0;
|
|
105
|
+
margin-bottom: 1rem;
|
|
106
|
+
line-height: 1.5;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
p:last-child { margin-bottom: 0; }
|
|
110
|
+
|
|
111
|
+
/* ─── Inline emphasis (zMD / zText markdown) ───────────────────────────────── */
|
|
112
|
+
/* Bifrost owns the inline tags the markdown parser emits (**bold**, *italic*,
|
|
113
|
+
* __underline__, ~~strike~~, ==highlight==) so rich text renders deliberately
|
|
114
|
+
* and themed — never on raw browser UA defaults. Apps re-skin via _zClass. */
|
|
115
|
+
|
|
116
|
+
strong, b { font-weight: 700; }
|
|
117
|
+
em, i { font-style: italic; }
|
|
118
|
+
u { text-decoration: underline; }
|
|
119
|
+
del, s { text-decoration: line-through; opacity: 0.7; }
|
|
120
|
+
|
|
121
|
+
mark {
|
|
122
|
+
background: color-mix(in srgb, var(--color-warning, #FFB347) 30%, transparent);
|
|
123
|
+
color: inherit;
|
|
124
|
+
padding: 0.05em 0.25em;
|
|
125
|
+
border-radius: 4px;
|
|
126
|
+
}
|
|
127
|
+
|
|
99
128
|
/* ─── zTheme semantic text colors — zCLI parity ───────────────────────────── */
|
|
100
129
|
/* The client maps a header/text `color:` token → `.zText-<token>`. These are
|
|
101
130
|
* the zOS defaults so `color: PRIMARY` paints in Bifrost without any _zClass,
|
|
@@ -142,6 +171,25 @@ blockquote {
|
|
|
142
171
|
|
|
143
172
|
blockquote > p { margin: 0; }
|
|
144
173
|
|
|
174
|
+
/* ─── Preformatted block (zText semantic: pre) ─────────────────────────────── */
|
|
175
|
+
/* Plain <pre> baseline — bifrost-owned so a raw preformatted block renders
|
|
176
|
+
* deliberately. Language-tagged pre (pre-zolo, pre-js…) routes through Prism
|
|
177
|
+
* and is left alone. Apps re-skin via _zClass. */
|
|
178
|
+
|
|
179
|
+
pre {
|
|
180
|
+
margin: 0.75rem 0;
|
|
181
|
+
padding: 0.75rem 1rem;
|
|
182
|
+
font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
|
|
183
|
+
font-size: 0.88em;
|
|
184
|
+
line-height: 1.5;
|
|
185
|
+
color: inherit;
|
|
186
|
+
background: color-mix(in srgb, var(--color-code, #5CA9FF) 8%, transparent);
|
|
187
|
+
border: 1px solid color-mix(in srgb, var(--color-code, #5CA9FF) 22%, transparent);
|
|
188
|
+
border-radius: 8px;
|
|
189
|
+
overflow-x: auto;
|
|
190
|
+
white-space: pre;
|
|
191
|
+
}
|
|
192
|
+
|
|
145
193
|
/* ─── Form controls — canonical field base (Bootstrap-like) ────────────────── */
|
|
146
194
|
/* The client emits a real field as `.zForm-control` (default) or `.zInput`
|
|
147
195
|
* (input-groups / explicit). Style BOTH so a field on ANY page — not just
|