From 4dff282633046043db59a77ebe0a4761f69e21d1 Mon Sep 17 00:00:00 2001 From: Caitlin Hennessy Date: Thu, 21 Dec 2017 11:00:54 -0800 Subject: [PATCH] Initial work --- docs/static/fonts/icons/iconfont.css | 63 +++++++++++++++++++++++-- docs/static/fonts/icons/iconfont.eot | Bin 2504 -> 4892 bytes docs/static/fonts/icons/iconfont.svg | 57 ++++++++++++++++++++++ docs/static/fonts/icons/iconfont.ttf | Bin 2336 -> 4724 bytes docs/static/fonts/icons/iconfont.woff | Bin 1464 -> 2768 bytes docs/static/fonts/icons/iconfont.woff2 | Bin 1044 -> 2136 bytes libs/ev3/ns.ts | 6 +-- svgicons/generateIcons.js | 23 ++++++++- theme/blockly.less | 62 +++++++++++++++++++++++- 9 files changed, 202 insertions(+), 9 deletions(-) diff --git a/docs/static/fonts/icons/iconfont.css b/docs/static/fonts/icons/iconfont.css index f81b9f9f..67dd1f89 100644 --- a/docs/static/fonts/icons/iconfont.css +++ b/docs/static/fonts/icons/iconfont.css @@ -1,8 +1,8 @@ @font-face { font-family: "iconfont"; - src: url("iconfont.eot?e05611aaee246c1da118a83eaf515de9?#iefix") format("embedded-opentype"), -url("iconfont.woff2?e05611aaee246c1da118a83eaf515de9") format("woff2"), -url("iconfont.woff?e05611aaee246c1da118a83eaf515de9") format("woff"); + src: url("iconfont.eot?1aaa45a81be328d93991341b518bf26d?#iefix") format("embedded-opentype"), +url("iconfont.woff2?1aaa45a81be328d93991341b518bf26d") format("woff2"), +url("iconfont.woff?1aaa45a81be328d93991341b518bf26d") format("woff"); } .icon { @@ -28,3 +28,60 @@ url("iconfont.woff?e05611aaee246c1da118a83eaf515de9") format("woff"); .icon-gyro:before { content: "\f104"; } +.icon-addpackage:before { + content: "\f105"; +} +.icon-advancedcollapsed:before { + content: "\f106"; +} +.icon-advancedexpanded:before { + content: "\f107"; +} +.icon-brick:before { + content: "\f108"; +} +.icon-controls:before { + content: "\f109"; +} +.icon-functions:before { + content: "\f10a"; +} +.icon-list:before { + content: "\f10b"; +} +.icon-logic:before { + content: "\f10c"; +} +.icon-loops:before { + content: "\f10d"; +} +.icon-math:before { + content: "\f10e"; +} +.icon-motors:before { + content: "\f10f"; +} +.icon-music:before { + content: "\f110"; +} +.icon-sensors:before { + content: "\f111"; +} +.icon-text:before { + content: "\f112"; +} +.icon-variables:before { + content: "\f113"; +} +.icon-cancel:before { + content: "\f114"; +} +.icon-check:before { + content: "\f115"; +} +.icon-download:before { + content: "\f116"; +} +.icon-save:before { + content: "\f117"; +} diff --git a/docs/static/fonts/icons/iconfont.eot b/docs/static/fonts/icons/iconfont.eot index e4aa0b6d5d1024fa71e16aabdc3e6a76fa3b42da..007b931f7785852bff938eee072136a40040c8a7 100644 GIT binary patch literal 4892 zcmd^DO^jPt6+Y*_``+`<#P-bi`FWC=jN>=4L#E7(?XgWeWCFCLR76nq4~Yu3j_vtr zJ@#NbA*qTKp;kgrMcs8lg}SIB76_y)xq>4qC2)gJBRWvOip&G%CQoeKFGigJX z?6{tDf6hJc-t%|QxpNoiiN>t?b@I*+&=%}+qbdPUWWFm zO#|xFj;Y6(NYNwIrCqv6J!;Vqm>fL;%#cQ)7TN+;XpJ^7bGPq-mQ9m%l`PtL@X^P= zQuy)7=YaeIu#bK7(e>(MSO2OpehK3z+6S$}zrFXhZ$O#{0I%=%uI%i-^vs`#>_wu) z#$LD8$^B*hUC{mk(AWbaS$pFn^nVRl**h3twtjT;8rJ(G#!vSK?bgbTVv0zAh;j9x zb@`B2=>YS2j0^qNLH8%GyqO?MpT~Z=!@+1ge{Oz@Xto2IBZl`=pd?zodF_p#KlHr8 z7(`U%4F)p4{o?uUr_x{i2V^y0yz}%8@J%G`&1>&}{Lu5)Z($gV%!TDK%0sDfp)%M6 zffM?~jKlc^6uS*&oIC#*rFyM#pN$i@Iw+Ro^B2upcr1hnR9i;!i0O6G2 zK}7ceAQxYa_I?gn;o=^&kN|j1@E;>R@Du+N=ySqSgD%vF0C<|wU(m1V8~QE%o-GkbG$JQt2{P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cTzowN0GjH7-`WMZ3n)5 zfv%t)(Iq^fRDm7iVWj{V;^E`~y>rnsOBatTJ@gCEx6D0*@7thWqdoK0A?{}D_)VW> zru1v(xdyKpQH(R@ziX8@*;MkigFB?$QxdqE%^(Y;IE}mHEYI;gXW8Q%`*6GkN?h!X zhpo||zu&gogWh0hj|UgqdwTcEaFA$qI)|&h0_+Gy^Xm#|cb*XE_|2GAe27&+p delta 516 zcmXv}JxfDD5Zt}H7o&*;RQvz~79s{yh=r&aO=n>x1Pc-Mk*F#1OoAz*h_SQ~A$f}U zQTPJ{3%eju)4~S?!>Dalg?azDEU%=UVW^3*AB{oMSFM;0ls+|g21Fh(N1xC{lXr6|V-va$< zr%|&0)$-#X$>b?!zDXpHL+_ez-U?4hk+08=i>ex@@ ze@4SBF?bLl!jeBf6g7$w{>U;4`mSq@>T+oElLFpEeeq*O_ju9FMo{`mXcb3$Tka$0 zIqZ&!>5?*Yk|O_(rc0CF0PmaFr3JD82}A(}tA)S45>T~o6cN9I?zt*N=|qu{GD{&eNueMxj=1>< Sjf;SVO0r@L#!GEsz3wlhepC1W diff --git a/docs/static/fonts/icons/iconfont.svg b/docs/static/fonts/icons/iconfont.svg index 36778eab..b3a250b6 100644 --- a/docs/static/fonts/icons/iconfont.svg +++ b/docs/static/fonts/icons/iconfont.svg @@ -19,6 +19,63 @@ + + + + + + + + + + + + + + + + + + + diff --git a/docs/static/fonts/icons/iconfont.ttf b/docs/static/fonts/icons/iconfont.ttf index 1eb7bf3d514fc8fcd5e86233366c75377ee775be..115c9d92b699b0c1db4b952821968fa7fe866e11 100644 GIT binary patch literal 4724 zcmd^DO^jPt6+Y*_``+`<#P-bi`FWC=jN>=8OD4?tXKd3BnE)**6&0ZV1c?f@j_vtL zJ@#NbA*qTKp;kgrMcuKWLS0l53j|UYT_98`QpJKLf-bs375xDuR3q3?%6IO2CRLjy zJMNqF?!D)pcklT>*F#K1NxDuJRUUfmi7yp?bkDOy{5fDB|N3K_wa2gjO=JEd<`+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QryL!|fbbDR^q0U$#68b4=;}oI_|hP7-Oa6*x=# fV!tT&x@&xrpYBR%y# delta 446 zcmXX=%}N4c6uozTVo*bf2m>nvi9{FCBBHX|wTKphxQL*J(VSq$F&#l$WDgJ_P7&3{ z2MAiYi>Tfqk!aPT7YLNv*_qJ~&iy&}ocrBwv^iFf)K<>6;zWEwL}|@b3)R!!8~Q)s zE@xDaZasd7ukmp9B{Q{PB5R|3`)XzXvH|+{FP!WG4j2o7wazn_#dxbt= zs+9tV$izH^K9X0>TK4|t#YZ%P1;RwZD%r`0YlTQ@L$FPZI1dov$bO#^9^(`e0sPdRno@JpUgq!_XD$up~%LLmYP zK!Ra!_rNo!cJKqQgbe;ia?XXx)~n!WA8kVCKFMi|ivh1pQHR(0vK5v^QDAmv rl~8LZxGcnF7FcA7Wga14*|3Xh$;uyVvSt}pQMRqJrc1eM(ZZI0rjt@t diff --git a/docs/static/fonts/icons/iconfont.woff b/docs/static/fonts/icons/iconfont.woff index ab8f84de0c9eb6a665f31464f16bb16801e5de56..e8d97e861622f65d6bef57152c6c45535850b2ad 100644 GIT binary patch delta 2351 zcmV+~3DEYq3(yr5cTYw}00961000Wm01E&B000tnkrX$7KL7v#R#brQ1Y>PsZ~y=S zga7~luK)l7r1IiOPG@X+W&i*JGynhv>;M1?FlUTv>1btPWB>pNAOHXWGXMYpHWuqI z+GuEHVE_OKQ~&?~9RL6TBnvaP@MvvxcmMzhbN~PV82|tPU;~Q5j%;sZVE_OKkN^Mx zG5`PoG9z6x+} zb94Xz3J?GQ0KfnM0SyyI6FZX#0YL&#W0Ok(B!8ngg9ebxyzH42NF^gk4gk!z2Ezb& zobAzD4#FT5MbV9=^;NB{4<_KJV{t%!Ib}wm_i!ABB#WIA+B5+4Ko=e%Lwb|Yc*SaJ z>m9qco_V%CS?jfYJ~1cF@toVdioH3$IIw2JHs0Gaa^T3siJ65n7p~kWv3=k_MosDd zdw(iAQEO+sGStp=S2deXz4oSitb?Jh4RvFvTSMKM?zip@bu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EMo}7Hdkq>=vtN|=**W!WW2Q9GSJbK-04cx$gq6f+ncyo6-9D)z-|34_v zqqF|QGgurbgQ-&h96`{*2SpN8W*`AF3ki@p@IQn@17qk|%5z1FM6Fglyxap~` zHP0!XhOqiNj%kRIm7MJRVFY-;YN9Ve?&0{C)etmBHi~!axd& z8Ypu62qJ-hezobl;c!$}qX8OeRhIbH5)~r(ZuPJIZmf1W@%Il+g`cAe>bBJ(1dAhf zhX&H9iLtLQB7<{Pts2!twQI4kM1f%ySdDhzDZKv9H&BpfWg!MJ))lQWGzZqk7*DH( zs1{YBu5RvXn?Z|H8dX(2nKVsokgBsx2!G9_(icmA(~{&eWlDDGa<_b`-&*<;>rApe zYf9%#afvIp`lZYLiG6DLELJZwlDBhhCYfbInVD<6DBSfrTZY}f-GTSqD`5J*y0*Pprxuve>3W|jZxm24BnW&DU5t*rz6X^it zoxEp%{Lt-miK%3X8*Fn{vLpE0}sl1J8P!Qbc4Zz`M@%o&X4 zjnT8dXGk06ephZUSLN-T`+4`r01OBM_}|!nlizie`p>3<(UIq3`BngIU%;;0CYeK zfsIann|I1wt9O#R<=B&==x{JT$R)B7fUUF{#r)1nUgqNo;>{G8wJg(wHQ3BEtI7rt zg!Xw}2~OA@TlBwd1ZuGOz#mJC;9>_q(0+S*q(V3wpys` B=Ai%p diff --git a/libs/ev3/ns.ts b/libs/ev3/ns.ts index 31a7b1f0..8db92e47 100644 --- a/libs/ev3/ns.ts +++ b/libs/ev3/ns.ts @@ -1,19 +1,19 @@ -//% color="#68C3E2" weight=100 +//% color="#68C3E2" weight=100 icon="\uf108" //% groups='["Buttons", "Screen"]' //% labelLineWidth=0 namespace brick { } -//% color="#C8509B" weight=95 icon="\uf192" +//% color="#C8509B" weight=95 icon="\uf111" //% labelLineWidth=0 //% groups='["Ultrasonic Sensor", "Touch Sensor", "Color Sensor", "Infrared Sensor", "Remote Infrared Beacon", "Gyro Sensor"]' //% groupIcons='["\uf101","\uf103","\uf102","","","\uf104"]' namespace sensors { } -//% color="#A5CA18" weight=90 icon="\uf185" +//% color="#A5CA18" weight=90 icon="\uf10f" //% groups='["Motion", "Sensors", "Chassis"]' //% labelLineWidth=0 namespace motors { diff --git a/svgicons/generateIcons.js b/svgicons/generateIcons.js index 30863fa8..3b316ecf 100644 --- a/svgicons/generateIcons.js +++ b/svgicons/generateIcons.js @@ -2,10 +2,29 @@ const webfontsGenerator = require('webfonts-generator'); webfontsGenerator({ files: [ - './ultrasonic.svg', + "./ultrasonic.svg", "./color.svg", "./touch.svg", - "./gyro.svg" + "./gyro.svg", + "./categories/addpackage.svg", + "./categories/advancedcollapsed.svg", + "./categories/advancedexpanded.svg", + "./categories/brick.svg", + "./categories/controls.svg", + "./categories/functions.svg", + "./categories/list.svg", + "./categories/logic.svg", + "./categories/loops.svg", + "./categories/math.svg", + "./categories/motors.svg", + "./categories/music.svg", + "./categories/sensors.svg", + "./categories/text.svg", + "./categories/variables.svg", + "./icons/cancel.svg", + "./icons/check.svg", + "./icons/download.svg", + "./icons/save.svg" ], dest: '../docs/static/fonts/icons/', round: 10 diff --git a/theme/blockly.less b/theme/blockly.less index 4d980269..341a2c52 100644 --- a/theme/blockly.less +++ b/theme/blockly.less @@ -9,7 +9,7 @@ /* Fonts for toolbox icons */ @font-face { font-family: 'legoIcons'; - src: data-uri("../docs/static/fonts/icons/iconfont.woff2"); + src: data-uri("../docs/static/fonts/icons/iconfont.woff") format('woff'); } .blocklyFlyoutLabel:not(.blocklyFlyoutHeading) .blocklyFlyoutLabelIcon { @@ -18,6 +18,10 @@ font-size: 1.7rem; } +span.blocklyTreeIcon { + font-family: 'legoIcons' !important; +} + /* Toolbox padding */ .blocklyToolboxDiv, .monacoToolboxDiv { padding: 0.5rem; @@ -67,4 +71,60 @@ span.blocklyTreeLabel { #blocklyTrashIcon { margin: 0.2rem; } +} + +span.blocklyTreeIcon.blocklyTreeIcontests::before { + content: ""; +} + +span.blocklyTreeIcon.blocklyTreeIconmusic::before { + content: "\f110"; +} + +span.blocklyTreeIcon.blocklyTreeIconloops::before { + content: "\f10d"; +} + +span.blocklyTreeIcon.blocklyTreeIconlogic::before { + content: "\f10c"; +} + +span.blocklyTreeIcon.blocklyTreeIconvariables::before { + content: "\f113"; +} + +span.blocklyTreeIcon.blocklyTreeIconmath::before { + content: "\f10e"; +} + +span.blocklyTreeIcon.blocklyTreeIconadvancedcollapsed::before { + content: "\f106"; +} + +span.blocklyTreeIcon.blocklyTreeIconadvancedexpanded::before { + content: "\f107"; +} + +span.blocklyTreeIcon.blocklyTreeIconfunctions::before { + content: "\f10a"; +} + +span.blocklyTreeIcon.blocklyTreeIconarrays::before { + content: ""; +} + +span.blocklyTreeIcon.blocklyTreeIcontext::before { + content: "\f112"; +} + +span.blocklyTreeIcon.blocklyTreeIconconsole::before { + content: ""; +} + +span.blocklyTreeIcon.blocklyTreeIconcontrol::before { + content: "\f109"; +} + +span.blocklyTreeIcon.blocklyTreeIconaddpackage::before { + content: "\f105"; } \ No newline at end of file