Bladeren bron

Fix callstack icons for the dark theme

Jeremy Tuloup 5 jaren geleden
bovenliggende
commit
4706390ad7
1 gewijzigde bestanden met toevoegingen van 4 en 2 verwijderingen
  1. 4 2
      src/index.ts

+ 4 - 2
src/index.ts

@@ -26,6 +26,8 @@ import { INotebookTracker, NotebookPanel } from '@jupyterlab/notebook';
 
 import { Session } from '@jupyterlab/services';
 
+import { runIcon, stopIcon } from '@jupyterlab/ui-components';
+
 import { Debugger } from './debugger';
 
 import { TrackerHandler } from './handlers/tracker';
@@ -331,7 +333,7 @@ const main: JupyterFrontEndPlugin<IDebugger> = {
     commands.addCommand(CommandIDs.debugContinue, {
       label: 'Continue',
       caption: 'Continue',
-      iconClass: 'jp-MaterialIcon jp-RunIcon',
+      icon: runIcon,
       isEnabled: () => {
         return service.hasStoppedThreads();
       },
@@ -344,7 +346,7 @@ const main: JupyterFrontEndPlugin<IDebugger> = {
     commands.addCommand(CommandIDs.terminate, {
       label: 'Terminate',
       caption: 'Terminate',
-      iconClass: 'jp-MaterialIcon jp-StopIcon',
+      icon: stopIcon,
       isEnabled: () => {
         return service.hasStoppedThreads();
       },