@tangle-network/brand 1.21.0 → 1.21.1
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/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/styles/globals.css +6 -0
- package/src/styles/legacy-light.css +2 -2
- package/src/styles/tokens.css +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.21.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ec74a23: One transcript size across products: `--transcript-font-size` is 16px, the size Agent App's `ChatMessages` and Hospitality's transcript already used, instead of the 15px message body that UI's `AgentTimeline` used, so every agent app reads its transcript at one size. Markdown inside a `tangle-transcript-text` container inherits its size and leading rather than `.tangle-prose`'s own 1.7.
|
|
8
|
+
|
|
3
9
|
## 1.21.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/package.json
CHANGED
package/src/styles/globals.css
CHANGED
|
@@ -186,6 +186,12 @@
|
|
|
186
186
|
font-size: var(--transcript-font-size);
|
|
187
187
|
line-height: var(--transcript-line-height);
|
|
188
188
|
}
|
|
189
|
+
/* Markdown inside a transcript container reads at the container's size and
|
|
190
|
+
* leading, not .tangle-prose's own 1.7. */
|
|
191
|
+
.tangle-transcript-text .tangle-prose {
|
|
192
|
+
font-size: inherit;
|
|
193
|
+
line-height: inherit;
|
|
194
|
+
}
|
|
189
195
|
.tangle-prose > * + * { margin-top: 0.85em; }
|
|
190
196
|
.tangle-prose h1, .tangle-prose h2, .tangle-prose h3, .tangle-prose h4 {
|
|
191
197
|
font-weight: 600;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* GENERATED by scripts/gen-compat.mjs. Do not edit.
|
|
2
2
|
* Source: tokens.css + named-themes.css
|
|
3
|
-
* SHA-256:
|
|
3
|
+
* SHA-256: 939e3e76ae042294bf30fd3c9083242457c387a107693bb8c329e8e5ab22b92d
|
|
4
4
|
* Light-default compatibility; all explicit modes remain canonical.
|
|
5
5
|
*/
|
|
6
6
|
:where(:root),
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
--content-max-width: 80rem;
|
|
300
300
|
--shell-header-height: 3.5rem;
|
|
301
301
|
--shell-inset-gutter: 0.5rem;
|
|
302
|
-
--transcript-font-size:
|
|
302
|
+
--transcript-font-size: 1rem;
|
|
303
303
|
--transcript-line-height: var(--line-height-base);
|
|
304
304
|
--font-size-xs: 0.6875rem;
|
|
305
305
|
--font-size-sm: 0.75rem;
|
package/src/styles/tokens.css
CHANGED
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
--shell-inset-gutter: 0.5rem; /* 8px */
|
|
465
465
|
/* Transcript: the person's and the agent's messages share one family, size
|
|
466
466
|
and leading; they differ only by alignment and surface. */
|
|
467
|
-
--transcript-font-size:
|
|
467
|
+
--transcript-font-size: 1rem; /* 16px: the chat reading size */
|
|
468
468
|
--transcript-line-height: var(--line-height-base);
|
|
469
469
|
|
|
470
470
|
/* Typography scale — override per-app for custom type hierarchy.
|