Skip to content

Commit

Permalink
Update search icon and avatar SVG (microsoft#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
samelhusseini authored Feb 26, 2018
1 parent 33dcb6d commit a60958f
Show file tree
Hide file tree
Showing 11 changed files with 73 additions and 102 deletions.
142 changes: 45 additions & 97 deletions docs/static/avatar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions docs/static/fonts/icons/iconfont.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont";
src: url("iconfont.eot?8b7e57577c2d1f1ae9e810b9e010bc84?#iefix") format("embedded-opentype"),
url("iconfont.woff2?8b7e57577c2d1f1ae9e810b9e010bc84") format("woff2"),
url("iconfont.woff?8b7e57577c2d1f1ae9e810b9e010bc84") format("woff");
src: url("iconfont.eot?92b07c6c5392088e45983d845234d068?#iefix") format("embedded-opentype"),
url("iconfont.woff2?92b07c6c5392088e45983d845234d068") format("woff2"),
url("iconfont.woff?92b07c6c5392088e45983d845234d068") format("woff");
}

.icon {
Expand Down Expand Up @@ -91,3 +91,6 @@ url("iconfont.woff?8b7e57577c2d1f1ae9e810b9e010bc84") format("woff");
.icon-blocks:before {
content: "\f119";
}
.icon-search:before {
content: "\f11a";
}
Binary file modified docs/static/fonts/icons/iconfont.eot
Binary file not shown.
3 changes: 3 additions & 0 deletions docs/static/fonts/icons/iconfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/static/fonts/icons/iconfont.ttf
Binary file not shown.
Binary file modified docs/static/fonts/icons/iconfont.woff
Binary file not shown.
Binary file modified docs/static/fonts/icons/iconfont.woff2
Binary file not shown.
3 changes: 2 additions & 1 deletion libs/core/shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ declare namespace control {
* @param mode optional definition of how the event should be processed after construction.
*/
//% weight=21 blockGap=12 blockId="control_raise_event"
//% block="raise event|from %src|with value %value" blockExternalInputs=1 shim=control::raiseEvent
//% block="raise event|from %src|with value %value" blockExternalInputs=1
//% help=control/raise-event shim=control::raiseEvent
function raiseEvent(src: int32, value: int32): void;

/**
Expand Down
11 changes: 11 additions & 0 deletions svgicons/categories/search.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion svgicons/generateIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ webfontsGenerator({
"./icons/check.svg",
"./icons/download.svg",
"./icons/save.svg",
"./icons/blocks.svg"
"./icons/blocks.svg",
"./categories/search.svg"
],
dest: '../docs/static/fonts/icons/',
round: 10
Expand Down
4 changes: 4 additions & 0 deletions theme/blockly.less
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ span.blocklyTreeIcon.blocklyTreeIconadvancedexpanded::before {
content: "\f114";
}

span.blocklyTreeIcon.blocklyTreeIconsearch::before {
content: "\f11a";
}

.save-editortools-btn .icon.save:before {
font-family: 'legoIcons';
content: "\f118";
Expand Down

0 comments on commit a60958f

Please sign in to comment.