@tscircuit/pcb-viewer 1.11.266 → 1.11.267

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.js CHANGED
@@ -8168,7 +8168,12 @@ var convertElementToPrimitives = (element, allElements) => {
8168
8168
  layer: element.layer === "bottom" ? "bottom_fabrication" : "top_fabrication",
8169
8169
  size: element.font_size,
8170
8170
  align: element.anchor_alignment ?? "center",
8171
- text: element.text
8171
+ text: element.text,
8172
+ color: element.color,
8173
+ _element: element,
8174
+ _parent_pcb_component,
8175
+ _parent_source_component,
8176
+ _source_port
8172
8177
  }
8173
8178
  ];
8174
8179
  }
@@ -9250,7 +9255,8 @@ var convertTextToLines = (text) => {
9250
9255
  y2: text.y + y_baseline_offset + centerline_span_y * norm_y2,
9251
9256
  width: strokeWidth,
9252
9257
  layer: text.layer,
9253
- unit: text.unit
9258
+ unit: text.unit,
9259
+ color: text.color
9254
9260
  });
9255
9261
  }
9256
9262
  current_x_origin_for_char_box += target_width_char + space_between_chars;