瀏覽代碼

Fix callstack icons for the dark theme

Jeremy Tuloup 5 年之前
父節點
當前提交
4706390ad7
共有 1 個文件被更改,包括 4 次插入2 次删除
  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();
       },