@quilltap/theme-storybook 1.0.94 → 1.0.95

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/dist/index.css CHANGED
@@ -1608,6 +1608,35 @@ body {
1608
1608
  .qt-chat-announcement-chip.qt-pascal-result--info {
1609
1609
  border-left-color: var(--qt-alert-info-border);
1610
1610
  }
1611
+ .qt-chat-composer-established-fact .qt-chat-composer-input {
1612
+ border-color: var(--color-ring);
1613
+ box-shadow: inset 0 0 0 1px var(--color-ring);
1614
+ background-image: linear-gradient(var(--qt-alert-info-bg), var(--qt-alert-info-bg));
1615
+ }
1616
+ .qt-chat-message-established-fact {
1617
+ font-size: 0.75rem;
1618
+ font-weight: 600;
1619
+ letter-spacing: 0.02em;
1620
+ color: var(--qt-alert-info-fg);
1621
+ margin-bottom: 0.25rem;
1622
+ }
1623
+ .qt-chat-system-bar.qt-chat-established-fact,
1624
+ .qt-chat-announcement-chip.qt-chat-established-fact {
1625
+ border-left-width: 3px;
1626
+ border-left-color: var(--color-ring);
1627
+ padding-left: 0.75rem;
1628
+ }
1629
+ .qt-chat-established-fact-row {
1630
+ width: 100%;
1631
+ max-width: none;
1632
+ }
1633
+ .qt-chat-established-fact-band {
1634
+ width: 100%;
1635
+ background: var(--qt-alert-info-bg);
1636
+ border: 1px solid var(--qt-alert-info-border);
1637
+ border-left: 3px solid var(--color-ring);
1638
+ box-shadow: none;
1639
+ }
1611
1640
  .qt-chat-message-silent {
1612
1641
  background: var(--qt-chat-silent-bg);
1613
1642
  color: var(--qt-chat-silent-fg);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quilltap/theme-storybook",
3
- "version": "1.0.94",
3
+ "version": "1.0.95",
4
4
  "description": "Storybook preset and stories for developing Quilltap theme plugins",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1936,6 +1936,56 @@
1936
1936
  border-left-color: var(--qt-alert-info-border);
1937
1937
  }
1938
1938
 
1939
+ /**
1940
+ * Deus Ex Machina — established facts in the Salon.
1941
+ *
1942
+ * Mirrors app/styles/qt-components/_chat.css. Built on existing tokens only (the --qt-alert-info-* family and --color-ring,
1943
+ * the focus-ring colour), so every bundled theme renders it without per-theme
1944
+ * work and the armed frame holds the focus ring's own contrast.
1945
+ *
1946
+ * - .qt-chat-composer-established-fact: the composer's editor wrapper while
1947
+ * `/deus` is armed — a frame and a faint tint, so the operator can see the
1948
+ * next line will be posted as fact.
1949
+ * - .qt-chat-message-established-fact: the small ribbon on an operator line
1950
+ * posted as fact.
1951
+ * - .qt-chat-established-fact: the accent on a machine fact's bar/chip.
1952
+ * - .qt-chat-established-fact-row / -band: a machine fact renders as a
1953
+ * full-width band (no avatar) rather than a speech bubble.
1954
+ */
1955
+ .qt-chat-composer-established-fact .qt-chat-composer-input {
1956
+ border-color: var(--color-ring);
1957
+ box-shadow: inset 0 0 0 1px var(--color-ring);
1958
+ background-image: linear-gradient(var(--qt-alert-info-bg), var(--qt-alert-info-bg));
1959
+ }
1960
+
1961
+ .qt-chat-message-established-fact {
1962
+ font-size: 0.75rem;
1963
+ font-weight: 600;
1964
+ letter-spacing: 0.02em;
1965
+ color: var(--qt-alert-info-fg);
1966
+ margin-bottom: 0.25rem;
1967
+ }
1968
+
1969
+ .qt-chat-system-bar.qt-chat-established-fact,
1970
+ .qt-chat-announcement-chip.qt-chat-established-fact {
1971
+ border-left-width: 3px;
1972
+ border-left-color: var(--color-ring);
1973
+ padding-left: 0.75rem;
1974
+ }
1975
+
1976
+ .qt-chat-established-fact-row {
1977
+ width: 100%;
1978
+ max-width: none;
1979
+ }
1980
+
1981
+ .qt-chat-established-fact-band {
1982
+ width: 100%;
1983
+ background: var(--qt-alert-info-bg);
1984
+ border: 1px solid var(--qt-alert-info-border);
1985
+ border-left: 3px solid var(--color-ring);
1986
+ box-shadow: none;
1987
+ }
1988
+
1939
1989
  /**
1940
1990
  * Silent message — inner thoughts and actions from character in silent mode.
1941
1991
  * Distinguished from whispers by a dotted border (vs dashed) and sage/teal tones.