2c0cc6a3d7
* avoid atob directly * prevent port names to be selected * updated pxt
13 lines
848 B
TypeScript
13 lines
848 B
TypeScript
|
|
namespace pxsim.visuals {
|
|
export const PORT_SVG = `<svg id="svg6348" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 49.96 58.93">
|
|
<title>port</title>
|
|
<g id="icn_port" data-name="icn port">
|
|
<path id="port_2" data-name="port 2" d="M4.48,0h50V58.93h-50Z" transform="translate(-4.48)" style="fill: #eaeaea"/>
|
|
<path id="port_1" data-name="port 1" d="M9.74,46.49V18.66H26.85V11.75h4.72V2.59H44.49v8.82h5.06V46.49h-8v7.43H38.9V46.41h-2v7.5H34.71v-7.5H32.55v7.5h-2.1v-7.5H28.6v7.5H26.5v-7.5H24.68v7.5H22.22v-7.5H20.54v7.5H18V46.46Z" transform="translate(-4.48)" style="fill: #a8aaa8"/>
|
|
<g id="text10060" style="isolation: isolate">
|
|
<text id="port_text" class="user-select-none" transform="translate(22.21 40.2)" style="isolation: isolate;font-size: 16px;fill: white;font-family: ArialMT, Arial">B</text>
|
|
</g>
|
|
</g>
|
|
</svg>`;
|
|
} |