diff --git a/libs/core/ns.ts b/libs/core/ns.ts index 090c3899..a9f90950 100644 --- a/libs/core/ns.ts +++ b/libs/core/ns.ts @@ -1,4 +1,6 @@ - +//% color="#00852B" weight=90 icon="\uf10d" +//% groups='["Move", "Counters", "Properties"]' +//% labelLineWidth=50 namespace motors { /** @@ -24,7 +26,19 @@ namespace motors { } } -//% icon="\uf112" -namespace console { +//% color="#C8509B" weight=95 icon="\uf10f" +//% labelLineWidth=100 +//% groups='["Touch Sensor", "Color Sensor", "Ultrasonic Sensor", "Gyro Sensor", "Infrared Sensor", "Remote Infrared Beacon", "Light Sensor"]' +//% subcategories='["NXT", "HiTechnic"]' +namespace sensors { +} + +//% color="#5F3109" icon="\uf107" +namespace control { +} +//% color="#68C3E2" weight=100 icon="\uf106" +//% groups='["Buttons", "Indicator", "Screen", "Power", "Program"]' +//% labelLineWidth=60 +namespace brick { } \ No newline at end of file diff --git a/libs/ev3/ns.ts b/libs/ev3/ns.ts index 9235dae5..2a15fca7 100644 --- a/libs/ev3/ns.ts +++ b/libs/ev3/ns.ts @@ -1,20 +1,5 @@ -//% color="#68C3E2" weight=100 icon="\uf106" -//% groups='["Buttons", "Indicator", "Screen", "Power", "Program"]' -//% labelLineWidth=60 -namespace brick { -} - -//% color="#C8509B" weight=95 icon="\uf10f" -//% labelLineWidth=100 -//% groups='["Touch Sensor", "Color Sensor", "Ultrasonic Sensor", "Gyro Sensor", "Infrared Sensor", "Remote Infrared Beacon", "Light Sensor"]' -//% subcategories='["NXT", "HiTechnic"]' -namespace sensors { -} - -//% color="#00852B" weight=90 icon="\uf10d" -//% groups='["Move", "Counters", "Properties"]' -//% labelLineWidth=50 -namespace motors { +//% icon="\uf112" +namespace console { } //% color="#00852B" icon="\uf1b9" weight=85 @@ -22,15 +7,6 @@ namespace motors { namespace chassis { } -//% color="#D67923" weight=80 icon="\uf10e" -//% groups='["Sounds", "Tone", "Volume", "Tempo"]' -namespace music { -} - -//% color="#5F3109" icon="\uf107" -namespace control { -} - //% icon="\uf0d0" namespace automation { } \ No newline at end of file diff --git a/libs/ev3/pxt.json b/libs/ev3/pxt.json index a54af080..52b723cd 100644 --- a/libs/ev3/pxt.json +++ b/libs/ev3/pxt.json @@ -2,8 +2,8 @@ "name": "ev3", "description": "The EV3 library", "files": [ - "README.md", - "ns.ts", + "README.md", + "ns.ts", "brick.ts", "startup.ts", "images.jres", @@ -27,8 +27,8 @@ "infrared-sensor": "file:../infrared-sensor" }, "palette": [ - "#ffffff", - "#000000" + "#ffffff", + "#000000" ], "public": true -} +} \ No newline at end of file diff --git a/libs/music/ns.ts b/libs/music/ns.ts new file mode 100644 index 00000000..7fdb8899 --- /dev/null +++ b/libs/music/ns.ts @@ -0,0 +1,4 @@ +//% color="#D67923" weight=80 icon="\uf10e" +//% groups='["Sounds", "Tone", "Volume", "Tempo"]' +namespace music { +} \ No newline at end of file