Add PowerRename icon (#537)

remove unused icons.
This commit is contained in:
Enrico Giordani
2019-10-21 13:28:21 +02:00
committed by GitHub
parent 123999febd
commit 5fb59cd64a
8 changed files with 31 additions and 112 deletions

View File

@@ -3,24 +3,18 @@ import {registerIcons} from 'office-ui-fabric-react';
import {initializeIcons} from './icons/src';
// Import SVG files for the icons here.
import AnimatedGifRecorderSVG from './svg/animated_gif_recorder.svg';
import BatchRenamerSVG from './svg/batch_renamer.svg';
import FancyZonesSVG from './svg/fancy_zones.svg';
import PowerRenameSVG from './svg/power_rename.svg';
import ShortcutGuideSVG from './svg/shortcut_guide.svg';
import TerminateToolSVG from './svg/terminate_tool.svg';
import MaximizeNewDesktopSVG from './svg/maximize_new_desktop.svg';
export function setup_powertoys_icons(): void {
initializeIcons('icons/fonts/');
registerIcons({
icons: {
'pt-animated-gif-recorder': ( <AnimatedGifRecorderSVG /> ),
'pt-batch-renamer': ( <BatchRenamerSVG /> ),
'pt-fancy-zones': ( <FancyZonesSVG /> ),
'pt-power-rename': ( <PowerRenameSVG /> ),
'pt-shortcut-guide': ( <ShortcutGuideSVG /> ),
'pt-terminate-tool': ( <TerminateToolSVG /> ),
'pt-maximize-new-desktop': ( <MaximizeNewDesktopSVG /> )
}
});
}

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="15px" height="15px" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 54.1 (76490) - https://sketchapp.com -->
<title>Group 6</title>
<desc>Created with Sketch.</desc>
<g id="Icons" stroke-width="1" fill-rule="evenodd">
<g id="X-Large-Copy-5" transform="translate(-17.000000, -237.000000)">
<g id="Group-4">
<g id="Navigation-/-Left-Nav-/-Default-/-Level-2-w-Icon-/-Rest-Copy-5" transform="translate(0.000000, 224.000000)">
<g id="Group-6" transform="translate(17.000000, 13.000000)">
<rect id="Rectangle" fill="none" x="0.5" y="0.5" width="14" height="14"></rect>
<circle id="Oval" cx="7.5" cy="7.5" r="2.5"></circle>
<circle id="Oval" fill="none" cx="7.5" cy="7.5" r="4"></circle>
</g>
</g>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -1,38 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="15px" height="15px" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 54.1 (76490) - https://sketchapp.com -->
<title>Fancy zones</title>
<desc>Created with Sketch.</desc>
<g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="X-Large-Copy-5" transform="translate(-17.000000, -164.000000)">
<g id="Group-4">
<g id="Navigation-/-Left-Nav-/-Default-/-Level-2-w-Icon-/-Rest-Copy-3" transform="translate(0.000000, 152.000000)">
<g id="Fancy-zones" transform="translate(17.000000, 12.000000)">
<g id="Group-5">
<rect id="Rectangle" x="0.5" y="0.5" width="14" height="14"></rect>
<path d="M2.5,2 L2.5,7" id="Line-4"></path>
<path d="M4.5,2 L4.5,7" id="Line-4-Copy"></path>
<path d="M6.5,5 L6.5,10" id="Line-4-Copy"></path>
<path d="M7.5,6 L7.5,9" id="Line-4-Copy"></path>
<path d="M8.5,7 L8.5,8" id="Line-4-Copy"></path>
<path d="M3.5,1 L3.5,4" id="Line-4-Copy-2" transform="translate(3.500000, 2.500000) rotate(-270.000000) translate(-3.500000, -2.500000) "></path>
<path d="M2.5,8 L2.5,13" id="Line-4"></path>
<path d="M3.5,7 L3.5,10" id="Line-4-Copy-2" transform="translate(3.500000, 8.500000) rotate(-270.000000) translate(-3.500000, -8.500000) "></path>
<path d="M3.5,11 L3.5,14" id="Line-4-Copy-2" transform="translate(3.500000, 12.500000) rotate(-270.000000) translate(-3.500000, -12.500000) "></path>
<path d="M10.5,8 L10.5,13" id="Line-4"></path>
<path d="M12.5,9 L12.5,12" id="Line-4"></path>
<path d="M11,7.5 L11,9.5" id="Line-4-Copy-2" transform="translate(11.000000, 8.500000) rotate(-270.000000) translate(-11.000000, -8.500000) "></path>
<path d="M11,11.5 L11,13.5" id="Line-4-Copy-2" transform="translate(11.000000, 12.500000) rotate(-270.000000) translate(-11.000000, -12.500000) "></path>
<path d="M3.5,3 L3.5,6" id="Line-4-Copy-2" transform="translate(3.500000, 4.500000) rotate(-270.000000) translate(-3.500000, -4.500000) "></path>
<path d="M10.5,2 L10.5,7" id="Line-4"></path>
<path d="M12.5,2 L12.5,7" id="Line-4-Copy"></path>
<path d="M11.5,1 L11.5,4" id="Line-4-Copy-2" transform="translate(11.500000, 2.500000) rotate(-270.000000) translate(-11.500000, -2.500000) "></path>
<path d="M11.5,3 L11.5,6" id="Line-4-Copy-2" transform="translate(11.500000, 4.500000) rotate(-270.000000) translate(-11.500000, -4.500000) "></path>
<path d="M11.5,5 L11.5,8" id="Line-4-Copy-2" transform="translate(11.500000, 6.500000) rotate(-270.000000) translate(-11.500000, -6.500000) "></path>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="15px" height="13px" viewBox="0 0 15 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 54.1 (76490) - https://sketchapp.com -->
<title>maximize</title>
<desc>Created with Sketch.</desc>
<g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="X-Large-Copy-5" transform="translate(-17.000000, -56.000000)">
<g id="Group-4">
<g id="Navigation-/-Left-Nav-/-Default-/-Level-2-w-Icon-/-Rest" transform="translate(0.000000, 44.000000)">
<g id="maximize" transform="translate(17.000000, 12.000000)">
<g id="Group">
<rect id="Rectangle" x="0.5" y="0.5" width="14" height="10"></rect>
<path d="M5,5.5 L10,5.5" id="Line-2"></path>
<path d="M5,5.5 L10,5.5" id="Line-2" transform="translate(7.500000, 5.500000) rotate(-270.000000) translate(-7.500000, -5.500000) "></path>
<rect id="Rectangle" x="0.5" y="0.5" width="14" height="12"></rect>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="15px" height="15px" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 54.1 (76490) - https://sketchapp.com -->
<title>Group 6</title>
<desc>Created with Sketch.</desc>
<g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Iconset---PowerRename" transform="translate(-108.000000, -349.000000)">
<g id="X-Large-Copy-5" transform="translate(91.000000, 76.000000)">
<g id="Group-4">
<g id="Navigation-/-Left-Nav-/-Default-/-Level-2-w-Icon-/-Rest-Copy-5" transform="translate(0.000000, 224.000000)">
<g id="Group-6" transform="translate(17.000000, 49.000000)">
<rect id="Rectangle" x="0.5" y="0.5" width="14" height="14"></rect>
<path d="M5,11.5 L7,11.5" id="Line-2"></path>
<path d="M5,3.5 L7,3.5" id="Line-2-Copy-3"></path>
<path d="M4.0010376,7.50445557 L11.0010376,7.50445557" id="Line-2-Copy" transform="translate(7.501038, 7.504456) rotate(-270.000000) translate(-7.501038, -7.504456) "></path>
<path d="M8,11.5 L10,11.5" id="Line-2-Copy-2"></path>
<path d="M8,3.5 L10,3.5" id="Line-2-Copy-4"></path>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 54.1 (76490) - https://sketchapp.com -->
<title>Terminate tool</title>
<desc>Created with Sketch.</desc>
<g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="X-Large-Copy-5" transform="translate(-17.000000, -200.000000)">
<g id="Group-4">
<g id="Navigation-/-Left-Nav-/-Default-/-Level-2-w-Icon-/-Rest-Copy-4" transform="translate(0.000000, 188.000000)">
<g id="Terminate-tool" transform="translate(17.000000, 12.000000)">
<rect id="Rectangle" x="0.5" y="0.5" width="15" height="15"></rect>
<g id="Group-3" transform="translate(5.000000, 5.000000)">
<path d="M-2.13162821e-14,0 L5.65685425,5.65685425" id="Line-3"></path>
<path d="M-1.42108547e-14,-7.10542736e-15 L5.65685425,5.65685425" id="Line-3-Copy" transform="translate(2.828427, 2.828427) rotate(-270.000000) translate(-2.828427, -2.828427) "></path>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB