Skip to content

Commit 6694911

Browse files
Merge pull request #45 from HaudinFlorence/test_other_tab_icons
Test other tab icons
2 parents d2cbb97 + 246072c commit 6694911

4 files changed

Lines changed: 79 additions & 39 deletions

File tree

src/bluetooth/icon.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import { LabIcon } from '@jupyterlab/ui-components';
22
import bluetoothConnectSvgstr from '../..//style/bluetoothConnect.svg';
33
import bluetoothDisconnectSvgstr from '../..//style/bluetoothDisconnect.svg';
44
import LegoBrickSvgstr from '../..//style/LegoBrick.svg';
5+
import Studs1Svgstr from '../..//style/studs1.svg';
6+
import Studs2Svgstr from '../..//style/studs1.svg';
7+
import StudsYellowSvgstr from '../..//style/studs-yellow.svg';
58
import GreenCircleSvgstr from '../../style/green-circle.svg';
69
import RedCircleSvgstr from '../../style/red-circle.svg';
710

@@ -20,6 +23,21 @@ export const LegoBrickIcon = new LabIcon({
2023
svgstr: LegoBrickSvgstr
2124
});
2225

26+
export const Studs1Icon = new LabIcon({
27+
name: '@jupyterlab/bluetooh-manager:bluetooth-studs1',
28+
svgstr: Studs1Svgstr
29+
});
30+
31+
export const Studs2Icon = new LabIcon({
32+
name: '@jupyterlab/bluetooh-manager:bluetooth-studs1',
33+
svgstr: Studs2Svgstr
34+
});
35+
36+
export const StudsYellowIcon = new LabIcon({
37+
name: '@jupyterlab/bluetooh-manager:bluetooth-studs-yellow',
38+
svgstr: StudsYellowSvgstr
39+
});
40+
2341
export const GreenCircle = new LabIcon({
2442
name: '@jupyterlab/bluetooh-manager:bluetooth-green-circle',
2543
svgstr: GreenCircleSvgstr

src/movehub-extension/components/CopyToClipboard.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { useState } from 'react';
21
import copySVG from '../../../style/copy.svg';
32
const copySVGUrl = `data:image/svg+xml;base64,${btoa(copySVG)}`;
43

src/movehub-extension/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {
1212
} from '../bluetooth/BluetoothManager';
1313
import { MoveHub } from './moveHub';
1414
import ipymovehubPlugin from './plugin';
15+
/*import { LegoBrickIcon } from '../bluetooth/icon';*/
1516
import { LegoBrickIcon } from '../bluetooth/icon';
1617
import { MoveHubPanelWidget } from './components/MoveHubPanel';
1718
import { LegoBuildSelectorWidget } from './components/LegoBuildSelector';

style/LegoBrick.svg

Lines changed: 60 additions & 38 deletions
Loading

0 commit comments

Comments
 (0)