diff --git a/python/jupytercad_core/src/jcadplugin/plugins.ts b/python/jupytercad_core/src/jcadplugin/plugins.ts index 7a452dd2..c6e2b9bc 100644 --- a/python/jupytercad_core/src/jcadplugin/plugins.ts +++ b/python/jupytercad_core/src/jcadplugin/plugins.ts @@ -85,7 +85,8 @@ const activate = ( mimeTypes: ['text/json'], extensions: ['.jcad', '.JCAD'], fileFormat: 'text', - contentType: 'jcad' + contentType: 'jcad', + icon: logoIcon }); const jcadSharedModelFactory: SharedDocumentFactory = () => { diff --git a/python/jupytercad_core/src/stepplugin/plugins.ts b/python/jupytercad_core/src/stepplugin/plugins.ts index 2e268f8f..b7836cef 100644 --- a/python/jupytercad_core/src/stepplugin/plugins.ts +++ b/python/jupytercad_core/src/stepplugin/plugins.ts @@ -19,6 +19,7 @@ import { IThemeManager, WidgetTracker } from '@jupyterlab/apputils'; import { JupyterCadStepModelFactory } from './modelfactory'; import { JupyterCadWidgetFactory } from '../factory'; import { JupyterCadStepDoc } from './model'; +import { logoIcon } from '@jupytercad/base'; const FACTORY = 'JupyterCAD STEP Viewer'; @@ -53,7 +54,8 @@ const activate = ( mimeTypes: ['text/json'], extensions: ['.step', '.STEP'], fileFormat: 'text', - contentType: 'step' + contentType: 'step', + icon: logoIcon }); const stepSharedModelFactory: SharedDocumentFactory = () => { diff --git a/python/jupytercad_core/src/stlplugin/plugins.ts b/python/jupytercad_core/src/stlplugin/plugins.ts index 86aeada3..7711890f 100644 --- a/python/jupytercad_core/src/stlplugin/plugins.ts +++ b/python/jupytercad_core/src/stlplugin/plugins.ts @@ -19,6 +19,7 @@ import { IThemeManager, WidgetTracker } from '@jupyterlab/apputils'; import { JupyterCadStlModelFactory } from './modelfactory'; import { JupyterCadWidgetFactory } from '../factory'; import { JupyterCadStlDoc } from './model'; +import { logoIcon } from '@jupytercad/base'; const FACTORY = 'JupyterCAD STL Viewer'; @@ -53,7 +54,8 @@ const activate = ( mimeTypes: ['text/json'], extensions: ['.stl', '.STL'], fileFormat: 'text', - contentType: 'stl' + contentType: 'stl', + icon: logoIcon }); const stlSharedModelFactory: SharedDocumentFactory = () => {