@ruckc/truss-chat 1.53.0 → 1.54.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.
@@ -79,6 +79,12 @@
79
79
  .list { display: flex; flex-direction: column; gap: var(--tr-space-2); margin: 0; }
80
80
  .item { display: flex; flex-direction: column; min-width: 0; }
81
81
  .header { display: block; font-size: var(--tr-text-sm); font-weight: 600; opacity: 0.8; }
82
+ /* #289: on the dark primary container the extra 0.8 fade (inside .q's 0.85) drops the header below 4.5:1, so dark shows it at full strength
83
+ (the same two selectors as the dark palette in tokens.css) */
84
+ @media (prefers-color-scheme: dark) {
85
+ :global(:root:not([data-theme='light'])) .header { opacity: 1; }
86
+ }
87
+ :global(:root[data-theme='dark']) .header { opacity: 1; }
82
88
  .q { font-size: var(--tr-text-sm); opacity: 0.85; }
83
89
  .a { margin: 0; font-weight: 600; }
84
90
  .empty { font-weight: 400; font-style: italic; opacity: 0.85; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruckc/truss-chat",
3
- "version": "1.53.0",
3
+ "version": "1.54.1",
4
4
  "description": "Chat building blocks for Truss UI: thread, messages, tool calls, composer, status line and a question form",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  "@ruckc/truss-ui": "^1.0.0"
28
28
  },
29
29
  "dependencies": {
30
- "@ruckc/truss-markdown": "^1.53.0"
30
+ "@ruckc/truss-markdown": "^1.54.1"
31
31
  },
32
32
  "author": "Curtis Ruck",
33
33
  "homepage": "https://truss.ruck.io",