@loworbitstudio/visor-theme-engine 0.37.0 → 0.38.0

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.
@@ -29,7 +29,7 @@ import {
29
29
  resolveThemeBrand,
30
30
  resolveThemeFonts,
31
31
  sectionComment
32
- } from "../chunk-VXZMP552.js";
32
+ } from "../chunk-4NNPEFHG.js";
33
33
 
34
34
  // src/adapters/brand-passthrough.ts
35
35
  var SENTINEL_COLOR = "#ff00ff";
@@ -1568,15 +1568,22 @@ var bannerFamily = {
1568
1568
  { key: "info-bg", property: "background-color", description: "Info-intent fill.", consumers: at(BANNER, "var(--surface-info-subtle, transparent)") },
1569
1569
  { key: "info-text-color", property: "color", description: "Info-intent text colour.", consumers: at(BANNER, "var(--text-info, currentColor)") },
1570
1570
  { key: "info-border-color", property: "border-color", description: "Info-intent rule colour.", consumers: at(BANNER, "var(--border-info, currentColor)") },
1571
+ { key: "info-description-color", property: "color", description: "Info-intent description colour.", consumers: at(BANNER, "color-mix(in srgb, var(--text-info, currentColor) 90%, transparent)") },
1571
1572
  { key: "warning-bg", property: "background-color", description: "Warning-intent fill.", consumers: at(BANNER, "var(--surface-warning-subtle, transparent)") },
1572
1573
  { key: "warning-text-color", property: "color", description: "Warning-intent text colour.", consumers: at(BANNER, "var(--text-warning, currentColor)") },
1573
1574
  { key: "warning-border-color", property: "border-color", description: "Warning-intent rule colour.", consumers: at(BANNER, "var(--border-warning, currentColor)") },
1575
+ { key: "warning-description-color", property: "color", description: "Warning-intent description colour.", consumers: at(BANNER, "color-mix(in srgb, var(--text-warning, currentColor) 90%, transparent)") },
1574
1576
  { key: "error-bg", property: "background-color", description: "Error-intent fill.", consumers: at(BANNER, "var(--surface-error-subtle, transparent)") },
1575
1577
  { key: "error-text-color", property: "color", description: "Error-intent text colour.", consumers: at(BANNER, "var(--text-error, currentColor)") },
1576
1578
  { key: "error-border-color", property: "border-color", description: "Error-intent rule colour.", consumers: at(BANNER, "var(--border-error, currentColor)") },
1579
+ { key: "error-description-color", property: "color", description: "Error-intent description colour.", consumers: at(BANNER, "color-mix(in srgb, var(--text-error, currentColor) 90%, transparent)") },
1577
1580
  { key: "success-bg", property: "background-color", description: "Success-intent fill.", consumers: at(BANNER, "var(--surface-success-subtle, transparent)") },
1578
1581
  { key: "success-text-color", property: "color", description: "Success-intent text colour.", consumers: at(BANNER, "var(--text-success, currentColor)") },
1579
- { key: "success-border-color", property: "border-color", description: "Success-intent rule colour.", consumers: at(BANNER, "var(--border-success, currentColor)") }
1582
+ { key: "success-border-color", property: "border-color", description: "Success-intent rule colour.", consumers: at(BANNER, "var(--border-success, currentColor)") },
1583
+ { key: "success-description-color", property: "color", description: "Success-intent description colour.", consumers: at(BANNER, "color-mix(in srgb, var(--text-success, currentColor) 90%, transparent)") },
1584
+ { key: "neutral-bg", property: "background-color", description: "Neutral-intent (ink) fill.", consumers: at(BANNER, "var(--text-primary, currentColor)") },
1585
+ { key: "neutral-text-color", property: "color", description: "Neutral-intent text colour, the page colour on the ink ground.", consumers: at(BANNER, "var(--surface-page, #fff)") },
1586
+ { key: "neutral-description-color", property: "color", description: "Neutral-intent description colour.", consumers: at(BANNER, "color-mix(in srgb, var(--banner-neutral-text-color, var(--surface-page, #fff)) 86%, transparent)") }
1580
1587
  ]
1581
1588
  };
