Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/bluetooth/icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { LabIcon } from '@jupyterlab/ui-components';
import bluetoothConnectSvgstr from '../..//style/bluetoothConnect.svg';
import bluetoothDisconnectSvgstr from '../..//style/bluetoothDisconnect.svg';
import LegoBrickSvgstr from '../..//style/LegoBrick.svg';
import Studs1Svgstr from '../..//style/studs1.svg';
import Studs2Svgstr from '../..//style/studs1.svg';
import StudsYellowSvgstr from '../..//style/studs-yellow.svg';
import GreenCircleSvgstr from '../../style/green-circle.svg';
import RedCircleSvgstr from '../../style/red-circle.svg';

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

export const Studs1Icon = new LabIcon({
name: '@jupyterlab/bluetooh-manager:bluetooth-studs1',
svgstr: Studs1Svgstr
});

export const Studs2Icon = new LabIcon({
name: '@jupyterlab/bluetooh-manager:bluetooth-studs1',
svgstr: Studs2Svgstr
});

export const StudsYellowIcon = new LabIcon({
name: '@jupyterlab/bluetooh-manager:bluetooth-studs-yellow',
svgstr: StudsYellowSvgstr
});

export const GreenCircle = new LabIcon({
name: '@jupyterlab/bluetooh-manager:bluetooth-green-circle',
svgstr: GreenCircleSvgstr
Expand Down
1 change: 0 additions & 1 deletion src/movehub-extension/components/CopyToClipboard.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { useState } from 'react';
import copySVG from '../../../style/copy.svg';
const copySVGUrl = `data:image/svg+xml;base64,${btoa(copySVG)}`;

Expand Down
1 change: 1 addition & 0 deletions src/movehub-extension/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
} from '../bluetooth/BluetoothManager';
import { MoveHub } from './moveHub';
import ipymovehubPlugin from './plugin';
/*import { LegoBrickIcon } from '../bluetooth/icon';*/
import { LegoBrickIcon } from '../bluetooth/icon';
import { MoveHubPanelWidget } from './components/MoveHubPanel';
import { LegoBuildSelectorWidget } from './components/LegoBuildSelector';
Expand Down
98 changes: 60 additions & 38 deletions style/LegoBrick.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.