circuit-to-svg 0.0.167 → 0.0.168

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.d.ts CHANGED
@@ -217,6 +217,7 @@ declare const colorMap: {
217
217
  sheet_filename: string;
218
218
  sheet_label: string;
219
219
  sheet_name: string;
220
+ table: string;
220
221
  value: string;
221
222
  wire: string;
222
223
  wire_crossing: string;
package/dist/index.js CHANGED
@@ -1446,7 +1446,7 @@ function getSoftwareUsedString(circuitJson) {
1446
1446
  var package_default = {
1447
1447
  name: "circuit-to-svg",
1448
1448
  type: "module",
1449
- version: "0.0.166",
1449
+ version: "0.0.167",
1450
1450
  description: "Convert Circuit JSON to SVG",
1451
1451
  main: "dist/index.js",
1452
1452
  files: [
@@ -2902,6 +2902,7 @@ var colorMap = {
2902
2902
  sheet_filename: "rgb(114, 86, 0)",
2903
2903
  sheet_label: "rgb(0, 100, 100)",
2904
2904
  sheet_name: "rgb(0, 100, 100)",
2905
+ table: "rgb(102, 102, 102)",
2905
2906
  value: "rgb(0, 100, 100)",
2906
2907
  wire: "rgb(0, 150, 0)",
2907
2908
  wire_crossing: "rgb(30, 180, 30)",
@@ -5665,7 +5666,7 @@ var createSvgObjectsFromSchematicTable = ({
5665
5666
  width: (screenBottomRightX - screenTopLeftX).toString(),
5666
5667
  height: (screenBottomRightY - screenTopLeftY).toString(),
5667
5668
  fill: "none",
5668
- stroke: "#666",
5669
+ stroke: colorMap2.schematic.table,
5669
5670
  "stroke-width": borderStrokeWidth.toString()
5670
5671
  },
5671
5672
  children: [],
@@ -5694,7 +5695,7 @@ var createSvgObjectsFromSchematicTable = ({
5694
5695
  y1: start.y.toString(),
5695
5696
  x2: end.x.toString(),
5696
5697
  y2: end.y.toString(),
5697
- stroke: "#666",
5698
+ stroke: colorMap2.schematic.table,
5698
5699
  "stroke-width": gridStrokeWidth.toString()
5699
5700
  },
5700
5701
  children: [],
@@ -5727,7 +5728,7 @@ var createSvgObjectsFromSchematicTable = ({
5727
5728
  y1: start.y.toString(),
5728
5729
  x2: end.x.toString(),
5729
5730
  y2: end.y.toString(),
5730
- stroke: "#666",
5731
+ stroke: colorMap2.schematic.table,
5731
5732
  "stroke-width": gridStrokeWidth.toString()
5732
5733
  },
5733
5734
  children: [],
@@ -5785,7 +5786,7 @@ var createSvgObjectsFromSchematicTable = ({
5785
5786
  "font-size": `${fontSize}px`,
5786
5787
  "text-anchor": textAnchorMap[horizontal_align],
5787
5788
  "dominant-baseline": dominantBaselineMap[vertical_align],
5788
- fill: colorMap2.schematic.sheet_label,
5789
+ fill: colorMap2.schematic.table,
5789
5790
  "font-family": "sans-serif"
5790
5791
  },
5791
5792
  children: [