1582
1589
  var sidebarFamily = {
package/dist/index.d.ts CHANGED
@@ -1149,7 +1149,7 @@ var properties = {
1149
1149
  },
1150
1150
  banner: {
1151
1151
  type: "object",
1152
- description: "Full-width notice bar. The retro found six separate banner systems across ~180 instances in one app; binding this family collapses them to one. Keys: padding, gap, font-size, radius, border-width, shadow, title-font-weight, description-font-size, info-bg, info-text-color, info-border-color, warning-bg, warning-text-color, warning-border-color, error-bg, error-text-color, error-border-color, success-bg, success-text-color, success-border-color.",
1152
+ description: "Full-width notice bar. The retro found six separate banner systems across ~180 instances in one app; binding this family collapses them to one. Keys: padding, gap, font-size, radius, border-width, shadow, title-font-weight, description-font-size, info-bg, info-text-color, info-border-color, info-description-color, warning-bg, warning-text-color, warning-border-color, warning-description-color, error-bg, error-text-color, error-border-color, error-description-color, success-bg, success-text-color, success-border-color, success-description-color, neutral-bg, neutral-text-color, neutral-description-color.",
1153
1153
  additionalProperties: {
1154
1154
  $ref: "#/$defs/componentTokenBinding"
1155
1155
  }
package/dist/index.js CHANGED
@@ -68,7 +68,7 @@ import {
68
68
  rgbToOklch,
69
69
  serializeColor,
70
70
  validateComponentBindings
71
- } from "./chunk-VXZMP552.js";
71
+ } from "./chunk-4NNPEFHG.js";
72
72
 
73
73
  // src/fonts/validate-coverage.ts
74
74
  var FONT_VAR_RE = /--font-(heading|display|body|sans|mono)\s*:\s*([^;]+);/g;
@@ -1170,7 +1170,7 @@ var visor_theme_schema_default = {
1170
1170
  },
1171
1171
  banner: {
1172
1172
  type: "object",
1173
- description: "Full-width notice bar. The retro found six separate banner systems across ~180 instances in one app; binding this family collapses them to one. Keys: padding, gap, font-size, radius, border-width, shadow, title-font-weight, description-font-size, info-bg, info-text-color, info-border-color, warning-bg, warning-text-color, warning-border-color, error-bg, error-text-color, error-border-color, success-bg, success-text-color, success-border-color.",
1173
+ description: "Full-width notice bar. The retro found six separate banner systems across ~180 instances in one app; binding this family collapses them to one. Keys: padding, gap, font-size, radius, border-width, shadow, title-font-weight, description-font-size, info-bg, info-text-color, info-border-color, info-description-color, warning-bg, warning-text-color, warning-border-color, warning-description-color, error-bg, error-text-color, error-border-color, error-description-color, success-bg, success-text-color, success-border-color, success-description-color, neutral-bg, neutral-text-color, neutral-description-color.",
1174
1174
  additionalProperties: {
1175
1175
  $ref: "#/$defs/componentTokenBinding"
1176
1176
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loworbitstudio/visor-theme-engine",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "Theme engine for the Visor design system — shade generation, token mapping, font resolution, and import/export for .visor.yaml themes.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -549,7 +549,7 @@
549
549
  },
550
550
  "banner": {
551
551
  "type": "object",
552
- "description": "Full-width notice bar. The retro found six separate banner systems across ~180 instances in one app; binding this family collapses them to one. Keys: padding, gap, font-size, radius, border-width, shadow, title-font-weight, description-font-size, info-bg, info-text-color, info-border-color, warning-bg, warning-text-color, warning-border-color, error-bg, error-text-color, error-border-color, success-bg, success-text-color, success-border-color.",
552
+ "description": "Full-width notice bar. The retro found six separate banner systems across ~180 instances in one app; binding this family collapses them to one. Keys: padding, gap, font-size, radius, border-width, shadow, title-font-weight, description-font-size, info-bg, info-text-color, info-border-color, info-description-color, warning-bg, warning-text-color, warning-border-color, warning-description-color, error-bg, error-text-color, error-border-color, error-description-color, success-bg, success-text-color, success-border-color, success-description-color, neutral-bg, neutral-text-color, neutral-description-color.",
553
553
  "additionalProperties": {
554
554
  "$ref": "#/$defs/componentTokenBinding"
555
555
  }