fix command and log icon

This commit is contained in:
mbecker20
2022-03-26 23:26:26 -07:00
parent df13897497
commit bafb808780
4 changed files with 8 additions and 8 deletions
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>upload</title>
<title>command</title>
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path fill="#fceade" d="M16.4338096,0 C16.7850725,2.73772263e-15 17.1105793,0.184298834 17.2913025,0.485504245 L20,5 L20,19 C20,19.5522847 19.5522847,20 19,20 L1,20 C0.44771525,20 6.76353751e-17,19.5522847 0,19 L0,5 L2.70869745,0.485504245 C2.8894207,0.184298834 3.21492753,-1.57518666e-16 3.56619038,0 L16.4338096,0 Z M10,8 C9.72,8 9.47,8.11 9.29,8.29 L9.29,8.29 L6.29,11.29 L6.20601852,11.3856481 C6.07638889,11.5541667 6,11.7666667 6,12 C6,12.55 6.45,13 7,13 C7.28,13 7.53,12.89 7.71,12.71 L7.71,12.71 L9,11.41 L9,15.99 L9.0067602,16.106199 C9.06479592,16.6019898 9.48928571,16.99 10,16.99 C10.55,16.99 11,16.54 11,15.99 L11,15.99 L11,11.41 L12.29,12.7 L12.371312,12.7732945 C12.5420408,12.9118367 12.76,13 13,13 C13.55,13 14,12.55 14,12 C14,11.72 13.89,11.47 13.71,11.29 L13.71,11.29 L10.71,8.29 L10.6143519,8.20601852 C10.4458333,8.07638889 10.2333333,8 10,8 Z M16,2 L4,2 L2,5.00162374 L18,5.00162374 L16,2 Z" id="Combined-Shape" fill="#000000"></path>
<path fill="#fceade" d="M16.4338096,0 C16.7850725,2.73772263e-15 17.1105793,0.184298834 17.2913025,0.485504245 L20,5 L20,19 C20,19.5522847 19.5522847,20 19,20 L1,20 C0.44771525,20 6.76353751e-17,19.5522847 0,19 L0,5 L2.70869745,0.485504245 C2.8894207,0.184298834 3.21492753,-1.57518666e-16 3.56619038,0 L16.4338096,0 Z M10,8 C9.72,8 9.47,8.11 9.29,8.29 L9.29,8.29 L6.29,11.29 L6.20601852,11.3856481 C6.07638889,11.5541667 6,11.7666667 6,12 C6,12.55 6.45,13 7,13 C7.28,13 7.53,12.89 7.71,12.71 L7.71,12.71 L9,11.41 L9,15.99 L9.0067602,16.106199 C9.06479592,16.6019898 9.48928571,16.99 10,16.99 C10.55,16.99 11,16.54 11,15.99 L11,15.99 L11,11.41 L12.29,12.7 L12.371312,12.7732945 C12.5420408,12.9118367 12.76,13 13,13 C13.55,13 14,12.55 14,12 C14,11.72 13.89,11.47 13.71,11.29 L13.71,11.29 L10.71,8.29 L10.6143519,8.20601852 C10.4458333,8.07638889 10.2333333,8 10,8 Z M16,2 L4,2 L2,5.00162374 L18,5.00162374 L16,2 Z" id="Combined-Shape"></path>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>download</title>
<title>log</title>
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path fill="#fceade" d="M16.4338096,0 C16.7850725,2.73772263e-15 17.1105793,0.184298834 17.2913025,0.485504245 L20,5 L20,19 C20,19.5522847 19.5522847,20 19,20 L1,20 C0.44771525,20 6.76353751e-17,19.5522847 0,19 L0,5 L2.70869745,0.485504245 C2.8894207,0.184298834 3.21492753,-1.57518666e-16 3.56619038,0 L16.4338096,0 Z M10,8 C9.45,8 9,8.45 9,9 L9,9 L9,13.58 L7.71,12.29 L7.62868805,12.2167055 C7.45795918,12.0781633 7.24,11.99 7,11.99 C6.45,11.99 6,12.44 6,12.99 C6,13.27 6.11,13.52 6.29,13.7 L6.29,13.7 L9.29,16.7 L9.38564815,16.7839815 C9.55416667,16.9136111 9.76666667,16.99 10,16.99 C10.28,16.99 10.53,16.88 10.71,16.7 L10.71,16.7 L13.71,13.7 L13.7939815,13.6043519 C13.9236111,13.4358333 14,13.2233333 14,12.99 C14,12.44 13.55,11.99 13,11.99 C12.72,11.99 12.47,12.1 12.29,12.28 L12.29,12.28 L11,13.58 L11,9 L10.9932398,8.88380102 C10.9352041,8.3880102 10.5107143,8 10,8 Z M16,2 L4,2 L2,5.00162374 L18,5.00162374 L16,2 Z" id="Combined-Shape" fill="#000000"></path>
<path fill="#fceade" d="M16.4338096,0 C16.7850725,2.73772263e-15 17.1105793,0.184298834 17.2913025,0.485504245 L20,5 L20,19 C20,19.5522847 19.5522847,20 19,20 L1,20 C0.44771525,20 6.76353751e-17,19.5522847 0,19 L0,5 L2.70869745,0.485504245 C2.8894207,0.184298834 3.21492753,-1.57518666e-16 3.56619038,0 L16.4338096,0 Z M10,8 C9.45,8 9,8.45 9,9 L9,9 L9,13.58 L7.71,12.29 L7.62868805,12.2167055 C7.45795918,12.0781633 7.24,11.99 7,11.99 C6.45,11.99 6,12.44 6,12.99 C6,13.27 6.11,13.52 6.29,13.7 L6.29,13.7 L9.29,16.7 L9.38564815,16.7839815 C9.55416667,16.9136111 9.76666667,16.99 10,16.99 C10.28,16.99 10.53,16.88 10.71,16.7 L10.71,16.7 L13.71,13.7 L13.7939815,13.6043519 C13.9236111,13.4358333 14,13.2233333 14,12.99 C14,12.44 13.55,11.99 13,11.99 C12.72,11.99 12.47,12.1 12.29,12.28 L12.29,12.28 L11,13.58 L11,9 L10.9932398,8.88380102 C10.9352041,8.3880102 10.5107143,8 10,8 Z M16,2 L4,2 L2,5.00162374 L18,5.00162374 L16,2 Z" id="Combined-Shape"></path>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

+2 -2
View File
@@ -85,7 +85,7 @@ const Update: Component<{ update: UpdateType; showName: boolean }> = (p) => {
title="command"
show={showCommand}
toggleShow={toggleShowCommand}
target={<Icon type="arrow-down" />}
target={<Icon type="command" />}
content={<pre class={s.Log}>{p.update.command}</pre>}
/>
@@ -103,7 +103,7 @@ const Update: Component<{ update: UpdateType; showName: boolean }> = (p) => {
title="log"
show={showLog}
toggleShow={toggleShowLog}
target={<Icon type="arrow-down" />}
target={<Icon type="log" />}
content={<pre class={s.Log}>{log()}</pre>}
/>
</Flex>
+2 -2
View File
@@ -25,8 +25,8 @@ export type IconType =
| "plus"
| "minus"
| "floppy-disk"
| "download"
| "upload";
| "command"
| "log";
const Icon: Component<{
type: IconType;