2019-09-04 18:26:26 +02:00
|
|
|
import React from 'react';
|
|
|
|
|
import {registerIcons} from 'office-ui-fabric-react';
|
|
|
|
|
import {initializeIcons} from './icons/src';
|
|
|
|
|
|
|
|
|
|
// Import SVG files for the icons here.
|
|
|
|
|
import FancyZonesSVG from './svg/fancy_zones.svg';
|
2019-10-21 13:28:21 +02:00
|
|
|
import PowerRenameSVG from './svg/power_rename.svg';
|
2019-09-04 18:26:26 +02:00
|
|
|
import ShortcutGuideSVG from './svg/shortcut_guide.svg';
|
2020-03-24 11:32:01 -07:00
|
|
|
import ImageResizerSVG from './svg/image_resizer.svg';
|
2020-03-26 13:58:52 -07:00
|
|
|
import PowerPreviewSVG from './svg/power_preview.svg';
|
2020-03-27 15:17:36 +01:00
|
|
|
import WindowWalkerSVG from './svg/window_walker.svg';
|
2019-09-04 18:26:26 +02:00
|
|
|
|
|
|
|
|
export function setup_powertoys_icons(): void {
|
|
|
|
|
initializeIcons('icons/fonts/');
|
|
|
|
|
|
|
|
|
|
registerIcons({
|
|
|
|
|
icons: {
|
|
|
|
|
'pt-fancy-zones': ( <FancyZonesSVG /> ),
|
2019-10-21 13:28:21 +02:00
|
|
|
'pt-power-rename': ( <PowerRenameSVG /> ),
|
2019-09-04 18:26:26 +02:00
|
|
|
'pt-shortcut-guide': ( <ShortcutGuideSVG /> ),
|
2020-03-26 13:58:52 -07:00
|
|
|
'pt-power-preview': (<PowerPreviewSVG /> ),
|
2020-03-27 15:17:36 +01:00
|
|
|
'pt-image-resizer': ( <ImageResizerSVG /> ),
|
|
|
|
|
'pt-window-walker': ( <WindowWalkerSVG /> )
|
2019-09-04 18:26:26 +02:00
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|