Add dark theme to pictures (#168)

* feat(APS): changed dark theme

* feat(APS): changed photos

* feat(APS): new table colours

* feat(APS): fixed lines and colours

* feat(APS): fixed tables
This commit is contained in:
footbooller
2026-10-27 09:13:30 +03:00
committed by GitHub
parent 4cac36212b
commit b5410bcd4a
130 changed files with 9367 additions and 9332 deletions

View File

@@ -1,4 +1,4 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="363px" height="91px" viewBox="-0.5 -0.5 363 91" content="&lt;mxfile scale=&quot;1&quot; border=&quot;0&quot;&gt;&lt;diagram name=&quot;Страница — 1&quot; id=&quot;gHBXE7B5oa-5G9nuQ7HD&quot;&gt;5VhLb+M2EP41BtqDDUm0FPvoV7YFtugucmh7WlAWLbGhRZWiYzu/vhyRtB5UEi+sbgLUF5MfOUPON8MZUiO02p8+CVxkv/GEsFHgJacRWo+CwPf8QP0BctYIuptrIBU0MZNq4IE+Eytp0ANNSNmaKDlnkhZtcMvznGxlC8NC8GN72o6z9qoFTokDPGwxc9E/aCIzjc6Cuxr/hdA0syv7kbEvxtvHVPBDbtYbBWhX/fTwHltdxtAywwk/NiC0GaGV4Fzq1v60Igy4tbRpufsXRi/7FiSX1wgYPz1hdjCmL8zG5NmSIclJ6Vpmcs8U4KsmZjTNVXurViFCAU9ESKroW5iBPU0SEF8KUtJnHFeqPNUvOM1l5ZxwOQrXoOsgeakDAFSXUvBHsuKMK73rnOegZUcZ60CuocZ22Ao5NSBj+CfC90SKs5piRiOkJUyMht5U94+1x5FxU9ZwtsWwibH0orjmWTUM1f20I4f2r/8b2v2p9268Tx2WSaIOvulyITOe8hyzTY0uq9NMEsNkPecz54Vh728i5dlkMSC27TZyovJPIw7tv6A9CU1vfWoMrc+2kycLyGM18wq5p2BYNf6iH0p+EFtjW6QhMPFVxwjCsKRP7dzXR7MR/QLRVDs08MO2Q/15W4XEIiXSSHWcddnGVf4Lr0hXYO5nHKuK9J8dHpf96Qun4FKijL5Wmu87HWNvEiDUzkxjk6Vv9NPYZnsrwne7ktzqkshxie+4pH2EjhmV5KHAVZge1QWi7aiMC/rMc4kt0HWUhHM3RCYKUDtwp7O5k4mmPZkoGiAT3Tm0OaxZu6tg/qKytaQc7I+5lHwPSdteHoDVBJfZhWIn2Bv89tOpdBWw7v6UwpVuQpgKWgHzJoyndPstxZKUE5pX9IpvwQD8W7ovhSCYhI4DwrCnFKDbHTB7z1LgD1gKSpVepZ3Bn+DYaMzMgbXqa+nvB8loTpqy940yr+6r99Xvo9WY+Q+rMfMr7mbvUmNmQ9UYbxJ1S4w/SIXxp31KBy039oXYSpwRg5uytl+9wbhIiA7m6J8DvKSWft0Euhguy9b4kT5SI96YVzvcgjvGsfpfAFU6HS0bCwLsF6fqhDC1YTUpjX/y4e27gqFG4+em5HjLGcNFSbSKurdsbidKzb82Nubqcd0FRe+um49StQBKyE4vD0+MsQnaxSVoX1k06SKxBX7Ni4O0qHJi3J2pMFf8FYUqUb2hMRZXrQGgM/PHMbW4koCvQ5nlLvC2oV6V9zdog8wJ0eUARmKmpmrUZrMLEfBFw2a0LkmgpY+nntNXnbxxzgOXT+9N9q7wYrxL2ma9ZtOLBn2fNWdS9pjjv6eTPyIPN7j148fsLU4GsC/FA24KlcH7Pxu98cga4PaOpp3X0537epr1vJ7m3/96Ut36k6i+NNTfndHmXw==&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);">
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="363px" height="91px" viewBox="-0.5 -0.5 363 91" content="&lt;mxfile scale=&quot;1&quot; border=&quot;0&quot;&gt;&lt;diagram name=&quot;Страница — 1&quot; id=&quot;gHBXE7B5oa-5G9nuQ7HD&quot;&gt;5Vldk9o2FP01zKQPMLaFvfAIC5tmJp0msw9tnzIyFra6wnJlsZj99dW1JPzJhhSnZDb7Yuno855zda/EjtD9rngvcJb8xiPCRp4T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VRaP++b/d8nMrhBb4kGZ7aVHlDmG7p8JgOzfboAqhX9lhKC7aM4Di7Si5uJFAn4ei/bINN4Vwyoy5RmtkYotOpNASMtVVozYPnISC34JsLmiLCLNUOjpXMdQT68o4N06512XS+U8Ktjwz3EZNKl7j4SwJ35+BI8l7KHBv6Uxvhbsr3OdtnqdrnAnAvpQPuLmyGLz/B8SvPLcHeMehaesdfdd9R8963tHzb39Hq2r147i+Plb/gUDrfwE=&lt;/diagram&gt;&lt;/mxfile&gt;" style="background: #ffffff; background-color: light-dark(#ffffff, #121212); color-scheme: light dark; fill: light-dark(#000000, #ffffff);">
<defs/>
<g>
<rect x="0" y="25" width="30" height="30" fill="none" stroke="none" pointer-events="all"/>
@@ -7,13 +7,13 @@
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 40px; margin-left: 15px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); color: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); line-height: 1.2; pointer-events: all; white-space: nowrap;">
A
</div>
</div>
</div>
</foreignObject>
<text x="15" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
<text x="15" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));">
A
</text>
</switch>
@@ -24,69 +24,69 @@
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 40px; margin-left: 92px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); color: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); line-height: 1.2; pointer-events: all; white-space: nowrap;">
Q
</div>
</div>
</div>
</foreignObject>
<text x="92" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
<text x="92" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));">
Q
</text>
</switch>
</g>
<path d="M 172 40 L 152 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 172 40 L 152 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 39px; margin-left: 143px;">
<div data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); color: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); background-color: light-dark(rgb(255, 255, 255), rgb(18, 18, 18)); white-space: nowrap;">
A
</div>
</div>
</div>
</foreignObject>
<text x="143" y="42" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">
<text x="143" y="42" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));">
A
</text>
</switch>
</g>
<rect x="172" y="10" width="40" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<rect x="172" y="10" width="40" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" style="fill: light-dark(rgb(255, 255, 255), rgb(18, 18, 18)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 38px; height: 1px; padding-top: 17px; margin-left: 173px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); color: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
1
</div>
</div>
</div>
</foreignObject>
<text x="192" y="29" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
<text x="192" y="29" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));">
1
</text>
</switch>
</g>
<path d="M 26 40 L 37 40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 72.2 40 L 81 40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 68.35 40 L 35.35 56.5 L 35.35 23.5 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="70.55" cy="40" rx="2.2" ry="2.2" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 215 40 L 232 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<ellipse cx="212" cy="40" rx="3" ry="3" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 26 40 L 37 40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(255, 255, 255), rgb(18, 18, 18)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/>
<path d="M 72.2 40 L 81 40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(255, 255, 255), rgb(18, 18, 18)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/>
<path d="M 68.35 40 L 35.35 56.5 L 35.35 23.5 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(255, 255, 255), rgb(18, 18, 18)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/>
<ellipse cx="70.55" cy="40" rx="2.2" ry="2.2" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" style="fill: light-dark(rgb(255, 255, 255), rgb(18, 18, 18)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/>
<path d="M 215 40 L 232 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/>
<ellipse cx="212" cy="40" rx="3" ry="3" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" pointer-events="all" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 41px; margin-left: 243px;">
<div data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); color: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); background-color: light-dark(rgb(255, 255, 255), rgb(18, 18, 18)); white-space: nowrap;">
Q
</div>
</div>
</div>
</foreignObject>
<text x="243" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">
<text x="243" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));">
Q
</text>
</switch>
@@ -97,45 +97,45 @@
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 78px; height: 1px; padding-top: 7px; margin-left: 284px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: left;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<table style="float: right; border: 1px solid rgb(179, 179, 179); border-collapse: collapse;" class="wikitable" border="1">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); color: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<table style="float: right; border: 1px solid rgb(0, 0, 0); border: 1px solid light-dark(rgb(0, 0, 0), rgb(235, 235, 235)); border-collapse: collapse;" class="wikitable" border="1">
<tbody>
<tr style="background:#def; text-align:center;">
<td>
<tr style="background:#def;background:light-dark(#def, #204a71); text-align:center;">
<td style="border: 1px solid rgb(0, 0, 0); border: 1px solid light-dark(rgb(0, 0, 0), rgb(235, 235, 235));">
<b>
Input
</b>
</td>
<td>
<td style="border: 1px solid rgb(0, 0, 0); border: 1px solid light-dark(rgb(0, 0, 0), rgb(235, 235, 235));">
<b>
Output
</b>
<br/>
</td>
</tr>
<tr style="background:#def; text-align:center;">
<td>
<tr style="background:#def;background:light-dark(#def, #204a71); text-align:center;">
<td style="border: 1px solid rgb(0, 0, 0); border: 1px solid light-dark(rgb(0, 0, 0), rgb(235, 235, 235));">
A
</td>
<td>
<td style="border: 1px solid rgb(0, 0, 0); border: 1px solid light-dark(rgb(0, 0, 0), rgb(235, 235, 235));">
Q
<br/>
</td>
</tr>
<tr>
<td class="table-no2" style="background: #FFE3E3; color: black; vertical-align: middle; text-align: center;">
<td class="table-no2" style="background: #FFE3E3;background: light-dark(#FFE3E3, #7c3137); color: black; color: light-dark(black, #ffffff); vertical-align: middle; text-align: center; border: 1px solid rgb(0, 0, 0); border: 1px solid light-dark(rgb(0, 0, 0), rgb(235, 235, 235));">
0
</td>
<td class="table-yes2" style="background:#bfd; color:black; vertical-align:middle; text-align:center;">
<td class="table-yes2" style="background:#bfd;background:light-dark(#bfd, #006243); color:black; color:light-dark(black, #ffffff); vertical-align:middle; text-align:center; border: 1px solid rgb(0, 0, 0); border: 1px solid light-dark(rgb(0, 0, 0), rgb(235, 235, 235));">
1
<br/>
</td>
</tr>
<tr>
<td class="table-yes2" style="background:#bfd; color:black; vertical-align:middle; text-align:center;">
<td class="table-yes2" style="background:#bfd;background:light-dark(#bfd, #006243); color:black; color:light-dark(black, #ffffff); vertical-align:middle; text-align:center; border: 1px solid rgb(0, 0, 0); border: 1px solid light-dark(rgb(0, 0, 0), rgb(235, 235, 235));">
1
</td>
<td class="table-no2" style="background: #FFE3E3; color: black; vertical-align: middle; text-align: center;">
<td class="table-no2" style="background: #FFE3E3;background: light-dark(#FFE3E3, #7c3137); color: black; color: light-dark(black, #ffffff); vertical-align: middle; text-align: center; border: 1px solid rgb(0, 0, 0); border: 1px solid light-dark(rgb(0, 0, 0), rgb(235, 235, 235));">
0
<br/>
</td>
@@ -146,7 +146,7 @@
</div>
</div>
</foreignObject>
<text x="284" y="19" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px">
<text x="284" y="19" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));">
InputOutput...
</text>
</switch>

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 16 KiB