circuit-to-svg 0.0.221 → 0.0.222

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
@@ -950,7 +950,7 @@ var DEFAULT_PCB_COLOR_MAP = {
950
950
  bottom: "rgb(77, 127, 196)"
951
951
  },
952
952
  soldermask: {
953
- top: "rgb(200, 52, 52)",
953
+ top: "#006400",
954
954
  bottom: "rgb(77, 127, 196)"
955
955
  },
956
956
  drill: "#FF26E2",
@@ -1008,7 +1008,7 @@ function createSvgObjectsFromPcbTrace(trace, ctx) {
1008
1008
  children: [],
1009
1009
  attributes: {
1010
1010
  class: "pcb-trace",
1011
- stroke: copperColor,
1011
+ stroke: maskColor,
1012
1012
  fill: "none",
1013
1013
  d: `M ${startPoint[0]} ${startPoint[1]} L ${endPoint[0]} ${endPoint[1]}`,
1014
1014
  "stroke-width": width,
@@ -1044,7 +1044,7 @@ function createSvgObjectsFromPcbTrace(trace, ctx) {
1044
1044
  children: [],
1045
1045
  attributes: {
1046
1046
  class: "pcb-trace",
1047
- stroke: maskColor,
1047
+ stroke: copperColor,
1048
1048
  fill: "none",
1049
1049
  d: `M ${startPoint[0]} ${startPoint[1]} L ${endPoint[0]} ${endPoint[1]}`,
1050
1050
  "stroke-width": width,
@@ -1788,7 +1788,7 @@ function getSoftwareUsedString(circuitJson) {
1788
1788
  var package_default = {
1789
1789
  name: "circuit-to-svg",
1790
1790
  type: "module",
1791
- version: "0.0.220",
1791
+ version: "0.0.221",
1792
1792
  description: "Convert Circuit JSON to SVG",
1793
1793
  main: "dist/index.js",
1794
1794
  files: [