@zolomedia/bifrost-client 1.7.76 → 1.7.77
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 +31 -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.77",
|
|
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,18 @@ 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
|
+
|
|
99
111
|
/* ─── zTheme semantic text colors — zCLI parity ───────────────────────────── */
|
|
100
112
|
/* The client maps a header/text `color:` token → `.zText-<token>`. These are
|
|
101
113
|
* the zOS defaults so `color: PRIMARY` paints in Bifrost without any _zClass,
|
|
@@ -142,6 +154,25 @@ blockquote {
|
|
|
142
154
|
|
|
143
155
|
blockquote > p { margin: 0; }
|
|
144
156
|
|
|
157
|
+
/* ─── Preformatted block (zText semantic: pre) ─────────────────────────────── */
|
|
158
|
+
/* Plain <pre> baseline — bifrost-owned so a raw preformatted block renders
|
|
159
|
+
* deliberately. Language-tagged pre (pre-zolo, pre-js…) routes through Prism
|
|
160
|
+
* and is left alone. Apps re-skin via _zClass. */
|
|
161
|
+
|
|
162
|
+
pre {
|
|
163
|
+
margin: 0.75rem 0;
|
|
164
|
+
padding: 0.75rem 1rem;
|
|
165
|
+
font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
|
|
166
|
+
font-size: 0.88em;
|
|
167
|
+
line-height: 1.5;
|
|
168
|
+
color: inherit;
|
|
169
|
+
background: color-mix(in srgb, var(--color-code, #5CA9FF) 8%, transparent);
|
|
170
|
+
border: 1px solid color-mix(in srgb, var(--color-code, #5CA9FF) 22%, transparent);
|
|
171
|
+
border-radius: 8px;
|
|
172
|
+
overflow-x: auto;
|
|
173
|
+
white-space: pre;
|
|
174
|
+
}
|
|
175
|
+
|
|
145
176
|
/* ─── Form controls — canonical field base (Bootstrap-like) ────────────────── */
|
|
146
177
|
/* The client emits a real field as `.zForm-control` (default) or `.zInput`
|
|
147
178
|
* (input-groups / explicit). Style BOTH so a field on ANY page — not just
|