use library icon from create.arduino

This commit is contained in:
Sven Efftinge 2019-05-08 21:59:52 -07:00 committed by Christian Weichel
parent c7ea4baead
commit 000fa52321
3 changed files with 13 additions and 1 deletions

View File

@ -9,7 +9,7 @@ export class LibraryListWidget extends ListWidget {
return {
id: LibraryListWidget.WIDGET_ID,
title: LibraryListWidget.WIDGET_LABEL,
iconClass: 'fa fa-book' // TODO: find a better icon
iconClass: 'library-tab-icon'
}
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="70" height="70" viewBox="0, 0, 70, 70">
<g id="Layer_1">
<path d="M60.2,18.2 L57.4,18.2 L57.4,12.32 C57.12,9.52 54.88,7.28 51.8,7 L45.92,7 C42.84,7 40.88,9.24 40.6,12.32 L40.6,18.2 L29.4,18.2 L29.4,12.32 C29.12,9.24 26.88,7 24.08,7 L18.2,7 C15.12,7 12.88,9.24 12.6,12.32 L12.6,18.2 L9.8,18.2 C8.12,18.2 7,19.32 7,21 L7,60.2 C7,61.88 8.12,63 9.8,63 L60.2,63 C61.88,63 63,61.88 63,60.2 L63,21 C63,19.32 61.88,18.2 60.2,18.2 z M45.92,12.6 L51.8,12.6 L51.8,18.2 L45.92,18.2 L45.92,12.6 z M18.2,12.6 L24.08,12.6 L24.08,18.2 L18.2,18.2 L18.2,12.6 z M18.2,23.8 L57.4,23.8 L57.4,39.2 L12.6,39.2 L12.6,23.8 L18.2,23.8 z M35,57.4 L12.6,57.4 L12.6,42 L57.4,42 L57.4,57.4 L35,57.4 z" fill="#000000"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 962 B

View File

@ -1,3 +1,8 @@
.library-tab-icon {
-webkit-mask: url('library-tab-icon.svg');
mask: url('library-tab-icon.svg');
}
.arduino-list-widget {
color: var(--theia-ui-font-color1);
}